Mercurial > audlegacy-plugins
comparison src/shnplug/Makefile @ 2008:b3002edfa3b9
Converted the last plugin to the new build system.
author | Eugene Paskevich <eugene@raptor.kiev.ua> |
---|---|
date | Wed, 10 Oct 2007 06:01:07 +0300 |
parents | 51bf0e431e02 |
children | 1ad002ce1bd0 |
comparison
equal
deleted
inserted
replaced
2007:57ee341c180f | 2008:b3002edfa3b9 |
---|---|
1 include ../../mk/rules.mk | 1 PLUGIN = libshnplug$(PLUGIN_SUFFIX) |
2 include ../../mk/init.mk | |
3 | 2 |
4 OBJECTIVE_LIBS = libshnplug$(SHARED_SUFFIX) | 3 SRCS = array.c \ |
4 convert.c \ | |
5 fixio.c \ | |
6 gtk.c \ | |
7 id3v2.c \ | |
8 misc.c \ | |
9 output.c \ | |
10 seek.c \ | |
11 shn.c \ | |
12 shorten.c \ | |
13 sulawalaw.c \ | |
14 vario.c \ | |
15 wave.c | |
5 | 16 |
6 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR) | 17 include ../../buildsys.mk |
18 include ../../extra.mk | |
7 | 19 |
8 SOURCES = \ | 20 plugindir := $(plugindir)/$(INPUT_PLUGIN_DIR) |
9 array.c \ | |
10 convert.c \ | |
11 fixio.c \ | |
12 gtk.c \ | |
13 id3v2.c \ | |
14 misc.c \ | |
15 output.c \ | |
16 seek.c \ | |
17 shn.c \ | |
18 shorten.c \ | |
19 sulawalaw.c \ | |
20 vario.c \ | |
21 wave.c | |
22 | 21 |
23 OBJECTS = ${SOURCES:.c=.o} | 22 CFLAGS += $(PLUGIN_CFLAGS) |
23 CPPFLAGS += $(PLUGIN_CPPFLAGS) $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(MOWGLI_CFLAGS) \ | |
24 $(PANGO_CFLAGS) $(ARCH_DEFINES) $(SIMD_CFLAGS) -I../../intl -I../.. -Wall | |
25 LDFLAGS += $(AUDLDFLAGS) | |
26 LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) | |
24 | 27 |
25 CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) $(SIMD_CFLAGS) -I../../intl -I../.. -Wall | 28 # These were the additional link flags in the old Makefile: |
26 | 29 # -L/opt/local/lib -L$(plugindir) -laudid3tag -Wl,-rpath=$(plugindir) |
27 LDFLAGS += $(AUDLDFLAGS) | |
28 LIBADD = -L/opt/local/lib -L$(plugindir) -Wl,-rpath=$(plugindir) -laudid3tag $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) | |
29 | |
30 include ../../mk/objective.mk |