changeset 1856:4c500c11f168

smb: MK2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 14:28:35 -0500
parents 56a0c3edc410
children 7f69b8ba3b9a
files src/smb/Makefile
diffstat 1 files changed, 9 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/smb/Makefile	Mon Sep 24 14:26:42 2007 -0500
+++ b/src/smb/Makefile	Mon Sep 24 14:28:35 2007 -0500
@@ -1,14 +1,12 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = smb$(PLUGIN_SUFFIX)
+plugindir = audacious/$(TRANSPORT_PLUGIN_DIR)
 
-OBJECTIVE_LIBS = libsmb$(SHARED_SUFFIX)
+SRCS = smb.c
 
-LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) -lsmbclient
+include ../../buildsys.mk
+include ../../extra.mk
 
-SOURCES = smb.c
-OBJECTS = ${SOURCES:.c=.o}
-
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
-
-include ../../mk/objective.mk
+CFLAGS += $(PLUGIN_CFLAGS)
+CPPFLAGS += $(PLUGIN_CPPFLAGS) $(MOWGLI_CFLAGS) $(DBUS_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) \
+	-I../../intl -I../.. -Wall
+LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(XML_LIBS) -lsmbclient