annotate src/audacious/Makefile @ 2631:a2afa6ca7294 trunk

[svn] - integrate libmowgli requirement into buildsystem
author nenolod
date Tue, 20 Mar 2007 21:39:00 -0700
parents ea470384e752
children ecfb79d60c3a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2409
30ab29ed32d8 [svn] - back out objective-make topdir probe stuff, it doesnt work on some
nenolod
parents: 2404
diff changeset
1 include ../../mk/rules.mk
30ab29ed32d8 [svn] - back out objective-make topdir probe stuff, it doesnt work on some
nenolod
parents: 2404
diff changeset
2 include ../../mk/init.mk
30ab29ed32d8 [svn] - back out objective-make topdir probe stuff, it doesnt work on some
nenolod
parents: 2404
diff changeset
3 include ../../mk/objective.mk
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
4
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
5 SUBDIRS = widgets glade images ui
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
6
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
7 OBJECTIVE_BINS = audacious
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
8
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
9 LDFLAGS += $(AUDLDFLAGS)
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
10
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
11 LDADD = \
2571
c293ff5ec46f [svn] - use $(LIBINTL) rule, not $(LTLIBINTL). unbreaks OSX platform port.
nenolod
parents: 2541
diff changeset
12 -L.. $(LIBINTL) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
13 -L../libaudacious -laudacious \
2538
719e0898ff3c [svn] - Patch to use libsamplerate for high-quality interpolated upsampling,
nenolod
parents: 2537
diff changeset
14 $(samplerate_LIBS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
15 $(CHARDET_LIBS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
16 $(GTK_LIBS) \
2631
a2afa6ca7294 [svn] - integrate libmowgli requirement into buildsystem
nenolod
parents: 2589
diff changeset
17 $(MOWGLI_LIBS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
18 $(LIBGLADE_LIBS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
19 $(REGEX_LIBS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
20 ./widgets/libwidgets.a
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
21
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
22 CFLAGS += \
2631
a2afa6ca7294 [svn] - integrate libmowgli requirement into buildsystem
nenolod
parents: 2589
diff changeset
23 $(MOWGLI_CFLAGS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
24 $(GTK_CFLAGS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
25 $(LIBGLADE_CFLAGS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
26 $(BEEP_DEFINES) \
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
27 $(ARCH_DEFINES) \
2538
719e0898ff3c [svn] - Patch to use libsamplerate for high-quality interpolated upsampling,
nenolod
parents: 2537
diff changeset
28 $(samplerate_CFLAGS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
29 $(REGEX_CFLAGS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
30 -D_AUDACIOUS_CORE \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
31 -I.. -I../.. \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
32 -I../intl
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
33
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
34 HEADERS = \
2426
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents: 2422
diff changeset
35 formatter.h \
2537
7aac1b5ef85d [svn] - reinstate rcfile class for now
nenolod
parents: 2536
diff changeset
36 rcfile.h \
2387
af600aefd2cf [svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents: 2386
diff changeset
37 i18n.h \
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
38 input.h \
2404
60f1bc20c19c [svn] - hooking implementation.
nenolod
parents: 2391
diff changeset
39 hook.h \
2386
86ef3bf12a59 [svn] - export main.h again
giacomo
parents: 2385
diff changeset
40 main.h \
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
41 output.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
42 playlist.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
43 playlist_container.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
44 plugin.h \
2385
ab2b1b6f6179 [svn] - add missing inclusion of strings.h where necessary, do not export main.h and export strings.h
giacomo
parents: 2367
diff changeset
45 strings.h \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
46 titlestring.h \
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
47 ui_fileinfopopup.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
48 ui_preferences.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
49 util.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
50 vfs.h \
2431
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
51 vfs_buffer.h \
2589
ea470384e752 [svn] - add vfs_buffered_file_release_live_fd().
nenolod
parents: 2571
diff changeset
52 vfs_buffered_file.h \
2431
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
53 xconvert.h
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
54
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
55 SOURCES = \
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
56 build_stamp.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
57 controlsocket.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
58 dnd.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
59 dock.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
60 effect.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
61 fft.c \
2426
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents: 2422
diff changeset
62 formatter.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
63 general.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
64 genevent.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
65 glade.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
66 hints.c \
2404
60f1bc20c19c [svn] - hooking implementation.
nenolod
parents: 2391
diff changeset
67 hook.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
68 iir.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
69 iir_cfs.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
70 iir_fpu.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
71 input.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
72 logger.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
73 main.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
74 memorypool.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
75 output.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
76 pixbuf_effects.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
77 playback.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
78 playlist.c \
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
79 playlist_container.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
80 pluginenum.c \
2537
7aac1b5ef85d [svn] - reinstate rcfile class for now
nenolod
parents: 2536
diff changeset
81 rcfile.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
82 signals.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
83 strings.c \
2431
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
84 titlestring.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
85 ui_about.c \
2442
44df6c17411b [svn] - split out albumart locating functions into a seperate file and make the public API available in util.h
nenolod
parents: 2441
diff changeset
86 ui_albumart.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
87 ui_credits.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
88 ui_equalizer.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
89 ui_fileinfo.c \
2348
564e8a1fe09a [svn] - made a public API for fileinfopopup (popup that displays metadata, the same used in playlist); now plugins can include ui_fileinfopopup.h to display metadata popups (i.e. statusicon and libnotify plugins)
giacomo
parents: 2341
diff changeset
90 ui_fileinfopopup.c \
2416
0fd7f4f969ad [svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents: 2411
diff changeset
91 ui_fileopener.c \
2500
04642d2d0941 [svn] - split out jump to track
nenolod
parents: 2499
diff changeset
92 ui_jumptotrack.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
93 ui_main.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
94 ui_manager.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
95 ui_playlist.c \
2499
15a1f5ee4d1c [svn] - playlist_manager -> ui_playlist_manager, since it's a UI component.
nenolod
parents: 2494
diff changeset
96 ui_playlist_manager.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
97 ui_preferences.c \
2494
59661bd074b4 [svn] Try to put some skinned window code in a common place.
nenolod
parents: 2465
diff changeset
98 ui_skinned_cursor.c \
59661bd074b4 [svn] Try to put some skinned window code in a common place.
nenolod
parents: 2465
diff changeset
99 ui_skinned_window.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
100 ui_skinselector.c \
2422
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents: 2416
diff changeset
101 ui_urlopener.c \
2416
0fd7f4f969ad [svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents: 2411
diff changeset
102 urldecode.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
103 util.c \
2494
59661bd074b4 [svn] Try to put some skinned window code in a common place.
nenolod
parents: 2465
diff changeset
104 vfs.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
105 vfs_buffer.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
106 vfs_buffered_file.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
107 vfs_common.c \
2431
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
108 visualization.c \
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
109 xconvert.c
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
110
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
111 OBJECTS = ${SOURCES:.c=.o}
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
112
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
113 desktop_DATA = audacious.desktop
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
114 desktopdir = $(datadir)/applications
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
115
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
116 audacious: $(OBJECTS) widgets/libwidgets.a
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
117 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
118 @printf "%10s %-20s\n" LINK $@
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
119
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
120 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications