Mercurial > audlegacy
annotate audacious/Makefile.in @ 907:be9f514458b6 trunk
[svn] Build fixes for --as-needed LDFLAG, provided by lav. Closes bug #454.
author | chainsaw |
---|---|
date | Fri, 31 Mar 2006 11:10:09 -0800 |
parents | 55128a9463a1 |
children | 286156196e16 |
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) \ |
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 build_stamp.c: | |
89 if [ -d .svn ] || [ ! -f build_stamp.c ]; then \ | |
90 ( \ | |
91 echo '/* SVN repository version.'; \ | |
92 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
93 echo ' * be included in release tarballs.'; \ | |
94 echo ' */'; \ | |
95 echo '#include <glib.h>'; \ | |
96 echo -n 'const gchar *svn_stamp = "'; \ | |
97 (cd ..; svnversion -n .); \ | |
98 echo '";' \ | |
99 ) > build_stamp.c; \ | |
100 fi; | |
101 | |
102 audacious: $(OBJECTS) | |
907
be9f514458b6
[svn] Build fixes for --as-needed LDFLAG, provided by lav. Closes bug #454.
chainsaw
parents:
874
diff
changeset
|
103 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ |
874 | 104 @printf "%10s %-20s\n" LINK $@ |