comparison src/amidi-plug/Makefile @ 1899:5af55c925d6e

amidi-plug: partial transition to new build system
author William Pitcock <nenolod@atheme.org>
date Wed, 26 Sep 2007 16:18:41 -0500
parents f19e6748d8eb
children e2904348f154
comparison
equal deleted inserted replaced
1898:95685713a865 1899:5af55c925d6e
1 include ../../mk/rules.mk 1 PLUGIN = amidi-plug$(PLUGIN_SUFFIX)
2 include ../../mk/init.mk
3
4 OBJECTIVE_LIBS = libamidi-plug$(SHARED_SUFFIX)
5 SUBDIRS = pcfg $(AMIDIPLUG_BACKENDS) 2 SUBDIRS = pcfg $(AMIDIPLUG_BACKENDS)
6 3
7 noinst_HEADERS = amidi-plug.h i_backend.h i_midi.h i_midievent.h \ 4 noinst_HEADERS = amidi-plug.h i_backend.h i_midi.h i_midievent.h \
8 i_vfslayer.h i_configure.h i_configure_private.h \ 5 i_vfslayer.h i_configure.h i_configure_private.h \
9 i_configure_file.h i_configure-ap.h i_configure-alsa.h \ 6 i_configure_file.h i_configure-ap.h i_configure-alsa.h \
10 i_configure-fluidsynth.h i_configure-dummy.h \ 7 i_configure-fluidsynth.h i_configure-dummy.h \
11 i_fileinfo.h i_utils.h i_common.h \ 8 i_fileinfo.h i_utils.h i_common.h \
12 amidi-plug-icon.xpm amidi-plug.logo.xpm \ 9 amidi-plug-icon.xpm amidi-plug.logo.xpm \
13 amidi-plug.midiicon.xpm 10 amidi-plug.midiicon.xpm
14 11
15 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR) 12 plugindir = audacious/$(INPUT_PLUGIN_DIR)
16 13
17 LIBADD = $(GTK_LIBS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(GMODULE_LIBS) -lpthread ./pcfg/libpcfg.a 14 SRCS = amidi-plug.c i_vfslayer.c i_midi.c i_backend.c \
18 SOURCES = amidi-plug.c i_vfslayer.c i_midi.c i_backend.c \
19 i_configure.c i_configure-ap.c i_configure-alsa.c \ 15 i_configure.c i_configure-ap.c i_configure-alsa.c \
20 i_configure-fluidsynth.c i_configure-dummy.c \ 16 i_configure-fluidsynth.c i_configure-dummy.c \
21 i_utils.c i_fileinfo.c 17 i_utils.c i_fileinfo.c
22 18
19 include ../../buildsys.mk
20 include ../../extra.mk
21
23 OBJECTS = ${SOURCES:.c=.o} 22 OBJECTS = ${SOURCES:.c=.o}
24 23
25 LIBDEP = ./pcfg/libpcfg.a 24 EXT_DEPS = ./pcfg/libpcfg.a
26 25
27 CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(GMODULE_CFLAGS) -DAMIDIPLUGBACKENDDIR=\"$(AMIDIPLUGBACKENDDIR)\" \ 26 CFLAGS += $(PLUGIN_CFLAGS)
28 -I../../intl -I../.. 27 CPPFLAGS += $(PLUGIN_CPPFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(GMODULE_CFLAGS) $(MOWGLI_CFLAGS) \
28 -DAMIDIPLUGBACKENDDIR=\"$(AMIDIPLUGBACKENDDIR)\" -I../../intl -I../..
29 29
30 include ../../mk/objective.mk 30 LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(GMODULE_LIBS) -lpthread ./pcfg/libpcfg.a