Mercurial > audlegacy-plugins
diff src/amidi-plug/backend-alsa/Makefile @ 2005:e2904348f154
Converted amidi-plug backends to the new build system.
author | Eugene Paskevich <eugene@raptor.kiev.ua> |
---|---|
date | Tue, 09 Oct 2007 22:39:32 +0300 |
parents | f19e6748d8eb |
children | a56a26a5f233 |
line wrap: on
line diff
--- a/src/amidi-plug/backend-alsa/Makefile Tue Oct 09 16:58:35 2007 +0300 +++ b/src/amidi-plug/backend-alsa/Makefile Tue Oct 09 22:39:32 2007 +0300 @@ -1,19 +1,13 @@ -include ../../../mk/rules.mk -include ../../../mk/init.mk +PLUGIN = ap-alsa$(PLUGIN_SUFFIX) +plugindir = audacious/$(AMIDIPLUG_BACKEND_DIR) noinst_HEADERS = b-alsa.h b-alsa-config.h backend-alsa-icon.xpm -CFLAGS += $(PICFLAGS) $(GLIB_CFLAGS) $(ALSA_CFLAGS) -I../../.. - -libdir = $(AMIDIPLUGBACKENDDIR) - -OBJECTIVE_LIBS = ap-alsa$(SHARED_SUFFIX) +SRCS = b-alsa.c -LIBADD = $(GLIB_LIBS) $(ALSA_LIBS) ../pcfg/libpcfg.a -SOURCES = b-alsa.c +include ../../../buildsys.mk +include ../../../extra.mk -OBJECTS = ${SOURCES:.c=.o} - -LIBDEP = ../pcfg/libpcfg.a - -include ../../../mk/objective.mk +CFLAGS += $(PLUGIN_CFLAGS) $(ALSA_CFLAGS) +CPPFLAGS += $(PLUGIN_CPPFLAGS) $(ALSA_CFLAGS) $(GLIB_CFLAGS) -I../../.. +LIBS += $(ALSA_LIBS) ../pcfg/libpcfg.a