view src/libaudacious/Makefile @ 2656:f6c8622ef240 trunk

[svn] - fixed c++ish declaration in a c file (part 3)
author giacomo
date Sat, 07 Apr 2007 05:08:36 -0700
parents a2afa6ca7294
children 982a825992e1
line wrap: on
line source

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

PICLDFLAGS = $(LIBLDFLAGS)

OBJECTIVE_LIBS = libaudacious$(SHARED_SUFFIX)
OBJECTIVE_SONAME_SUFFIX = 5
LIBAUDACIOUS_SUFFIX = 5.0.0

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

CFLAGS += $(PICFLAGS) \
	$(MOWGLI_CFLAGS) \
	$(GTK_CFLAGS) \
	$(GCONF_CFLAGS) \
	$(LIBMCS_CFLAGS) \
	-D_AUDACIOUS_CORE \
	-I.. -I../.. \
	-I../intl

SOURCES = \
	configdb.c \
	beepctrl.c

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

HEADERS = \
	configdb.h \
	beepctrl.h

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

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