view libaudacious++/Makefile @ 2119:6d7381072a45 trunk

[svn] - fix example
author nenolod
date Wed, 13 Dec 2006 23:15:44 -0800
parents 36d4043b3df2
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)