view 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 source

PLUGIN = bluetooth${PLUGIN_SUFFIX}

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}
LIBS += ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS} ${BLUEZ_LIBS}