Mercurial > audlegacy
changeset 3586:ddb15c329985 trunk
Update audacious to latest rev of build system.
All projects are in sync with the buildsys once again :).
author | Jonathan Schleifer <js@h3c.de> |
---|---|
date | Fri, 21 Sep 2007 15:17:48 +0200 |
parents | d2cb9f990d2e |
children | ed6ec0e94afc |
files | buildsys.mk.in extra.mk.in m4/sharedlib.m4 src/audacious/Makefile src/libaudclient/Makefile |
diffstat | 5 files changed, 8 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/buildsys.mk.in Wed Sep 19 21:06:52 2007 +0300 +++ b/buildsys.mk.in Fri Sep 21 15:17:48 2007 +0200 @@ -61,7 +61,6 @@ includesubdir ?= ${PACKAGE} mandir = @mandir@ mansubdir ?= man1 -pkgdatadir = ${datadir}/${PACKAGE} OBJS1 = ${SRCS:.c=.o} OBJS2 = ${OBJS1:.cc=.o} @@ -70,10 +69,6 @@ OBJS5 = ${OBJS4:.erl=.beam} OBJS += ${OBJS5:.m=.o} -ifneq ($(strip $(prefix)),) - RPATH = -Wl,-rpath=${libdir} -endif - .SILENT: .SUFFIXES: .beam .c .cc .cxx .d .erl .m .PHONY: all subdirs depend install uninstall clean distclean @@ -87,9 +82,7 @@ ${DIR_LEAVE}; \ done -depend-hook: - -depend: depend-hook +depend: pre-depend regen=0; \ for i in ${SRCS}; do [ $$i -nt .deps ] && regen=1; done; \ if [ $$regen = 1 ]; then \ @@ -102,9 +95,11 @@ done; \ fi +pre-depend: + ${PROG} ${PROG_NOINST}: ${EXT_DEPS} ${OBJS} ${LINK_STATUS} - if ${LD} -o $@ ${OBJS} ${LDFLAGS} ${LIBS} ${RPATH}; then \ + if ${LD} -o $@ ${OBJS} ${LDFLAGS} ${LIBS}; then \ ${LINK_OK}; \ else \ ${LINK_FAILED}; \
--- a/extra.mk.in Wed Sep 19 21:06:52 2007 +0300 +++ b/extra.mk.in Fri Sep 21 15:17:48 2007 +0200 @@ -3,7 +3,6 @@ srcdir ?= @srcdir@ top_srcdir ?= @top_srcdir@ VPATH ?= @srcdir@ -pkgdatadir ?= $(datadir)/@PACKAGE@ pkglibdir ?= $(libdir)/@PACKAGE@ pkgincludedir ?= $(includedir)/@PACKAGE@ top_builddir ?= .
--- a/m4/sharedlib.m4 Wed Sep 19 21:06:52 2007 +0300 +++ b/m4/sharedlib.m4 Fri Sep 21 15:17:48 2007 +0200 @@ -53,7 +53,7 @@ AC_MSG_RESULT(Solaris) LIB_CPPFLAGS='-DPIC' LIB_CFLAGS='-fPIC' - LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}.${LIB_MINOR}' + LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}.${LIB_MINOR} -Wl,-R ${libdir}' LIB_PREFIX='lib' LIB_SUFFIX='.so' PLUGIN_CPPFLAGS='-DPIC' @@ -81,7 +81,7 @@ AC_MSG_RESULT(POSIX) LIB_CPPFLAGS='-DPIC' LIB_CFLAGS='-fPIC' - LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}.${LIB_MINOR}.0' + LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}.${LIB_MINOR}.0 -Wl,-R ${libdir}' LIB_PREFIX='lib' LIB_SUFFIX='.so' PLUGIN_CPPFLAGS='-DPIC'
--- a/src/audacious/Makefile Wed Sep 19 21:06:52 2007 +0300 +++ b/src/audacious/Makefile Fri Sep 21 15:17:48 2007 +0200 @@ -166,7 +166,7 @@ LIBS += -L../libaudclient -laudclient endif -depend-hook: ${DBUS_BINDINGS} +pre-depend: ${DBUS_BINDINGS} CPPFLAGS += -DHAVE_CONFIG_H \ ${MOWGLI_CFLAGS} \
--- a/src/libaudclient/Makefile Wed Sep 19 21:06:52 2007 +0300 +++ b/src/libaudclient/Makefile Fri Sep 21 15:17:48 2007 +0200 @@ -9,7 +9,7 @@ include ../../buildsys.mk include ../../extra.mk -depend-hook: +pre-depend: cd ../audacious; make dbus-client-bindings.h CPPFLAGS = ${LIB_CPPFLAGS} ${CFLAGS} -D_AUDACIOUS_CORE -I.. -I../.. -I../intl