view src/madplug/Makefile @ 635:4b022820566b trunk

[svn] - add rpath to make sure that plugins pick libid3tag up from libdir.
author yaz
date Sun, 11 Feb 2007 06:22:20 -0800
parents 65606ed19c76
children 8f7a5883e08c
line wrap: on
line source

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

OBJECTIVE_LIBS = libmadplug$(SHARED_SUFFIX)

LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)

SOURCES = \
  configure.c \
  dither.c \
  input.c \
  replaygain.c \
  decoder.c \
  fileinfo.c \
  plugin.c \
  xing.c

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

CFLAGS   += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) $(MAD_CFLAGS) -I../../intl -I../..

LDFLAGS += -Wl,-rpath=$(libdir)

LIBADD = -L$(libdir) -lid3tag $(MAD_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)

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