Mercurial > audlegacy
annotate audacious/Makefile @ 1609:fb2ac7c9e096 trunk
[svn] - comment out some gtk_window_set_transient_for() which hide mainwin unexpectedly.
author | yaz |
---|---|
date | Tue, 29 Aug 2006 23:15:43 -0700 |
parents | 88c0aabb4286 |
children | e402e0217870 |
rev | line source |
---|---|
582 | 1 include ../mk/rules.mk |
2 include ../mk/objective.mk | |
3 | |
1541 | 4 SUBDIRS = widgets glade images |
582 | 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 = \ |
757 | 12 -L.. $(LTLIBINTL) \ |
1106 | 13 -L../libaudacious -laudacious \ |
1451 | 14 ../sqlite/libsqlite.a \ |
1455
04730ff1693d
[svn] changes link order to avoid linkage with installed library.
yaz
parents:
1451
diff
changeset
|
15 $(CHARDET_LIBS) \ |
04730ff1693d
[svn] changes link order to avoid linkage with installed library.
yaz
parents:
1451
diff
changeset
|
16 $(GTK_LIBS) \ |
1541 | 17 $(LIBGLADE_LIBS) \ |
18 ./widgets/libwidgets.a | |
582 | 19 |
20 CFLAGS += \ | |
21 $(GTK_CFLAGS) \ | |
22 $(LIBGLADE_CFLAGS) \ | |
23 $(BEEP_DEFINES) \ | |
24 $(ARCH_DEFINES) \ | |
25 -I.. \ | |
26 -I../intl | |
27 | |
659 | 28 HEADERS = \ |
29 input.h \ | |
30 output.h \ | |
1175 | 31 plugin.h \ |
32 prefswin.h | |
659 | 33 |
582 | 34 SOURCES = \ |
35 build_stamp.c \ | |
36 genevent.c \ | |
37 util.c \ | |
38 output.c \ | |
39 fft.c \ | |
40 input.c \ | |
41 effect.c \ | |
42 general.c \ | |
43 visualization.c \ | |
44 pluginenum.c \ | |
45 playlist.c \ | |
1548
d5be38600be5
[svn] - incomplete PlaylistContainer implementation
nenolod
parents:
1541
diff
changeset
|
46 playlist_container.c \ |
582 | 47 controlsocket.c \ |
1064 | 48 dock.c \ |
582 | 49 playback.c \ |
50 main.c \ | |
51 logger.c \ | |
52 mainwin.c \ | |
53 skinwin.c \ | |
54 prefswin.c \ | |
1262 | 55 ui_fileinfo.c \ |
582 | 56 ui_playlist.c \ |
57 equalizer.c \ | |
58 glade.c \ | |
59 hints.c \ | |
60 about.c credits.c \ | |
61 softvolume.c \ | |
62 getopt.c getopt1.c \ | |
63 urldecode.c \ | |
64 mkdtemp.c \ | |
65 iir.c \ | |
66 iir_cfs.c \ | |
67 iir_fpu.c | |
68 | |
69 OBJECTS = ${SOURCES:.c=.o} | |
70 | |
71 beepinclude_HEADERS = plugin.h output.h input.h | |
72 | |
73 desktop_DATA = audacious.desktop | |
74 desktopdir = $(datadir)/applications | |
75 | |
76 build_stamp.c: | |
77 if [ -d .svn ] || [ ! -f build_stamp.c ]; then \ | |
78 ( \ | |
79 echo '/* SVN repository version.'; \ | |
80 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
81 echo ' * be included in release tarballs.'; \ | |
82 echo ' */'; \ | |
83 echo '#include <glib.h>'; \ | |
84 echo -n 'const gchar *svn_stamp = "'; \ | |
85 (cd ..; svnversion -n .); \ | |
86 echo '";' \ | |
87 ) > build_stamp.c; \ | |
88 fi; | |
89 | |
90 audacious: $(OBJECTS) | |
1109
95365899992e
[svn] - audacious should pick runtime library up from ${libdir}.
yaz
parents:
1106
diff
changeset
|
91 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ -Wl,-rpath,${libdir} |
874 | 92 @printf "%10s %-20s\n" LINK $@ |