NetworkManager/marshallers/Makefile.am
Dan Williams 73659e724c makefile cleanups
0.7 requires dbus 1.1 or greater (for system bus activation), so make that
explicit, and remove compat code for D-Bus 0.6 and earlier.  Consolidate
the various glib pkgconfig checks into one, since most anything will require
gthread, glib, and gobject anyway.  Fixup the docs makefile to be more
automake-compatible and let 'make clean' actually work correctly when
docs are built.
2009-02-15 11:20:25 -05:00

28 lines
537 B
Makefile

noinst_LTLIBRARIES = libmarshallers.la
BUILT_SOURCES = \
nm-marshal.h \
nm-marshal.c
libmarshallers_la_SOURCES = \
nm-marshal-main.c
libmarshallers_la_CPPFLAGS = \
$(GLIB_CFLAGS) \
-DG_DISABLE_DEPRECATED
libmarshallers_la_LIBADD = $(GLIB_LIBS)
EXTRA_DIST = nm-marshal.list
CLEANFILES = $(BUILT_SOURCES)
nm-marshal.h: nm-marshal.list
$(GLIB_GENMARSHAL) $< --prefix=_nm_marshal --header > $@
nm-marshal.c: nm-marshal.list
$(GLIB_GENMARSHAL) $< --prefix=_nm_marshal --body > $@
nm-marshal-main.c: nm-marshal.c nm-marshal.h