build: merge "src/dhcp-manager/Makefile.am" into toplevel Makefile

This commit is contained in:
Thomas Haller 2016-10-15 19:59:09 +02:00
parent b219eb19f1
commit 481d2165e9
2 changed files with 26 additions and 20 deletions

View file

@ -1472,6 +1472,31 @@ EXTRA_DIST += \
src/nm-test-utils-core.h \
src/NetworkManager.ver
###############################################################################
# src/dhcp-manager
###############################################################################
libexec_PROGRAMS += src/dhcp-manager/nm-dhcp-helper
src_dhcp_manager_nm_dhcp_helper_CPPFLAGS = \
$(GLIB_CFLAGS) \
-I$(top_srcdir)/shared \
-I${top_builddir}/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-DG_LOG_DOMAIN=\""nm-dhcp-helper"\" \
-DNMRUNDIR=\"$(nmrundir)\"
src_dhcp_manager_nm_dhcp_helper_SOURCES = \
src/dhcp-manager/nm-dhcp-helper.c \
src/dhcp-manager/nm-dhcp-helper-api.h \
$(NULL)
src_dhcp_manager_nm_dhcp_helper_LDFLAGS = \
-Wl,--version-script="$(srcdir)/linker-script-binary.ver"
src_dhcp_manager_nm_dhcp_helper_LDADD = $(GLIB_LIBS)
###############################################################################
girdir = $(datadir)/gir-1.0

View file

@ -1,20 +1 @@
libexec_PROGRAMS = nm-dhcp-helper
nm_dhcp_helper_SOURCES = \
nm-dhcp-helper.c \
nm-dhcp-helper-api.h \
$(NULL)
nm_dhcp_helper_CPPFLAGS = \
$(GLIB_CFLAGS) \
-I$(top_srcdir)/shared \
-I${top_builddir}/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-DG_LOG_DOMAIN=\""nm-dhcp-helper"\" \
-DNMRUNDIR=\"$(nmrundir)\"
nm_dhcp_helper_LDFLAGS = \
-Wl,--version-script="$(top_srcdir)/linker-script-binary.ver"
nm_dhcp_helper_LDADD = $(GLIB_LIBS)
SUBDIRS = tests