Mercurial > audlegacy
diff src/libaudclient/Makefile @ 3535:9ddf21ab5c84 trunk
Transit to Mk2.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Mon, 17 Sep 2007 13:10:19 -0500 |
parents | 8f7da5257692 |
children | 625af2797f35 |
line wrap: on
line diff
--- a/src/libaudclient/Makefile Sat Sep 15 11:07:24 2007 +0200 +++ b/src/libaudclient/Makefile Mon Sep 17 13:10:19 2007 -0500 @@ -1,20 +1,26 @@ -include ../../mk/rules.mk -include ../../mk/init.mk +include ../../extra.mk -PICLDFLAGS = $(LIBLDFLAGS) +LIB = ${LIB_PREFIX}audclient${LIB_SUFFIX} +LIB_MAJOR = 1 +LIB_MINOR = 0 + +SRCS = audctrl.c -OBJECTIVE_LIBS = libaudclient$(SHARED_SUFFIX) -OBJECTIVE_SONAME_SUFFIX = 1 -LIBAUDACIOUS_SUFFIX = 1.0.0 +INCLUDES = audctrl.h + +include ../../buildsys.mk -LIBADD = \ - $(GTK_LIBS) \ +depend-hook: + cd ../audacious; make dbus-client-bindings.h + +LIBS += \ + $(GLIB_LIBS) \ $(DBUS_LIBS) \ $(MOWGLI_LIBS) \ $(GCONF_LIBS) \ $(LIBMCS_LIBS) -CFLAGS += $(PICFLAGS) \ +CFLAGS += $(LIB_CFLAGS) \ $(MOWGLI_CFLAGS) \ $(GTK_CFLAGS) \ $(GCONF_CFLAGS) \ @@ -24,19 +30,4 @@ -I.. -I../.. \ -I../intl -SOURCES = \ - audctrl.c - -OBJECTS = ${SOURCES:.c=.o} - -HEADERS = \ - audctrl.h - -include ../../mk/objective.mk - -install-posthook: - @mv ${DESTDIR}/${LIBDIR}/libaudclient$(SHARED_SUFFIX) ${DESTDIR}/${LIBDIR}/libaudclient$(SHARED_SUFFIX).$(LIBAUDACIOUS_SUFFIX) - @ln -sf libaudclient$(SHARED_SUFFIX).$(LIBAUDACIOUS_SUFFIX) \ - ${DESTDIR}/${LIBDIR}/libaudclient$(SHARED_SUFFIX).1 - @ln -sf libaudclient$(SHARED_SUFFIX).1 \ - ${DESTDIR}/${LIBDIR}/libaudclient$(SHARED_SUFFIX) +CPPFLAGS = ${CFLAGS}