diff src/bluetooth/Makefile @ 2936:a5cb0e914df6

remove marshal.c and marshal.h; generate those during building instead
author Tomasz Mon <desowin@gmail.com>
date Wed, 17 Sep 2008 12:01:25 +0200
parents acfa92d9ff5e
children
line wrap: on
line diff
--- a/src/bluetooth/Makefile	Sat Sep 06 01:58:02 2008 +0300
+++ b/src/bluetooth/Makefile	Wed Sep 17 12:01:25 2008 +0200
@@ -3,6 +3,14 @@
 SRCS = bluetooth.c gui.c marshal.c scan_gui.c agent.c
 include ../../buildsys.mk
 include ../../extra.mk
+
+pre-depend: marshal.h
+
+marshal.h:
+	glib-genmarshal --prefix=marshal --header marshal.list > $@
+marshal.c:
+	glib-genmarshal --prefix=marshal --body marshal.list > $@
+
 plugindir := ${plugindir}/${GENERAL_PLUGIN_DIR}
 CFLAGS += ${PLUGIN_CFLAGS}
 CPPFLAGS += ${PLUGIN_CPPFLAGS} ${BEEP_DEFINES} ${MOWGLI_CFLAGS} ${DBUS_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${DBUS_GLIB_CFLAGS} ${PANGO_CFLAGS} -I../../intl -I../.. ${BLUEZ_CFLAGS}