annotate Plugins/Input/sid/Makefile.in @ 621:86c09efdc4e7 trunk

[svn] Build fixes for SID by NhJm.
author chainsaw
date Mon, 06 Feb 2006 16:24:20 -0800
parents 8e1a0719e4a5
children de036d09f9f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
602
c1fca3e01a84 [svn] ditto
nenolod
parents: 599
diff changeset
1 include ../../../mk/rules.mk
c1fca3e01a84 [svn] ditto
nenolod
parents: 599
diff changeset
2 include ../../../mk/objective.mk
599
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
3
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
4 OBJECTIVE_LIBS = libsid.so
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
5
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
6 ###
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
7 ### Source targets
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
8 ###
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
9 EXTRA_DIST = xmms-sid-logo.xpm
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
10
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
11 # Generals
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
12 CFLAGS += -fPIC -DPIC -D_REENTRANT $(PLUGIN_CFLAGS) $(SIDPLAY1_INCLUDES) $(SIDPLAY2_INCLUDES) $(BUILDERS_INCLUDES) $(GTK_CFLAGS) -I../../../intl -I../../..
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
13 CXXFLAGS = $(CFLAGS)
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
14
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
15 # Generated libraries
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
16
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
17 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
18
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
19 LDFLAGS = $(BUILDERS_LDFLAGS)
621
86c09efdc4e7 [svn] Build fixes for SID by NhJm.
chainsaw
parents: 604
diff changeset
20 LIBADD = $(SIDPLAY1_LDADD) $(SIDPLAY2_LDADD) $(RESID_LDADD) $(HARDSID_LDADD) $(GTK_LIBS)
599
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
21 SOURCES = \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
22 xs_init.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
23 xs_about.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
24 xs_support.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
25 xs_config.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
26 xs_md5.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
27 xs_length.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
28 xs_genui.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
29 xs_glade.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
30 xs_interface.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
31 xs_stil.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
32 xs_title.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
33 xs_fileinfo.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
34 xs_filter.c \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
35 xs_sidplay1.cc \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
36 xs_sidplay2.cc \
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
37 xmms-sid.c
abd9f2854f12 [svn] sid conversion
nenolod
parents:
diff changeset
38
621
86c09efdc4e7 [svn] Build fixes for SID by NhJm.
chainsaw
parents: 604
diff changeset
39 OBJECTS1 = ${SOURCES:.c=.o}
86c09efdc4e7 [svn] Build fixes for SID by NhJm.
chainsaw
parents: 604
diff changeset
40 OBJECTS = ${OBJECTS1:.cc=.o}
86c09efdc4e7 [svn] Build fixes for SID by NhJm.
chainsaw
parents: 604
diff changeset
41
86c09efdc4e7 [svn] Build fixes for SID by NhJm.
chainsaw
parents: 604
diff changeset
42 libsid.so: $(OBJECTS)
86c09efdc4e7 [svn] Build fixes for SID by NhJm.
chainsaw
parents: 604
diff changeset
43 $(CC) $(CFLAGS) $(LDFLAGS) $(LIBADD) -shared $(OBJECTS) -o $@
86c09efdc4e7 [svn] Build fixes for SID by NhJm.
chainsaw
parents: 604
diff changeset
44