582
|
1 include ../mk/rules.mk
|
|
2 include ../mk/objective.mk
|
|
3
|
|
4 SUBDIRS = glade images
|
|
5
|
|
6 beepincludedir = $(includedir)/audacious
|
|
7
|
|
8 OBJECTIVE_BINS = audacious
|
|
9
|
|
10 LDFLAGS = -Wl,-export-dynamic
|
|
11 LDADD = \
|
|
12 $(GTK_LIBS) \
|
|
13 $(LIBGLADE_LIBS) \
|
|
14 $(LTLIBINTL) \
|
615
|
15 -L../libaudacious -laudacious
|
582
|
16
|
|
17 CFLAGS += \
|
|
18 $(GTK_CFLAGS) \
|
|
19 $(LIBGLADE_CFLAGS) \
|
|
20 $(BEEP_DEFINES) \
|
|
21 $(ARCH_DEFINES) \
|
|
22 -I.. \
|
|
23 -I../intl
|
|
24
|
659
|
25 HEADERS = \
|
|
26 input.h \
|
|
27 output.h \
|
691
|
28 plugin.h
|
659
|
29
|
582
|
30 SOURCES = \
|
|
31 build_stamp.c \
|
|
32 genevent.c \
|
|
33 skin.c \
|
|
34 util.c \
|
|
35 output.c \
|
|
36 fft.c \
|
|
37 input.c \
|
|
38 effect.c \
|
|
39 general.c \
|
|
40 visualization.c \
|
|
41 pluginenum.c \
|
|
42 playlist.c \
|
|
43 controlsocket.c \
|
|
44 dock.c \
|
|
45 widget.c \
|
|
46 sbutton.c \
|
|
47 pbutton.c \
|
|
48 tbutton.c \
|
|
49 textbox.c \
|
|
50 menurow.c \
|
|
51 hslider.c \
|
|
52 monostereo.c \
|
|
53 vis.c \
|
|
54 svis.c \
|
|
55 number.c \
|
|
56 playback.c \
|
|
57 playstatus.c \
|
|
58 playlist_list.c \
|
|
59 playlist_slider.c \
|
|
60 playlist_popup.c \
|
|
61 eq_graph.c \
|
|
62 eq_slider.c \
|
|
63 main.c \
|
|
64 logger.c \
|
|
65 mainwin.c \
|
|
66 skinwin.c \
|
|
67 prefswin.c \
|
|
68 ui_playlist.c \
|
|
69 equalizer.c \
|
|
70 glade.c \
|
|
71 hints.c \
|
|
72 about.c credits.c \
|
|
73 softvolume.c \
|
|
74 getopt.c getopt1.c \
|
|
75 urldecode.c \
|
|
76 mkdtemp.c \
|
|
77 iir.c \
|
|
78 iir_cfs.c \
|
|
79 iir_fpu.c
|
|
80
|
|
81 OBJECTS = ${SOURCES:.c=.o}
|
|
82
|
|
83 beepinclude_HEADERS = plugin.h output.h input.h
|
|
84
|
|
85 desktop_DATA = audacious.desktop
|
|
86 desktopdir = $(datadir)/applications
|
|
87
|
|
88
|
|
89 BUILT_SOURCES = pixmaps.h
|
|
90
|
|
91 embedded_icons = \
|
|
92 info.png playlist.png play.png
|
|
93
|
|
94
|
|
95 EXTRA_DIST = \
|
|
96 $(embedded_icons) build.list
|
|
97
|
|
98 pixmaps.h: $(embedded_icons)
|
|
99 gdk-pixbuf-csource --stream --build-list `cat build.list` > pixmaps.h
|
|
100
|
|
101 build_stamp.c:
|
|
102 if [ -d .svn ] || [ ! -f build_stamp.c ]; then \
|
|
103 ( \
|
|
104 echo '/* SVN repository version.'; \
|
|
105 echo ' * This auto-generated file must not be included in SVN; but must'; \
|
|
106 echo ' * be included in release tarballs.'; \
|
|
107 echo ' */'; \
|
|
108 echo '#include <glib.h>'; \
|
|
109 echo -n 'const gchar *svn_stamp = "'; \
|
|
110 (cd ..; svnversion -n .); \
|
|
111 echo '";' \
|
|
112 ) > build_stamp.c; \
|
|
113 fi;
|
|
114
|
|
115 audacious: $(OBJECTS)
|
|
116 $(CC) $(LDFLAGS) $(LDADD) -o $@ $(OBJECTS)
|