Mercurial > audlegacy
annotate audacious/Makefile @ 1630:842667773cc0 trunk
[svn] - audacious now builds on OS X
author | nenolod |
---|---|
date | Wed, 06 Sep 2006 14:21:40 -0700 |
parents | e402e0217870 |
children | f84a1228e6b4 |
rev | line source |
---|---|
582 | 1 include ../mk/rules.mk |
1615
e402e0217870
[svn] - fix for the long-standing dependency oddness in our build system. now make tool surely picks up changed source files and builds required objectives.
yaz
parents:
1565
diff
changeset
|
2 include ../mk/init.mk |
582 | 3 include ../mk/objective.mk |
4 | |
1541 | 5 SUBDIRS = widgets glade images |
582 | 6 |
7 beepincludedir = $(includedir)/audacious | |
8 | |
9 OBJECTIVE_BINS = audacious | |
10 | |
1630 | 11 LTLIBINTL = -L../intl -lintl |
12 | |
13 LDFLAGS += $(AUDLDFLAGS) | |
14 | |
582 | 15 LDADD = \ |
757 | 16 -L.. $(LTLIBINTL) \ |
1106 | 17 -L../libaudacious -laudacious \ |
1451 | 18 ../sqlite/libsqlite.a \ |
1455
04730ff1693d
[svn] changes link order to avoid linkage with installed library.
yaz
parents:
1451
diff
changeset
|
19 $(CHARDET_LIBS) \ |
04730ff1693d
[svn] changes link order to avoid linkage with installed library.
yaz
parents:
1451
diff
changeset
|
20 $(GTK_LIBS) \ |
1541 | 21 $(LIBGLADE_LIBS) \ |
22 ./widgets/libwidgets.a | |
582 | 23 |
24 CFLAGS += \ | |
25 $(GTK_CFLAGS) \ | |
26 $(LIBGLADE_CFLAGS) \ | |
27 $(BEEP_DEFINES) \ | |
28 $(ARCH_DEFINES) \ | |
29 -I.. \ | |
30 -I../intl | |
31 | |
659 | 32 HEADERS = \ |
33 input.h \ | |
34 output.h \ | |
1175 | 35 plugin.h \ |
36 prefswin.h | |
659 | 37 |
582 | 38 SOURCES = \ |
39 build_stamp.c \ | |
40 genevent.c \ | |
41 util.c \ | |
42 output.c \ | |
43 fft.c \ | |
44 input.c \ | |
45 effect.c \ | |
46 general.c \ | |
47 visualization.c \ | |
48 pluginenum.c \ | |
49 playlist.c \ | |
1548
d5be38600be5
[svn] - incomplete PlaylistContainer implementation
nenolod
parents:
1541
diff
changeset
|
50 playlist_container.c \ |
582 | 51 controlsocket.c \ |
1064 | 52 dock.c \ |
582 | 53 playback.c \ |
54 main.c \ | |
55 logger.c \ | |
56 mainwin.c \ | |
57 skinwin.c \ | |
58 prefswin.c \ | |
1262 | 59 ui_fileinfo.c \ |
582 | 60 ui_playlist.c \ |
61 equalizer.c \ | |
62 glade.c \ | |
63 hints.c \ | |
64 about.c credits.c \ | |
65 softvolume.c \ | |
66 getopt.c getopt1.c \ | |
67 urldecode.c \ | |
68 mkdtemp.c \ | |
69 iir.c \ | |
70 iir_cfs.c \ | |
71 iir_fpu.c | |
72 | |
73 OBJECTS = ${SOURCES:.c=.o} | |
74 | |
75 beepinclude_HEADERS = plugin.h output.h input.h | |
76 | |
77 desktop_DATA = audacious.desktop | |
78 desktopdir = $(datadir)/applications | |
79 | |
80 build_stamp.c: | |
81 if [ -d .svn ] || [ ! -f build_stamp.c ]; then \ | |
82 ( \ | |
83 echo '/* SVN repository version.'; \ | |
84 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
85 echo ' * be included in release tarballs.'; \ | |
86 echo ' */'; \ | |
87 echo '#include <glib.h>'; \ | |
88 echo -n 'const gchar *svn_stamp = "'; \ | |
89 (cd ..; svnversion -n .); \ | |
90 echo '";' \ | |
91 ) > build_stamp.c; \ | |
92 fi; | |
93 | |
94 audacious: $(OBJECTS) | |
1630 | 95 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ |
874 | 96 @printf "%10s %-20s\n" LINK $@ |