Mercurial > audlegacy
annotate audacious/Makefile @ 2226:325a97334c11 trunk
[svn] - set the translation domain for UIManager owned objects. Closes #719, #720.
author | nenolod |
---|---|
date | Sun, 31 Dec 2006 11:32:05 -0800 |
parents | e0d7335f56c3 |
children | ac2ea05e60a0 |
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 \ |
2201
39e9c8e2745d
[svn] - added initial code for playlist manager, that allows to create, delete and switch playlists
giacomo
parents:
2185
diff
changeset
|
38 playlist_manager.h \ |
1175 | 39 plugin.h \ |
1735
0617015a528b
[svn] - export the util.h as provided by audacious/
nenolod
parents:
1733
diff
changeset
|
40 prefswin.h \ |
2146
e0e50e151bab
[svn] - move vfs from libaudacious to main audacious
nenolod
parents:
2071
diff
changeset
|
41 util.h \ |
e0e50e151bab
[svn] - move vfs from libaudacious to main audacious
nenolod
parents:
2071
diff
changeset
|
42 vfs.h \ |
2205
cc6a05baa156
[svn] - added audacious stock icons; source files wanting to use them must include icons-stock.h; removed obsolete pixmaps.h
giacomo
parents:
2201
diff
changeset
|
43 vfs_buffer.h \ |
cc6a05baa156
[svn] - added audacious stock icons; source files wanting to use them must include icons-stock.h; removed obsolete pixmaps.h
giacomo
parents:
2201
diff
changeset
|
44 icons-csource.h \ |
cc6a05baa156
[svn] - added audacious stock icons; source files wanting to use them must include icons-stock.h; removed obsolete pixmaps.h
giacomo
parents:
2201
diff
changeset
|
45 icons-stock.h |
659 | 46 |
582 | 47 SOURCES = \ |
48 build_stamp.c \ | |
2146
e0e50e151bab
[svn] - move vfs from libaudacious to main audacious
nenolod
parents:
2071
diff
changeset
|
49 vfs.c \ |
e0e50e151bab
[svn] - move vfs from libaudacious to main audacious
nenolod
parents:
2071
diff
changeset
|
50 vfs_buffer.c \ |
e0e50e151bab
[svn] - move vfs from libaudacious to main audacious
nenolod
parents:
2071
diff
changeset
|
51 vfs_common.c \ |
582 | 52 genevent.c \ |
53 util.c \ | |
54 output.c \ | |
55 fft.c \ | |
56 input.c \ | |
57 effect.c \ | |
58 general.c \ | |
59 visualization.c \ | |
60 pluginenum.c \ | |
61 playlist.c \ | |
1548
d5be38600be5
[svn] - incomplete PlaylistContainer implementation
nenolod
parents:
1541
diff
changeset
|
62 playlist_container.c \ |
2201
39e9c8e2745d
[svn] - added initial code for playlist manager, that allows to create, delete and switch playlists
giacomo
parents:
2185
diff
changeset
|
63 playlist_manager.c \ |
582 | 64 controlsocket.c \ |
1064 | 65 dock.c \ |
582 | 66 playback.c \ |
67 main.c \ | |
68 logger.c \ | |
1653 | 69 mainwin.c \ |
582 | 70 skinwin.c \ |
71 prefswin.c \ | |
1262 | 72 ui_fileinfo.c \ |
1653 | 73 ui_playlist.c \ |
74 equalizer.c \ | |
582 | 75 glade.c \ |
76 hints.c \ | |
77 about.c credits.c \ | |
78 getopt.c getopt1.c \ | |
79 iir.c \ | |
80 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
|
81 iir_fpu.c \ |
2184
7d40f0a290b9
[svn] - break out string-related functions from util.c
nenolod
parents:
2168
diff
changeset
|
82 signals.c \ |
2185
c108a98794b1
[svn] - add pixbuf_effects.c, containing various routines to alter images used by the skinengine
nenolod
parents:
2184
diff
changeset
|
83 strings.c \ |
2223
e0d7335f56c3
[svn] - MemoryPool, a simple performance-oriented memory pool.
nenolod
parents:
2205
diff
changeset
|
84 pixbuf_effects.c \ |
e0d7335f56c3
[svn] - MemoryPool, a simple performance-oriented memory pool.
nenolod
parents:
2205
diff
changeset
|
85 memorypool.c |
582 | 86 |
87 OBJECTS = ${SOURCES:.c=.o} | |
88 | |
89 desktop_DATA = audacious.desktop | |
90 desktopdir = $(datadir)/applications | |
91 | |
1921
57e92364c354
[svn] - add a build-prehook to ensure that the build_stamp is fresh.
nenolod
parents:
1890
diff
changeset
|
92 build-prehook: |
1923 | 93 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
|
94 rm -f build_stamp.c; \ |
57e92364c354
[svn] - add a build-prehook to ensure that the build_stamp is fresh.
nenolod
parents:
1890
diff
changeset
|
95 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
|
96 fi |
57e92364c354
[svn] - add a build-prehook to ensure that the build_stamp is fresh.
nenolod
parents:
1890
diff
changeset
|
97 |
582 | 98 build_stamp.c: |
2024
2f8a85fc9450
[svn] - fix conditionals for building build_stamp.c
nenolod
parents:
1991
diff
changeset
|
99 if [ -d .svn ] && [ ! -f build_stamp.c ]; then \ |
582 | 100 ( \ |
101 echo '/* SVN repository version.'; \ | |
102 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
103 echo ' * be included in release tarballs.'; \ | |
104 echo ' */'; \ | |
105 echo '#include <glib.h>'; \ | |
106 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
|
107 (svnversion -n .); \ |
582 | 108 echo '";' \ |
109 ) > build_stamp.c; \ | |
1922
29d90d3f9680
[svn] - add feedback when the build_stamp is generated.
nenolod
parents:
1921
diff
changeset
|
110 printf "%10s %-20s\n" STAMP build_stamp.c; \ |
582 | 111 fi; |
112 | |
1776
1f8b12f14dfa
[svn] - make audacious re-link when libwidgets.a has been updated.
yaz
parents:
1741
diff
changeset
|
113 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
|
114 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ |
874 | 115 @printf "%10s %-20s\n" LINK $@ |