view libaudacious/Makefile.in @ 1621:fae6e0cfcc77 trunk

[svn] - Reapply r2161
author nhjm449
date Tue, 05 Sep 2006 19:57:18 -0700
parents 3de4bd38fe4f
children 79891e2fd8a5
line wrap: on
line source

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

beepincludedir = $(includedir)/audacious

OBJECTIVE_LIBS = libaudacious.so
OBJECTIVE_SONAME_SUFFIX = 3.0.0

LDFLAGS += -Wl,-export-dynamic

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

CFLAGS += -fPIC -DPIC \
	$(GTK_CFLAGS)        \
	$(GCONF_CFLAGS)      \
	$(GNOMEVFS_CFLAGS)   \
	-I..		      \
	-I../intl

CONF_SRC = configdb_$(CONFIGDB_BACKEND).c
VFS_SRC = vfs_$(VFS_BACKEND).c vfs_common.c

SOURCES = \
	$(CONF_SRC) \
	rcfile.c \
	$(VFS_SRC) \
	beepctrl.c \
	dirbrowser.c \
	util.c \
	formatter.c \
	titlestring.c \
	xentry.c \
	xconvert.c \
	xml_document.c

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

HEADERS = \
	vfs.h rcfile.h configdb.h \
	beepctrl.h dirbrowser.h util.h \
	formatter.h titlestring.h xml_document.h

include ../mk/objective.mk

install-posthook:
	@mv ${DESTDIR}/${LIBDIR}/libaudacious.so ${DESTDIR}/${LIBDIR}/libaudacious.so.3.0.0
	@ln -sf ${LIBDIR}/libaudacious.so.3.0.0 \
		${DESTDIR}/${LIBDIR}/libaudacious.so.3
	@ln -sf ${LIBDIR}/libaudacious.so.3 \
		${DESTDIR}/${LIBDIR}/libaudacious.so