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