view src/libaudacious/Makefile @ 2488:c5075a79f1aa trunk

[svn] make input->set_info overwrite tuple->track_name. it allows input plugins to update fileinfopopup along with meta data in a stream. it may incur side effects, please let me know if you find any problem.
author yaz
date Thu, 08 Feb 2007 07:00:02 -0800
parents 3ec22a11c83e
children 97a305e550cf
line wrap: on
line source

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

PICLDFLAGS = $(LIBLDFLAGS)

OBJECTIVE_LIBS = libaudacious$(SHARED_SUFFIX)
OBJECTIVE_SONAME_SUFFIX = 4

LIBADD = \
	$(GTK_LIBS) \
	$(GCONF_LIBS) \
	$(LIBMCS_LIBS)

CFLAGS += $(PICFLAGS) \
	$(GTK_CFLAGS) \
	$(GCONF_CFLAGS) \
	$(LIBMCS_CFLAGS) \
	-D_AUDACIOUS_CORE \
	-I.. -I../.. \
	-I../intl

CONF_SRC = configdb_$(CONFIGDB_BACKEND).c

SOURCES = \
	$(CONF_SRC) \
	rcfile.c \
	beepctrl.c

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

HEADERS = \
	rcfile.h \
	configdb.h \
	beepctrl.h

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

install-posthook:
	@mv ${DESTDIR}/${LIBDIR}/libaudacious$(SHARED_SUFFIX) ${DESTDIR}/${LIBDIR}/libaudacious$(SHARED_SUFFIX).4.0.0
	@ln -sf libaudacious$(SHARED_SUFFIX).4.0.0 \
		${DESTDIR}/${LIBDIR}/libaudacious$(SHARED_SUFFIX).4
	@ln -sf libaudacious$(SHARED_SUFFIX).4 \
		${DESTDIR}/${LIBDIR}/libaudacious$(SHARED_SUFFIX)