view src/mpg123/Makefile @ 17:cf1054422f81 trunk

[svn] - fix a lot of paths - reduce more makefiles
author nenolod
date Mon, 18 Sep 2006 03:38:44 -0700
parents 772c5d3af066
children 0c50f248ed10
line wrap: on
line source

include ../../mk/rules.mk
include ../../mk/init.mk

OBJECTIVE_LIBS = libmpg123$(SHARED_SUFFIX)

LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)

SOURCES = mpg123.c configure.c fileinfo.c common.c \
	resample.c \
	layer1.c layer2.c layer3.c \
	tabinit.c http.c $(LIBNMS_SRC) \
	dxhead.c decode.c $(DCT64) paranoia.c interface.c

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

CFLAGS   += -UPSYCHO $(PICFLAGS) $(GTK_CFLAGS) $(TAGLIB_CFLAGS) $(ARCH_DEFINES) $(LIBNMS_CFLAGS) -I../../intl -I../..
CXXFLAGS += -UPSYCHO $(PICFLAGS) $(GTK_CFLAGS) $(TAGLIB_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..

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

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