Mercurial > audlegacy-plugins
changeset 1796:ea0dea2cc2a5
There was no real reason for 2 Makefiles.
author | Jonathan Schleifer <js@h3c.de> |
---|---|
date | Mon, 24 Sep 2007 19:32:10 +0200 |
parents | cbe54a147f12 |
children | 8fee3d70029a |
files | src/wma/Makefile src/wma/libffwma/Makefile |
diffstat | 2 files changed, 26 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/src/wma/Makefile Mon Sep 24 19:21:12 2007 +0200 +++ b/src/wma/Makefile Mon Sep 24 19:32:10 2007 +0200 @@ -1,17 +1,32 @@ -include ../../extra.mk +PLUGIN = wma$(PLUGIN_SUFFIX) +SRCS = wma.c \ + libffwma/allcodecs.c \ + libffwma/allformats.c \ + libffwma/asf.c \ + libffwma/avio.c \ + libffwma/aviobuf.c \ + libffwma/common.c \ + libffwma/cutils.c \ + libffwma/dsputil.c \ + libffwma/fft.c \ + libffwma/file.c \ + libffwma/futils.c \ + libffwma/mdct.c \ + libffwma/os_support.c \ + libffwma/parser.c \ + libffwma/simple_idct.c \ + libffwma/utils.c \ + libffwma/wmadec.c \ + libffwma/mem.c \ + libffwma/uri.c -PLUGIN = wma$(PLUGIN_SUFFIX) plugindir = audacious/$(INPUT_PLUGIN_DIR) -SUBDIRS = libffwma -LIBDEP = ./libffwma/libffwma.a - -SRCS = wma.c - +include ../../extra.mk include ../../buildsys.mk -LIBS += ./libffwma/libffwma.a $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) +${LIB}: libffwma/${LIB_PREFIX}ffwma${LIB_SUFFIX} -CFLAGS += $(PLUGIN_CFLAGS) -CPPFLAGS += $(MOWGLI_CFLAGS) $(DBUS_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../.. -I./libffwma -std=c99 $(GCC42_CFLAGS) - +CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} ${DBUS_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} -I../.. -I./libffwma -std=c99 ${GCC42_CFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE +CFLAGS += ${PLUGIN_CFLAGS} +LIBS += ./libffwma/libffwma.a ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}
--- a/src/wma/libffwma/Makefile Mon Sep 24 19:21:12 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -include ../../../extra.mk - -STATIC_LIB_NOINST = libffwma.a - -SRCS= allcodecs.c allformats.c \ - asf.c avio.c aviobuf.c \ - common.c cutils.c dsputil.c \ - fft.c file.c futils.c mdct.c \ - os_support.c \ - parser.c simple_idct.c \ - utils.c wmadec.c mem.c uri.c - -include ../../../buildsys.mk - -CFLAGS += $(PLUGIN_CFLAGS) -CPPFLAGS += $(GTK_CFLAGS) $(GLIB_CFLAGS) $(MOWGLI_CFLAGS) $(DBUS_CFLAGS) $(PANGO_CFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -I../../.. -