view Plugins/Input/mpg123/Makefile.in @ 624:a4ab65713d46 trunk

[svn] MP3 linking fixes by NhJm.
author chainsaw
date Mon, 06 Feb 2006 16:52:28 -0800
parents 393b53af008e
children 287a588f2852
line wrap: on
line source

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 equalizer.c http.c \
	dxhead.c \
	id3.c id3_frame.c id3_frame_content.c id3_frame_text.c \
	id3_frame_url.c id3_tag.c decode.c dct64.c

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

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

LIBADD = $(GTK_LIBS) $(ID3LIBS)

libmpg123.so: $(OBJECTS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(LIBADD) -shared $(OBJECTS) -o $@