Mercurial > audlegacy
annotate audacious/Makefile @ 1740:1cd9aa465ea7 trunk
[svn] - export main.h API
author | nenolod |
---|---|
date | Mon, 18 Sep 2006 02:30:57 -0700 |
parents | 0617015a528b |
children | c7ab1203d933 |
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 \ | |
1740 | 31 main.h \ |
659 | 32 output.h \ |
1732 | 33 playlist.h \ |
1733 | 34 playlist_container.h \ |
1175 | 35 plugin.h \ |
1735
0617015a528b
[svn] - export the util.h as provided by audacious/
nenolod
parents:
1733
diff
changeset
|
36 prefswin.h \ |
0617015a528b
[svn] - export the util.h as provided by audacious/
nenolod
parents:
1733
diff
changeset
|
37 util.h |
659 | 38 |
582 | 39 SOURCES = \ |
40 build_stamp.c \ | |
41 genevent.c \ | |
42 util.c \ | |
43 output.c \ | |
44 fft.c \ | |
45 input.c \ | |
46 effect.c \ | |
47 general.c \ | |
48 visualization.c \ | |
49 pluginenum.c \ | |
50 playlist.c \ | |
1548
d5be38600be5
[svn] - incomplete PlaylistContainer implementation
nenolod
parents:
1541
diff
changeset
|
51 playlist_container.c \ |
582 | 52 controlsocket.c \ |
1064 | 53 dock.c \ |
582 | 54 playback.c \ |
55 main.c \ | |
56 logger.c \ | |
1653 | 57 mainwin.c \ |
582 | 58 skinwin.c \ |
59 prefswin.c \ | |
1262 | 60 ui_fileinfo.c \ |
1653 | 61 ui_playlist.c \ |
62 equalizer.c \ | |
582 | 63 glade.c \ |
64 hints.c \ | |
65 about.c credits.c \ | |
66 softvolume.c \ | |
67 getopt.c getopt1.c \ | |
68 urldecode.c \ | |
69 mkdtemp.c \ | |
70 iir.c \ | |
71 iir_cfs.c \ | |
72 iir_fpu.c | |
73 | |
74 OBJECTS = ${SOURCES:.c=.o} | |
75 | |
76 beepinclude_HEADERS = plugin.h output.h input.h | |
77 | |
78 desktop_DATA = audacious.desktop | |
79 desktopdir = $(datadir)/applications | |
80 | |
81 build_stamp.c: | |
82 if [ -d .svn ] || [ ! -f build_stamp.c ]; then \ | |
83 ( \ | |
84 echo '/* SVN repository version.'; \ | |
85 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
86 echo ' * be included in release tarballs.'; \ | |
87 echo ' */'; \ | |
88 echo '#include <glib.h>'; \ | |
89 echo -n 'const gchar *svn_stamp = "'; \ | |
90 (cd ..; svnversion -n .); \ | |
91 echo '";' \ | |
92 ) > build_stamp.c; \ | |
93 fi; | |
94 | |
95 audacious: $(OBJECTS) | |
1679
2dab9da1abc4
[svn] Link C++ plugins correctly on *BSD, by Jonathan Schleifer <js@h3c.de>.
chainsaw
parents:
1653
diff
changeset
|
96 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ |
874 | 97 @printf "%10s %-20s\n" LINK $@ |