view libaudacious++/Makefile @ 2118:36d4043b3df2 trunk

[svn] - add the starting point of some audacious C++ bindings
author nenolod
date Wed, 13 Dec 2006 22:46:29 -0800
parents
children
line wrap: on
line source

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

PICLDFLAGS = $(LIBLDFLAGS)

includedir = $(includedir)/audacious++

OBJECTIVE_LIBS = libaudacious++$(SHARED_SUFFIX)
OBJECTIVE_SONAME_SUFFIX = 1

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

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

SOURCES = configdb.cxx

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

HEADERS = configdb.hh

include ../mk/objective.mk

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