view libaudacious/Makefile @ 2167:92f063d73948 trunk

[svn] - run update-po - update welsh translation: 408 translated messages, 33 untranslated messages.
author nenolod
date Mon, 18 Dec 2006 11:59:00 -0800
parents e0e50e151bab
children 39358599a5d1
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 = 4

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

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

CONF_SRC = configdb_$(CONFIGDB_BACKEND).c

SOURCES = \
	$(CONF_SRC) \
	rcfile.c \
	beepctrl.c \
	dirbrowser.c \
	util.c \
	formatter.c \
	titlestring.c \
	xconvert.c \
	urldecode.c

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

HEADERS = \
	vfs.h vfs_buffer.h rcfile.h configdb.h \
	beepctrl.h dirbrowser.h urldecode.h \
	formatter.h titlestring.h xconvert.h

include ../mk/objective.mk

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