Mercurial > audlegacy
annotate audacious/Makefile @ 1732:bf2860c64a32 trunk
[svn] - add the playlist API to the SDK.
author | nenolod |
---|---|
date | Mon, 18 Sep 2006 01:40:53 -0700 |
parents | e951086a47a8 |
children | e41a5d296e26 |
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 | |
1653 | 5 SUBDIRS = widgets glade images |
582 | 6 |
7 beepincludedir = $(includedir)/audacious | |
8 | |
9 OBJECTIVE_BINS = audacious | |
10 | |
1630 | 11 LDFLAGS += $(AUDLDFLAGS) |
12 | |
582 | 13 LDADD = \ |
757 | 14 -L.. $(LTLIBINTL) \ |
1106 | 15 -L../libaudacious -laudacious \ |
1455
04730ff1693d
[svn] changes link order to avoid linkage with installed library.
yaz
parents:
1451
diff
changeset
|
16 $(CHARDET_LIBS) \ |
04730ff1693d
[svn] changes link order to avoid linkage with installed library.
yaz
parents:
1451
diff
changeset
|
17 $(GTK_LIBS) \ |
1653 | 18 $(LIBGLADE_LIBS) \ |
19 ./widgets/libwidgets.a | |
582 | 20 |
21 CFLAGS += \ | |
22 $(GTK_CFLAGS) \ | |
23 $(LIBGLADE_CFLAGS) \ | |
24 $(BEEP_DEFINES) \ | |
25 $(ARCH_DEFINES) \ | |
26 -I.. \ | |
27 -I../intl | |
28 | |
659 | 29 HEADERS = \ |
30 input.h \ | |
31 output.h \ | |
1732 | 32 playlist.h \ |
1175 | 33 plugin.h \ |
34 prefswin.h | |
659 | 35 |
582 | 36 SOURCES = \ |
37 build_stamp.c \ | |
38 genevent.c \ | |
39 util.c \ | |
40 output.c \ | |
41 fft.c \ | |
42 input.c \ | |
43 effect.c \ | |
44 general.c \ | |
45 visualization.c \ | |
46 pluginenum.c \ | |
47 playlist.c \ | |
1548
d5be38600be5
[svn] - incomplete PlaylistContainer implementation
nenolod
parents:
1541
diff
changeset
|
48 playlist_container.c \ |
582 | 49 controlsocket.c \ |
1064 | 50 dock.c \ |
582 | 51 playback.c \ |
52 main.c \ | |
53 logger.c \ | |
1653 | 54 mainwin.c \ |
582 | 55 skinwin.c \ |
56 prefswin.c \ | |
1262 | 57 ui_fileinfo.c \ |
1653 | 58 ui_playlist.c \ |
59 equalizer.c \ | |
582 | 60 glade.c \ |
61 hints.c \ | |
62 about.c credits.c \ | |
63 softvolume.c \ | |
64 getopt.c getopt1.c \ | |
65 urldecode.c \ | |
66 mkdtemp.c \ | |
67 iir.c \ | |
68 iir_cfs.c \ | |
69 iir_fpu.c | |
70 | |
71 OBJECTS = ${SOURCES:.c=.o} | |
72 | |
73 beepinclude_HEADERS = plugin.h output.h input.h | |
74 | |
75 desktop_DATA = audacious.desktop | |
76 desktopdir = $(datadir)/applications | |
77 | |
78 build_stamp.c: | |
79 if [ -d .svn ] || [ ! -f build_stamp.c ]; then \ | |
80 ( \ | |
81 echo '/* SVN repository version.'; \ | |
82 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
83 echo ' * be included in release tarballs.'; \ | |
84 echo ' */'; \ | |
85 echo '#include <glib.h>'; \ | |
86 echo -n 'const gchar *svn_stamp = "'; \ | |
87 (cd ..; svnversion -n .); \ | |
88 echo '";' \ | |
89 ) > build_stamp.c; \ | |
90 fi; | |
91 | |
92 audacious: $(OBJECTS) | |
1679
2dab9da1abc4
[svn] Link C++ plugins correctly on *BSD, by Jonathan Schleifer <js@h3c.de>.
chainsaw
parents:
1653
diff
changeset
|
93 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ |
874 | 94 @printf "%10s %-20s\n" LINK $@ |