about summary refs log tree commit diff
path: root/src/ppp-manager/Makefile.am
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2010-11-29 00:47:11 +0100
committerMichael Biebl <biebl@debian.org>2010-11-29 00:47:11 +0100
commit9fae01fa351805b2903e535736e06971bc0b925e (patch)
treec19bccf84c9f894e50fae678ba6ee2b2044e2d30 /src/ppp-manager/Makefile.am
Imported Upstream version 0.8.1 upstream/0.8.1
Diffstat (limited to 'src/ppp-manager/Makefile.am')
-rw-r--r--src/ppp-manager/Makefile.am58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/ppp-manager/Makefile.am b/src/ppp-manager/Makefile.am
new file mode 100644
index 00000000..2dc7ad94
--- /dev/null
+++ b/src/ppp-manager/Makefile.am
@@ -0,0 +1,58 @@
+INCLUDES = \
+	-I${top_srcdir} \
+	-I${top_srcdir}/include \
+	-I${top_srcdir}/libnm-util \
+	-I${top_srcdir}/src \
+	-I${top_srcdir}/src/logging \
+	-I${top_builddir}/marshallers
+
+noinst_LTLIBRARIES = libppp-manager.la
+
+libppp_manager_la_SOURCES = \
+	nm-ppp-manager.c \
+	nm-ppp-manager.h \
+	nm-ppp-status.h
+
+nm-ppp-manager-glue.h: $(top_srcdir)/introspection/nm-ppp-manager.xml
+	dbus-binding-tool --prefix=nm_ppp_manager --mode=glib-server --output=$@ $<
+
+built_sources = nm-ppp-manager-glue.h
+
+$(libppp_manager_la_OBJECTS): $(built_sources)
+
+libppp_manager_la_CPPFLAGS = \
+	$(DBUS_CFLAGS) \
+	-DG_DISABLE_DEPRECATED \
+	-DSYSCONFDIR=\"$(sysconfdir)\" \
+	-DLIBDIR=\"$(libdir)\" \
+	-DPLUGINDIR=\"$(PPPD_PLUGIN_DIR)\"
+
+libppp_manager_la_LIBADD = \
+	$(top_builddir)/marshallers/libmarshallers.la \
+	$(top_builddir)/src/logging/libnm-logging.la \
+	$(DBUS_LIBS) \
+	$(GLIB_LIBS)
+
+pppd_plugindir = $(PPPD_PLUGIN_DIR)
+pppd_plugin_LTLIBRARIES = nm-pppd-plugin.la
+
+nm_pppd_plugin_la_SOURCES = \
+	nm-pppd-plugin.c \
+	nm-pppd-plugin.h \
+	nm-ppp-status.h
+
+nm_pppd_plugin_la_CPPFLAGS = \
+	$(DBUS_CFLAGS) \
+	$(GLIB_CFLAGS)
+
+nm_pppd_plugin_la_LDFLAGS = -module -avoid-version
+
+nm_pppd_plugin_la_LIBADD = \
+	$(top_builddir)/libnm-util/libnm-util.la \
+	$(DBUS_LIBS) \
+	$(GLIB_LIBS)
+
+BUILT_SOURCES = nm-ppp-manager-glue.h
+
+CLEANFILES = $(BUILT_SOURCES)
+