annotate audacious/Makefile @ 1648:d878473e6e3e trunk

[svn] - remove orphaned dependencies
author nenolod
date Thu, 07 Sep 2006 20:53:57 -0700
parents f84a1228e6b4
children a6e6d3500c13
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
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
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
3 include ../mk/objective.mk
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
4
1648
d878473e6e3e [svn] - remove orphaned dependencies
nenolod
parents: 1634
diff changeset
5 SUBDIRS = glade images
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
6
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
7 beepincludedir = $(includedir)/audacious
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
8
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
9 OBJECTIVE_BINS = audacious
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
10
1630
842667773cc0 [svn] - audacious now builds on OS X
nenolod
parents: 1615
diff changeset
11 LDFLAGS += $(AUDLDFLAGS)
842667773cc0 [svn] - audacious now builds on OS X
nenolod
parents: 1615
diff changeset
12
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
13 LDADD = \
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 \
1451
abf8fee03d59 [svn] - connect sqlite to the build
nenolod
parents: 1317
diff changeset
16 ../sqlite/libsqlite.a \
1455
04730ff1693d [svn] changes link order to avoid linkage with installed library.
yaz
parents: 1451
diff changeset
17 $(CHARDET_LIBS) \
04730ff1693d [svn] changes link order to avoid linkage with installed library.
yaz
parents: 1451
diff changeset
18 $(GTK_LIBS) \
1648
d878473e6e3e [svn] - remove orphaned dependencies
nenolod
parents: 1634
diff changeset
19 $(LIBGLADE_LIBS)
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
20
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
21 CFLAGS += \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
22 $(GTK_CFLAGS) \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
23 $(LIBGLADE_CFLAGS) \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
24 $(BEEP_DEFINES) \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
25 $(ARCH_DEFINES) \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
26 -I.. \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
27 -I../intl
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
28
659
bb0d818a6ed6 [svn] add HEADERS for audacious/
nenolod
parents: 615
diff changeset
29 HEADERS = \
bb0d818a6ed6 [svn] add HEADERS for audacious/
nenolod
parents: 615
diff changeset
30 input.h \
bb0d818a6ed6 [svn] add HEADERS for audacious/
nenolod
parents: 615
diff changeset
31 output.h \
1175
d03157b6b5dd [svn] prefswin_page_new():
nenolod
parents: 1109
diff changeset
32 plugin.h \
d03157b6b5dd [svn] prefswin_page_new():
nenolod
parents: 1109
diff changeset
33 prefswin.h
659
bb0d818a6ed6 [svn] add HEADERS for audacious/
nenolod
parents: 615
diff changeset
34
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
35 SOURCES = \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
36 build_stamp.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
37 genevent.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
38 util.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
39 output.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
40 fft.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
41 input.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
42 effect.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
43 general.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
44 visualization.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
45 pluginenum.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
46 playlist.c \
1548
d5be38600be5 [svn] - incomplete PlaylistContainer implementation
nenolod
parents: 1541
diff changeset
47 playlist_container.c \
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
48 controlsocket.c \
1064
13d721835794 [svn] - revert back to dock.c 2/2 (hope it works)
nenolod
parents: 1042
diff changeset
49 dock.c \
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
50 playback.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
51 main.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
52 logger.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
53 skinwin.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
54 prefswin.c \
1262
186f774fa30b [svn] - ui_fileinfo goodness (not hooked up yet)
nenolod
parents: 1218
diff changeset
55 ui_fileinfo.c \
582
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
56 glade.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
57 hints.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
58 about.c credits.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
59 softvolume.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
60 getopt.c getopt1.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
61 urldecode.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
62 mkdtemp.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
63 iir.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
64 iir_cfs.c \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
65 iir_fpu.c
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
66
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
67 OBJECTS = ${SOURCES:.c=.o}
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
68
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
69 beepinclude_HEADERS = plugin.h output.h input.h
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
70
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
71 desktop_DATA = audacious.desktop
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
72 desktopdir = $(datadir)/applications
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
73
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
74 build_stamp.c:
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
75 if [ -d .svn ] || [ ! -f build_stamp.c ]; then \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
76 ( \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
77 echo '/* SVN repository version.'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
78 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
79 echo ' * be included in release tarballs.'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
80 echo ' */'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
81 echo '#include <glib.h>'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
82 echo -n 'const gchar *svn_stamp = "'; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
83 (cd ..; svnversion -n .); \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
84 echo '";' \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
85 ) > build_stamp.c; \
fcb9cebe14fc [svn] Convert audacious over to a binary objective.
nenolod
parents:
diff changeset
86 fi;
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 audacious: $(OBJECTS)
1630
842667773cc0 [svn] - audacious now builds on OS X
nenolod
parents: 1615
diff changeset
89 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@
874
55128a9463a1 [svn] - cosmetic adjustment
nenolod
parents: 847
diff changeset
90 @printf "%10s %-20s\n" LINK $@