comparison src/libaudacious/Makefile @ 2313:3149d4b1a9a9 trunk

[svn] - objective-make autodepend fixes - move all sourcecode into src/ and adjust Makefiles accordingly
author nenolod
date Fri, 12 Jan 2007 11:43:40 -0800
parents
children 0b98ad8c8b17
comparison
equal deleted inserted replaced
2312:e1a5a66fb9cc 2313:3149d4b1a9a9
1 include ../../mk/rules.mk
2 include ../../mk/init.mk
3
4 PICLDFLAGS = $(LIBLDFLAGS)
5
6 beepincludedir = $(includedir)/audacious
7
8 OBJECTIVE_LIBS = libaudacious$(SHARED_SUFFIX)
9 OBJECTIVE_SONAME_SUFFIX = 4
10
11 LIBADD = \
12 $(GTK_LIBS) \
13 $(GCONF_LIBS)
14
15 CFLAGS += $(PICFLAGS) \
16 $(GTK_CFLAGS) \
17 $(GCONF_CFLAGS) \
18 -D_AUDACIOUS_CORE \
19 -I.. -I../.. \
20 -I../intl
21
22 CONF_SRC = configdb_$(CONFIGDB_BACKEND).c
23
24 SOURCES = \
25 $(CONF_SRC) \
26 rcfile.c \
27 beepctrl.c \
28 dirbrowser.c \
29 util.c \
30 formatter.c \
31 titlestring.c \
32 xconvert.c \
33 urldecode.c
34
35 OBJECTS = ${SOURCES:.c=.o}
36
37 HEADERS = \
38 rcfile.h configdb.h \
39 beepctrl.h dirbrowser.h urldecode.h \
40 formatter.h titlestring.h xconvert.h
41
42 include ../../mk/objective.mk
43
44 install-posthook:
45 @mv ${DESTDIR}/${LIBDIR}/libaudacious$(SHARED_SUFFIX) ${DESTDIR}/${LIBDIR}/libaudacious$(SHARED_SUFFIX).4.0.0
46 @ln -sf libaudacious$(SHARED_SUFFIX).4.0.0 \
47 ${DESTDIR}/${LIBDIR}/libaudacious$(SHARED_SUFFIX).4
48 @ln -sf libaudacious$(SHARED_SUFFIX).4 \
49 ${DESTDIR}/${LIBDIR}/libaudacious$(SHARED_SUFFIX)