2012-11-05 11:35:34 +01:00
|
|
|
SUBDIRS = . tests
|
2011-05-02 22:38:51 -05:00
|
|
|
|
2013-08-22 10:47:21 -04:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
|
-I${top_srcdir}/include \
|
|
|
|
|
-I${top_builddir}/include \
|
|
|
|
|
-I${top_srcdir}/libnm-util \
|
|
|
|
|
-I${top_builddir}/libnm-util \
|
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
|
$(DBUS_CFLAGS) \
|
2014-02-12 12:28:52 -05:00
|
|
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
2013-08-22 10:47:21 -04:00
|
|
|
-DNMCONFDIR=\"$(nmconfdir)\" \
|
|
|
|
|
-DSYSCONFDIR=\"$(sysconfdir)\" \
|
|
|
|
|
-DLIBEXECDIR=\"$(libexecdir)\"
|
|
|
|
|
|
2011-05-02 22:38:51 -05:00
|
|
|
###########################################
|
|
|
|
|
# Test libraries
|
|
|
|
|
###########################################
|
|
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = \
|
|
|
|
|
libtest-dispatcher-envp.la
|
|
|
|
|
|
|
|
|
|
|
2007-08-12 15:21:15 +00:00
|
|
|
dbusservicedir = $(DBUS_SYS_DIR)
|
2008-04-27 14:30:06 +00:00
|
|
|
dbusservice_DATA = \
|
2008-07-09 14:05:49 +00:00
|
|
|
nm-dispatcher.conf \
|
|
|
|
|
nm-avahi-autoipd.conf
|
2007-08-12 15:21:15 +00:00
|
|
|
|
2008-04-27 14:30:06 +00:00
|
|
|
libexec_PROGRAMS = \
|
2008-07-09 14:05:49 +00:00
|
|
|
nm-dispatcher.action \
|
|
|
|
|
nm-avahi-autoipd.action
|
2007-08-12 15:21:15 +00:00
|
|
|
|
2008-04-27 14:30:06 +00:00
|
|
|
|
2008-07-09 14:05:49 +00:00
|
|
|
nm_avahi_autoipd_action_SOURCES = \
|
|
|
|
|
nm-avahi-autoipd-action.c
|
|
|
|
|
|
|
|
|
|
nm_avahi_autoipd_action_LDADD = \
|
|
|
|
|
$(DBUS_LIBS) \
|
2009-02-15 11:20:25 -05:00
|
|
|
$(GLIB_LIBS)
|
2008-07-09 14:05:49 +00:00
|
|
|
|
|
|
|
|
|
2008-04-27 14:30:06 +00:00
|
|
|
nm_dispatcher_action_SOURCES = \
|
|
|
|
|
nm-dispatcher-action.c \
|
2011-05-02 22:38:51 -05:00
|
|
|
nm-dispatcher-action.h \
|
|
|
|
|
nm-dispatcher-utils.c \
|
|
|
|
|
nm-dispatcher-utils.h
|
2008-04-27 14:30:06 +00:00
|
|
|
|
|
|
|
|
nm_dispatcher_action_LDADD = \
|
2009-08-20 12:31:17 -05:00
|
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
|
|
|
$(DBUS_LIBS) \
|
|
|
|
|
$(GLIB_LIBS)
|
2008-04-27 14:30:06 +00:00
|
|
|
|
|
|
|
|
nm-dispatcher-glue.h: nm-dispatcher.xml
|
2010-08-03 12:58:46 -07:00
|
|
|
$(AM_V_GEN) dbus-binding-tool --prefix=nm_dispatcher --mode=glib-server --output=$@ $<
|
2008-04-27 14:30:06 +00:00
|
|
|
|
2011-05-02 22:38:51 -05:00
|
|
|
###########################################
|
|
|
|
|
# dispatcher envp
|
|
|
|
|
###########################################
|
|
|
|
|
|
|
|
|
|
libtest_dispatcher_envp_la_SOURCES = \
|
|
|
|
|
nm-dispatcher-utils.c \
|
|
|
|
|
nm-dispatcher-utils.h
|
|
|
|
|
|
|
|
|
|
libtest_dispatcher_envp_la_CPPFLAGS = \
|
2013-08-22 10:47:21 -04:00
|
|
|
$(AM_CPPFLAGS)
|
2011-05-02 22:38:51 -05:00
|
|
|
|
|
|
|
|
libtest_dispatcher_envp_la_LIBADD = \
|
|
|
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
|
|
|
$(GLIB_LIBS) \
|
|
|
|
|
$(DBUS_LIBS)
|
|
|
|
|
|
|
|
|
|
|
2009-08-05 16:34:02 -04:00
|
|
|
udevrulesdir = $(UDEV_BASE_DIR)/rules.d
|
|
|
|
|
udevrules_DATA = 77-nm-olpc-mesh.rules
|
|
|
|
|
|
2008-05-01 10:11:14 +00:00
|
|
|
dbusactivationdir = $(datadir)/dbus-1/system-services
|
|
|
|
|
dbusactivation_in_files = org.freedesktop.nm_dispatcher.service.in
|
|
|
|
|
dbusactivation_DATA = $(dbusactivation_in_files:.service.in=.service)
|
|
|
|
|
|
|
|
|
|
%.service: %.service.in
|
|
|
|
|
$(edit) $< >$@
|
|
|
|
|
|
|
|
|
|
edit = @sed \
|
|
|
|
|
-e 's|@sbindir[@]|$(sbindir)|g' \
|
|
|
|
|
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
|
|
|
|
|
-e 's|@localstatedir[@]|$(localstatedir)|g' \
|
|
|
|
|
-e 's|@libexecdir[@]|$(libexecdir)|g'
|
2008-04-27 14:30:06 +00:00
|
|
|
|
2008-08-17 22:54:49 +00:00
|
|
|
dispatcherdir=$(sysconfdir)/NetworkManager/dispatcher.d
|
|
|
|
|
install-data-hook:
|
|
|
|
|
$(mkinstalldirs) -m 0755 $(DESTDIR)$(dispatcherdir)
|
|
|
|
|
|
2008-04-27 14:30:06 +00:00
|
|
|
BUILT_SOURCES = nm-dispatcher-glue.h
|
|
|
|
|
|
2008-05-01 10:11:14 +00:00
|
|
|
CLEANFILES = $(BUILT_SOURCES) $(dbusactivation_DATA)
|
2008-04-27 14:30:06 +00:00
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
|
$(dbusservice_DATA) \
|
2009-08-05 16:34:02 -04:00
|
|
|
$(udevrules_DATA) \
|
2008-05-01 10:11:14 +00:00
|
|
|
$(dbusactivation_in_files) \
|
2008-04-27 14:30:06 +00:00
|
|
|
nm-dispatcher.xml
|
2007-08-12 15:21:15 +00:00
|
|
|
|