view libaudacious/Makefile.in @ 727:c331d6c6880a trunk

[svn] - gconf
author nenolod
date Mon, 27 Feb 2006 06:34:58 -0800
parents b50d5337a8ce
children 1b3adae291b3
line wrap: on
line source

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

beepincludedir = $(includedir)/audacious

OBJECTIVE_LIBS = libaudacious.so
OBJECTIVE_LIBS_NOINST = libaudacious.a

LDFLAGS = -Wl,-export-dynamic

libaudacious_la_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

SOURCES = \
	$(CONF_SRC) \
	rcfile.c \
	$(VFS_SRC) \
	configfile.c \
	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 \
	configfile.h \
	beepctrl.h dirbrowser.h util.h \
	formatter.h titlestring.h xml_document.h

install-posthook:
	@echo [adding versioning information to libaudacious]
	@mv -f ${DESTDIR}/${LIBDIR}/libaudacious.so \
		${DESTDIR}/${LIBDIR}/libaudacious.so.2.0.0
	@ln -sf ${DESTDIR}/${LIBDIR}/libaudacious.so.2.0.0 \
		${DESTDIR}/${LIBDIR}/libaudacious.so.2
	@ln -sf ${DESTDIR}/${LIBDIR}/libaudacious.so.2.0.0 \
		${DESTDIR}/${LIBDIR}/libaudacious.so