annotate audacious/Makefile.in @ 1158:c01fe6970660 trunk

[svn] - remove an old hack that is no longer necessary (can cause a crash (!))
author nenolod
date Thu, 08 Jun 2006 12:11:06 -0700
parents 95365899992e
children d03157b6b5dd
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 \
691
212804df9121 [svn] Don't install util.h
nenolod
parents: 659
diff changeset
29 plugin.h
659
bb0d818a6ed6 [svn] add HEADERS for audacious/
nenolod
parents: 615
diff changeset
30
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
31 SOURCES = \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
32 build_stamp.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
33 genevent.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
34 skin.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
35 util.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
36 output.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
37 fft.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
38 input.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
39 effect.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
40 general.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
41 visualization.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
42 pluginenum.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
43 playlist.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
44 controlsocket.c \
1064
13d721835794 [svn] - revert back to dock.c 2/2 (hope it works)
nenolod
parents: 1042
diff changeset
45 dock.c \
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
46 widget.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
47 sbutton.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
48 pbutton.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
49 tbutton.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
50 textbox.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
51 menurow.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
52 hslider.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
53 monostereo.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
54 vis.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
55 svis.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
56 number.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
57 playback.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
58 playstatus.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
59 playlist_list.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
60 playlist_slider.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
61 playlist_popup.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
62 eq_graph.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
63 eq_slider.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
64 main.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
65 logger.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
66 mainwin.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
67 skinwin.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
68 prefswin.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
69 ui_playlist.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
70 equalizer.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
71 glade.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
72 hints.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
73 about.c credits.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
74 softvolume.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
75 getopt.c getopt1.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
76 urldecode.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
77 mkdtemp.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
78 iir.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
79 iir_cfs.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
80 iir_fpu.c
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
81
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
82 OBJECTS = ${SOURCES:.c=.o}
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 beepinclude_HEADERS = plugin.h output.h input.h
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 desktop_DATA = audacious.desktop
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
87 desktopdir = $(datadir)/applications
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
88
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
89 build_stamp.c:
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
90 if [ -d .svn ] || [ ! -f build_stamp.c ]; then \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
91 ( \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
92 echo '/* SVN repository version.'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
93 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
94 echo ' * be included in release tarballs.'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
95 echo ' */'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
96 echo '#include <glib.h>'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
97 echo -n 'const gchar *svn_stamp = "'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
98 (cd ..; svnversion -n .); \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
99 echo '";' \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
100 ) > build_stamp.c; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
101 fi;
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
102
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
103 audacious: $(OBJECTS)
1109
95365899992e [svn] - audacious should pick runtime library up from ${libdir}.
yaz
parents: 1106
diff changeset
104 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ -Wl,-rpath,${libdir}
874
55128a9463a1 [svn] - cosmetic adjustment
nenolod
parents: 847
diff changeset
105 @printf "%10s %-20s\n" LINK $@