Mercurial > audlegacy
diff src/libaudclient/Makefile @ 2713:8f7da5257692 trunk
[svn] - rename to libaudclient
- enforce libaudclient.so.1
author | nenolod |
---|---|
date | Wed, 09 May 2007 14:40:01 -0700 |
parents | src/libaudaciousng/Makefile@c35913222440 |
children | 9ddf21ab5c84 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/libaudclient/Makefile Wed May 09 14:40:01 2007 -0700 @@ -0,0 +1,42 @@ +include ../../mk/rules.mk +include ../../mk/init.mk + +PICLDFLAGS = $(LIBLDFLAGS) + +OBJECTIVE_LIBS = libaudclient$(SHARED_SUFFIX) +OBJECTIVE_SONAME_SUFFIX = 1 +LIBAUDACIOUS_SUFFIX = 1.0.0 + +LIBADD = \ + $(GTK_LIBS) \ + $(DBUS_LIBS) \ + $(MOWGLI_LIBS) \ + $(GCONF_LIBS) \ + $(LIBMCS_LIBS) + +CFLAGS += $(PICFLAGS) \ + $(MOWGLI_CFLAGS) \ + $(GTK_CFLAGS) \ + $(GCONF_CFLAGS) \ + $(DBUS_CFLAGS) \ + $(LIBMCS_CFLAGS) \ + -D_AUDACIOUS_CORE \ + -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)