Mercurial > audlegacy
annotate audacious/Makefile @ 2170:d0312301163f trunk
[svn] fixed bug #699 about playlist->queue with patch provided by bug reporter
author | giacomo |
---|---|
date | Mon, 18 Dec 2006 14:47:48 -0800 |
parents | caaf4b1a8487 |
children | 7d40f0a290b9 |
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 | |
2150
7b17bae290df
[svn] - add XML interface declaration for the playlist editor
nenolod
parents:
2146
diff
changeset
|
5 SUBDIRS = widgets glade images ui |
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) \ |
2168
caaf4b1a8487
[svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents:
2156
diff
changeset
|
19 $(REGEX_LIBS) \ |
1991 | 20 ./widgets/libwidgets.a |
582 | 21 |
22 CFLAGS += \ | |
23 $(GTK_CFLAGS) \ | |
24 $(LIBGLADE_CFLAGS) \ | |
25 $(BEEP_DEFINES) \ | |
26 $(ARCH_DEFINES) \ | |
2168
caaf4b1a8487
[svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents:
2156
diff
changeset
|
27 $(REGEX_CFLAGS) \ |
1741
c7ab1203d933
[svn] - only include non-SDK things if _AUDACIOUS_CORE is defined.
nenolod
parents:
1740
diff
changeset
|
28 -D_AUDACIOUS_CORE \ |
582 | 29 -I.. \ |
30 -I../intl | |
31 | |
659 | 32 HEADERS = \ |
33 input.h \ | |
1740 | 34 main.h \ |
659 | 35 output.h \ |
1732 | 36 playlist.h \ |
1733 | 37 playlist_container.h \ |
1175 | 38 plugin.h \ |
1735
0617015a528b
[svn] - export the util.h as provided by audacious/
nenolod
parents:
1733
diff
changeset
|
39 prefswin.h \ |
2146
e0e50e151bab
[svn] - move vfs from libaudacious to main audacious
nenolod
parents:
2071
diff
changeset
|
40 util.h \ |
e0e50e151bab
[svn] - move vfs from libaudacious to main audacious
nenolod
parents:
2071
diff
changeset
|
41 vfs.h \ |
e0e50e151bab
[svn] - move vfs from libaudacious to main audacious
nenolod
parents:
2071
diff
changeset
|
42 vfs_buffer.h |
659 | 43 |
582 | 44 SOURCES = \ |
45 build_stamp.c \ | |
2146
e0e50e151bab
[svn] - move vfs from libaudacious to main audacious
nenolod
parents:
2071
diff
changeset
|
46 vfs.c \ |
e0e50e151bab
[svn] - move vfs from libaudacious to main audacious
nenolod
parents:
2071
diff
changeset
|
47 vfs_buffer.c \ |
e0e50e151bab
[svn] - move vfs from libaudacious to main audacious
nenolod
parents:
2071
diff
changeset
|
48 vfs_common.c \ |
582 | 49 genevent.c \ |
50 util.c \ | |
51 output.c \ | |
52 fft.c \ | |
53 input.c \ | |
54 effect.c \ | |
55 general.c \ | |
56 visualization.c \ | |
57 pluginenum.c \ | |
58 playlist.c \ | |
1548
d5be38600be5
[svn] - incomplete PlaylistContainer implementation
nenolod
parents:
1541
diff
changeset
|
59 playlist_container.c \ |
582 | 60 controlsocket.c \ |
1064 | 61 dock.c \ |
582 | 62 playback.c \ |
63 main.c \ | |
64 logger.c \ | |
1653 | 65 mainwin.c \ |
582 | 66 skinwin.c \ |
67 prefswin.c \ | |
1262 | 68 ui_fileinfo.c \ |
1653 | 69 ui_playlist.c \ |
70 equalizer.c \ | |
582 | 71 glade.c \ |
72 hints.c \ | |
73 about.c credits.c \ | |
74 getopt.c getopt1.c \ | |
75 iir.c \ | |
76 iir_cfs.c \ | |
2156
a792aaee8e8e
[svn] - new signal handling which does not block (based on concept from BMP 0.9.8 that never got released)
nenolod
parents:
2150
diff
changeset
|
77 iir_fpu.c \ |
a792aaee8e8e
[svn] - new signal handling which does not block (based on concept from BMP 0.9.8 that never got released)
nenolod
parents:
2150
diff
changeset
|
78 signals.c |
582 | 79 |
80 OBJECTS = ${SOURCES:.c=.o} | |
81 | |
82 desktop_DATA = audacious.desktop | |
83 desktopdir = $(datadir)/applications | |
84 | |
1921
57e92364c354
[svn] - add a build-prehook to ensure that the build_stamp is fresh.
nenolod
parents:
1890
diff
changeset
|
85 build-prehook: |
1923 | 86 if [ -d .svn ] && [ -f build_stamp.c ]; then \ |
1921
57e92364c354
[svn] - add a build-prehook to ensure that the build_stamp is fresh.
nenolod
parents:
1890
diff
changeset
|
87 rm -f build_stamp.c; \ |
57e92364c354
[svn] - add a build-prehook to ensure that the build_stamp is fresh.
nenolod
parents:
1890
diff
changeset
|
88 printf "%10s %-20s\n" RM build_stamp.c; \ |
57e92364c354
[svn] - add a build-prehook to ensure that the build_stamp is fresh.
nenolod
parents:
1890
diff
changeset
|
89 fi |
57e92364c354
[svn] - add a build-prehook to ensure that the build_stamp is fresh.
nenolod
parents:
1890
diff
changeset
|
90 |
582 | 91 build_stamp.c: |
2024
2f8a85fc9450
[svn] - fix conditionals for building build_stamp.c
nenolod
parents:
1991
diff
changeset
|
92 if [ -d .svn ] && [ ! -f build_stamp.c ]; then \ |
582 | 93 ( \ |
94 echo '/* SVN repository version.'; \ | |
95 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
96 echo ' * be included in release tarballs.'; \ | |
97 echo ' */'; \ | |
98 echo '#include <glib.h>'; \ | |
99 echo -n 'const gchar *svn_stamp = "'; \ | |
1986
e75d0ae4fcb9
[svn] Avoid chdir .. when creating the SVN build stamp. This way we get a valid stamp when compiling from an ebuild.
chainsaw
parents:
1961
diff
changeset
|
100 (svnversion -n .); \ |
582 | 101 echo '";' \ |
102 ) > build_stamp.c; \ | |
1922
29d90d3f9680
[svn] - add feedback when the build_stamp is generated.
nenolod
parents:
1921
diff
changeset
|
103 printf "%10s %-20s\n" STAMP build_stamp.c; \ |
582 | 104 fi; |
105 | |
1776
1f8b12f14dfa
[svn] - make audacious re-link when libwidgets.a has been updated.
yaz
parents:
1741
diff
changeset
|
106 audacious: $(OBJECTS) widgets/libwidgets.a |
1679
2dab9da1abc4
[svn] Link C++ plugins correctly on *BSD, by Jonathan Schleifer <js@h3c.de>.
chainsaw
parents:
1653
diff
changeset
|
107 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ |
874 | 108 @printf "%10s %-20s\n" LINK $@ |