Mercurial > audlegacy
diff src/audacious/Makefile @ 3656:db04d0916c22
implib for ${PROG} should finally work.
author | Jonathan Schleifer <js@h3c.de> |
---|---|
date | Thu, 27 Sep 2007 21:25:58 +0200 |
parents | 047829635612 |
children | e83412963c51 |
line wrap: on
line diff
--- a/src/audacious/Makefile Thu Sep 27 23:27:30 2007 +0900 +++ b/src/audacious/Makefile Thu Sep 27 21:25:58 2007 +0200 @@ -153,14 +153,11 @@ ui/playlist.ui \ ui/carbon-menubar.ui -CLEAN = build_stamp.c -EXT_DEPS += ../libguess/libguess.a +CLEAN = build_stamp.c libaudacious.exe.a +EXT_DEPS = ../libguess/libguess.a include ../../buildsys.mk -LDFLAGS += ${EXPORTDYN} -LIBS += ${LDADD} - ifdef USE_DBUS CPPFLAGS += -I../libaudclient DBUS_BINDINGS = dbus-server-bindings.h dbus-client-bindings.h @@ -183,7 +180,8 @@ -I.. -I../.. \ -I./intl -LIBS += ${LIBINTL} \ +LIBS += ${LDADD} \ + ${LIBINTL} \ ${samplerate_LIBS} \ ../libguess/libguess.a \ ${GTK_LIBS} \ @@ -193,7 +191,7 @@ ${LIBGLADE_LIBS} \ ${REGEX_LIBS} -LDFLAGS += ${PROG_IMPLIB_LDFLAGS} +LDFLAGS += ${EXPORTDYN} ${PROG_IMPLIB_LDFLAGS} build_stamp.c: if [ -d ../../.hg ]; then \ @@ -218,4 +216,22 @@ dbus-client-bindings.h: ${DBUS_BINDINGS_SOURCES} ${DBUS_BINDING_TOOL} --mode=glib-client --prefix=audacious_rc objects.xml > $@ -OBJECTIVE_DATA = audacious.desktop:${datadir}/applications +install-extra: + for i in audacious.desktop; do \ + ${INSTALL_STATUS}; \ + if ${MKDIR_P} ${DESTDIR}${libdir} && install -m 644 $$i ${DESTDIR}${datadir}/applications/$$i; then \ + ${INSTALL_OK}; \ + else \ + ${INSTALL_FAILED}; \ + fi \ + done + if test x"${PROG_NEED_IMPLIB}" = x"1"; then \ + for i in ${LIB}; do \ + ${INSTALL_STATUS}; \ + if ${MKDIR_P} ${DESTDIR}${libdir} && install -m 644 $$i ${DESTDIR}${libdir}/$$i; then \ + ${INSTALL_OK}; \ + else \ + ${INSTALL_FAILED}; \ + fi \ + done \ + fi