view libaudacious/Makefile @ 1870:ef9a2f666404 trunk

[svn] - rename libaudacious/Makefile.in -> libaudacious/Makefile as autoconf macro expansion is not needed here
author nenolod
date Sat, 14 Oct 2006 11:33:25 -0700
parents libaudacious/Makefile.in@5573c40b3fb2
children 3a77efe38b8a
line wrap: on
line source

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

PICLDFLAGS = $(LIBLDFLAGS)

beepincludedir = $(includedir)/audacious

OBJECTIVE_LIBS = libaudacious$(SHARED_SUFFIX)
OBJECTIVE_SONAME_SUFFIX = 3.0.0

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

CFLAGS += $(PICFLAGS) \
	$(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 \
	formatter.h titlestring.h xentry.h xconvert.h xml_document.h

include ../mk/objective.mk

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