view 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
line wrap: on
line source

PLUGIN = libshnplug$(PLUGIN_SUFFIX)

SRCS = array.c		\
       convert.c	\
       fixio.c		\
       gtk.c		\
       id3v2.c		\
       misc.c		\
       output.c		\
       seek.c		\
       shn.c		\
       shorten.c	\
       sulawalaw.c	\
       vario.c		\
       wave.c

include ../../buildsys.mk
include ../../extra.mk

plugindir := $(plugindir)/$(INPUT_PLUGIN_DIR)

CFLAGS += $(PLUGIN_CFLAGS)
CPPFLAGS += $(PLUGIN_CPPFLAGS) $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(MOWGLI_CFLAGS) \
	    $(PANGO_CFLAGS) $(ARCH_DEFINES) $(SIMD_CFLAGS) -I../../intl -I../.. -Wall
LDFLAGS += $(AUDLDFLAGS)
LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)

# These were the additional link flags in the old Makefile:
# -L/opt/local/lib -L$(plugindir) -laudid3tag -Wl,-rpath=$(plugindir)