602
|
1 include ../../../mk/rules.mk
|
|
2 include ../../../mk/objective.mk
|
599
|
3
|
|
4 OBJECTIVE_LIBS = libsid.so
|
|
5
|
|
6 ###
|
|
7 ### Source targets
|
|
8 ###
|
|
9 EXTRA_DIST = xmms-sid-logo.xpm
|
|
10
|
|
11 # Generals
|
|
12 CFLAGS += -fPIC -DPIC -D_REENTRANT $(PLUGIN_CFLAGS) $(SIDPLAY1_INCLUDES) $(SIDPLAY2_INCLUDES) $(BUILDERS_INCLUDES) $(GTK_CFLAGS) -I../../../intl -I../../..
|
|
13 CXXFLAGS = $(CFLAGS)
|
|
14
|
|
15 # Generated libraries
|
|
16
|
|
17 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
|
|
18
|
|
19 LDFLAGS = $(BUILDERS_LDFLAGS)
|
621
|
20 LIBADD = $(SIDPLAY1_LDADD) $(SIDPLAY2_LDADD) $(RESID_LDADD) $(HARDSID_LDADD) $(GTK_LIBS)
|
599
|
21 SOURCES = \
|
|
22 xs_init.c \
|
|
23 xs_about.c \
|
|
24 xs_support.c \
|
|
25 xs_config.c \
|
|
26 xs_md5.c \
|
|
27 xs_length.c \
|
|
28 xs_genui.c \
|
|
29 xs_glade.c \
|
|
30 xs_interface.c \
|
|
31 xs_stil.c \
|
|
32 xs_title.c \
|
|
33 xs_fileinfo.c \
|
|
34 xs_filter.c \
|
|
35 xs_sidplay1.cc \
|
|
36 xs_sidplay2.cc \
|
|
37 xmms-sid.c
|
|
38
|
621
|
39 OBJECTS1 = ${SOURCES:.c=.o}
|
|
40 OBJECTS = ${OBJECTS1:.cc=.o}
|
|
41
|
|
42 libsid.so: $(OBJECTS)
|
|
43 $(CC) $(CFLAGS) $(LDFLAGS) $(LIBADD) -shared $(OBJECTS) -o $@
|
|
44
|