include ../../../mk/rules.mk
include ../../../mk/objective.mk

OBJECTIVE_LIBS = libmpg123.so

LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)

SOURCES = mpg123.c configure.c fileinfo.c common.c \
	decode_2to1.c decode_4to1.c \
	layer1.c layer2.c layer3.c \
	tabinit.c http.c \
	dxhead.c decode.c dct64.c paranoia.c interface.c

OBJECTS = ${SOURCES:.c=.o} tag_c_hacked.o

CFLAGS += -DPSYCHO -fPIC -DPIC $(GTK_CFLAGS) $(TAGLIB_CFLAGS) $(ARCH_DEFINES) -I../../../intl -I../../..

CXXFLAGS = $(CFLAGS)

LIBADD = -ltag_c $(GTK_LIBS) $(TAGLIB_LIBS)
