Mercurial > audlegacy
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/libaudacious/Makefile Fri Jan 12 11:43:40 2007 -0800 @@ -0,0 +1,49 @@ +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../.. \ + -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 = \ + 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 libaudacious$(SHARED_SUFFIX).4.0.0 \ + ${DESTDIR}/${LIBDIR}/libaudacious$(SHARED_SUFFIX).4 + @ln -sf libaudacious$(SHARED_SUFFIX).4 \ + ${DESTDIR}/${LIBDIR}/libaudacious$(SHARED_SUFFIX)