view src/libaudacious/Makefile @ 2533:ab335d4391df trunk

[svn] - don't return a bogus vtable for an unregistered URI scheme
author nenolod
date Fri, 16 Feb 2007 18:27:31 -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)