Mercurial > audlegacy
annotate audacious/Makefile @ 1409:0f6573c34500 trunk
[svn] - properly hook up mms
author | nenolod |
---|---|
date | Sat, 15 Jul 2006 16:52:52 -0700 |
parents | a698348c5155 |
children | abf8fee03d59 |
rev | line source |
---|---|
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 | |
803
93c749c9e794
[svn] Don't override input LD_FLAGS - needed to enable profiling.
nemo
parents:
757
diff
changeset
|
10 LDFLAGS += -Wl,-export-dynamic |
582 | 11 LDADD = \ |
12 $(GTK_LIBS) \ | |
13 $(LIBGLADE_LIBS) \ | |
757 | 14 -L.. $(LTLIBINTL) \ |
1106 | 15 -L../libaudacious -laudacious \ |
1317
a698348c5155
[svn] - libaac: potential buffer overflow vulnerability fix
nenolod
parents:
1282
diff
changeset
|
16 $(CHARDET_LIBS) |
582 | 17 |
18 CFLAGS += \ | |
19 $(GTK_CFLAGS) \ | |
20 $(LIBGLADE_CFLAGS) \ | |
21 $(BEEP_DEFINES) \ | |
22 $(ARCH_DEFINES) \ | |
23 -I.. \ | |
24 -I../intl | |
25 | |
659 | 26 HEADERS = \ |
27 input.h \ | |
28 output.h \ | |
1175 | 29 plugin.h \ |
30 prefswin.h | |
659 | 31 |
582 | 32 SOURCES = \ |
33 build_stamp.c \ | |
34 genevent.c \ | |
35 skin.c \ | |
36 util.c \ | |
37 output.c \ | |
38 fft.c \ | |
39 input.c \ | |
40 effect.c \ | |
41 general.c \ | |
42 visualization.c \ | |
43 pluginenum.c \ | |
44 playlist.c \ | |
45 controlsocket.c \ | |
1064 | 46 dock.c \ |
582 | 47 widget.c \ |
48 sbutton.c \ | |
49 pbutton.c \ | |
50 tbutton.c \ | |
51 textbox.c \ | |
52 menurow.c \ | |
53 hslider.c \ | |
54 monostereo.c \ | |
55 vis.c \ | |
56 svis.c \ | |
57 number.c \ | |
58 playback.c \ | |
59 playstatus.c \ | |
60 playlist_list.c \ | |
61 playlist_slider.c \ | |
62 eq_graph.c \ | |
63 eq_slider.c \ | |
64 main.c \ | |
65 logger.c \ | |
66 mainwin.c \ | |
67 skinwin.c \ | |
68 prefswin.c \ | |
1262 | 69 ui_fileinfo.c \ |
582 | 70 ui_playlist.c \ |
71 equalizer.c \ | |
72 glade.c \ | |
73 hints.c \ | |
74 about.c credits.c \ | |
75 softvolume.c \ | |
76 getopt.c getopt1.c \ | |
77 urldecode.c \ | |
78 mkdtemp.c \ | |
79 iir.c \ | |
80 iir_cfs.c \ | |
81 iir_fpu.c | |
82 | |
83 OBJECTS = ${SOURCES:.c=.o} | |
84 | |
85 beepinclude_HEADERS = plugin.h output.h input.h | |
86 | |
87 desktop_DATA = audacious.desktop | |
88 desktopdir = $(datadir)/applications | |
89 | |
90 build_stamp.c: | |
91 if [ -d .svn ] || [ ! -f build_stamp.c ]; then \ | |
92 ( \ | |
93 echo '/* SVN repository version.'; \ | |
94 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
95 echo ' * be included in release tarballs.'; \ | |
96 echo ' */'; \ | |
97 echo '#include <glib.h>'; \ | |
98 echo -n 'const gchar *svn_stamp = "'; \ | |
99 (cd ..; svnversion -n .); \ | |
100 echo '";' \ | |
101 ) > build_stamp.c; \ | |
102 fi; | |
103 | |
104 audacious: $(OBJECTS) | |
1109
95365899992e
[svn] - audacious should pick runtime library up from ${libdir}.
yaz
parents:
1106
diff
changeset
|
105 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ -Wl,-rpath,${libdir} |
874 | 106 @printf "%10s %-20s\n" LINK $@ |