annotate audacious/Makefile @ 1262:186f774fa30b trunk

[svn] - ui_fileinfo goodness (not hooked up yet)
author nenolod
date Thu, 15 Jun 2006 21:54:44 -0700
parents aaf012a5529c
children e80a7a0b1065
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
1 include ../mk/rules.mk
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
2 include ../mk/objective.mk
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
3
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
4 SUBDIRS = glade images
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
5
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
6 beepincludedir = $(includedir)/audacious
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
7
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
8 OBJECTIVE_BINS = audacious
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
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
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
11 LDADD = \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
12 $(GTK_LIBS) \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
13 $(LIBGLADE_LIBS) \
757
30fe36d312c8 [svn] kludge
nenolod
parents: 691
diff changeset
14 -L.. $(LTLIBINTL) \
1106
f12a2a0556cf [svn] chardet build error fix.
yaz
parents: 1064
diff changeset
15 -L../libaudacious -laudacious \
f12a2a0556cf [svn] chardet build error fix.
yaz
parents: 1064
diff changeset
16 -L../libguess $(CHARDET_LIBS)
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
17
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
18 CFLAGS += \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
19 $(GTK_CFLAGS) \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
20 $(LIBGLADE_CFLAGS) \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
21 $(BEEP_DEFINES) \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
22 $(ARCH_DEFINES) \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
23 -I.. \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
24 -I../intl
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
25
659
bb0d818a6ed6 [svn] add HEADERS for audacious/
nenolod
parents: 615
diff changeset
26 HEADERS = \
bb0d818a6ed6 [svn] add HEADERS for audacious/
nenolod
parents: 615
diff changeset
27 input.h \
bb0d818a6ed6 [svn] add HEADERS for audacious/
nenolod
parents: 615
diff changeset
28 output.h \
1175
d03157b6b5dd [svn] prefswin_page_new():
nenolod
parents: 1109
diff changeset
29 plugin.h \
d03157b6b5dd [svn] prefswin_page_new():
nenolod
parents: 1109
diff changeset
30 prefswin.h
659
bb0d818a6ed6 [svn] add HEADERS for audacious/
nenolod
parents: 615
diff changeset
31
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
32 SOURCES = \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
33 build_stamp.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
34 genevent.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
35 skin.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
36 util.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
37 output.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
38 fft.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
39 input.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
40 effect.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
41 general.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
42 visualization.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
43 pluginenum.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
44 playlist.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
45 controlsocket.c \
1064
13d721835794 [svn] - revert back to dock.c 2/2 (hope it works)
nenolod
parents: 1042
diff changeset
46 dock.c \
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
47 widget.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
48 sbutton.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
49 pbutton.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
50 tbutton.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
51 textbox.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
52 menurow.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
53 hslider.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
54 monostereo.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
55 vis.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
56 svis.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
57 number.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
58 playback.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
59 playstatus.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
60 playlist_list.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
61 playlist_slider.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
62 playlist_popup.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
63 eq_graph.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
64 eq_slider.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
65 main.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
66 logger.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
67 mainwin.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
68 skinwin.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
69 prefswin.c \
1262
186f774fa30b [svn] - ui_fileinfo goodness (not hooked up yet)
nenolod
parents: 1218
diff changeset
70 ui_fileinfo.c \
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
71 ui_playlist.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
72 equalizer.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
73 glade.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
74 hints.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
75 about.c credits.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
76 softvolume.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
77 getopt.c getopt1.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
78 urldecode.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
79 mkdtemp.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
80 iir.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
81 iir_cfs.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
82 iir_fpu.c
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
83
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
84 OBJECTS = ${SOURCES:.c=.o}
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
85
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
86 beepinclude_HEADERS = plugin.h output.h input.h
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
87
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
88 desktop_DATA = audacious.desktop
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
89 desktopdir = $(datadir)/applications
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
90
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
91 build_stamp.c:
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
92 if [ -d .svn ] || [ ! -f build_stamp.c ]; then \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
93 ( \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
94 echo '/* SVN repository version.'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
95 echo ' * This auto-generated file must not be included in SVN; but must'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
96 echo ' * be included in release tarballs.'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
97 echo ' */'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
98 echo '#include <glib.h>'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
99 echo -n 'const gchar *svn_stamp = "'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
100 (cd ..; svnversion -n .); \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
101 echo '";' \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
102 ) > build_stamp.c; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
103 fi;
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
104
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
105 audacious: $(OBJECTS)
1109
95365899992e [svn] - audacious should pick runtime library up from ${libdir}.
yaz
parents: 1106
diff changeset
106 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ -Wl,-rpath,${libdir}
874
55128a9463a1 [svn] - cosmetic adjustment
nenolod
parents: 847
diff changeset
107 @printf "%10s %-20s\n" LINK $@