mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 15:00:10 +01:00
This internal header file should be included by our internal source code files and header files. It includes in one place other headers that constitute to a minimal set of required headers. Most notably this is <glib.h> and our "nm-glib.h" header. Note that public header files and example source code cannot include this file as "nm-default.h" is internal only.
137 lines
3.3 KiB
Makefile
137 lines
3.3 KiB
Makefile
AM_CPPFLAGS = \
|
|
-I${top_srcdir} \
|
|
-I${top_srcdir}/include \
|
|
-I${top_srcdir}/src \
|
|
-I${top_builddir}/src \
|
|
-I${top_srcdir}/libnm-core \
|
|
-I${top_builddir}/libnm-core \
|
|
-I${srcdir}/.. \
|
|
-DG_LOG_DOMAIN=\""NetworkManager"\" \
|
|
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
|
$(GLIB_CFLAGS) \
|
|
$(GUDEV_CFLAGS) \
|
|
$(LIBNL_CFLAGS)
|
|
|
|
if REQUIRE_ROOT_TESTS
|
|
AM_CPPFLAGS += -DREQUIRE_ROOT_TESTS=1
|
|
endif
|
|
|
|
PLATFORM_SOURCES = \
|
|
../nm-platform.c \
|
|
../nm-fake-platform.c \
|
|
../nm-linux-platform.c
|
|
TEST_SOURCES = $(PLATFORM_SOURCES) test-common.c test-common.h
|
|
AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
|
|
AM_LDFLAGS = $(GLIB_LIBS) $(GUDEV_LIBS) $(LIBNL_LIBS) $(CODE_COVERAGE_LDFLAGS)
|
|
PLATFORM_LDADD = \
|
|
$(top_builddir)/src/libNetworkManager.la
|
|
|
|
@GNOME_CODE_COVERAGE_RULES@
|
|
|
|
noinst_PROGRAMS = \
|
|
dump \
|
|
monitor \
|
|
platform \
|
|
test-link-fake \
|
|
test-link-linux \
|
|
test-address-fake \
|
|
test-address-linux \
|
|
test-general \
|
|
test-nmp-object \
|
|
test-route-fake \
|
|
test-route-linux \
|
|
test-cleanup-fake \
|
|
test-cleanup-linux
|
|
|
|
EXTRA_DIST = test-common.h
|
|
|
|
monitor_SOURCES = monitor.c $(PLATFORM_SOURCES)
|
|
monitor_LDADD = $(PLATFORM_LDADD)
|
|
|
|
dump_SOURCES = dump.c $(PLATFORM_SOURCES)
|
|
dump_LDADD = $(PLATFORM_LDADD)
|
|
|
|
platform_SOURCES = platform.c $(PLATFORM_SOURCES)
|
|
platform_LDADD = $(PLATFORM_LDADD)
|
|
|
|
test_link_fake_SOURCES = test-link.c $(TEST_SOURCES)
|
|
test_link_fake_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
-DSETUP=nm_fake_platform_setup \
|
|
-DKERNEL_HACKS=0
|
|
test_link_fake_LDADD = $(PLATFORM_LDADD)
|
|
|
|
test_link_linux_SOURCES = test-link.c $(TEST_SOURCES)
|
|
test_link_linux_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
-DSETUP=nm_linux_platform_setup \
|
|
-DKERNEL_HACKS=1
|
|
test_link_linux_LDADD = $(PLATFORM_LDADD)
|
|
|
|
test_address_fake_SOURCES = test-address.c $(TEST_SOURCES)
|
|
test_address_fake_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
-DSETUP=nm_fake_platform_setup \
|
|
-DKERNEL_HACKS=0
|
|
test_address_fake_LDADD = $(PLATFORM_LDADD)
|
|
|
|
test_address_linux_SOURCES = test-address.c $(TEST_SOURCES)
|
|
test_address_linux_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
-DSETUP=nm_linux_platform_setup \
|
|
-DKERNEL_HACKS=1
|
|
test_address_linux_LDADD = $(PLATFORM_LDADD)
|
|
|
|
test_route_fake_SOURCES = test-route.c $(TEST_SOURCES)
|
|
test_route_fake_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
-DSETUP=nm_fake_platform_setup \
|
|
-DKERNEL_HACKS=0
|
|
test_route_fake_LDADD = $(PLATFORM_LDADD)
|
|
|
|
test_route_linux_SOURCES = test-route.c $(TEST_SOURCES)
|
|
test_route_linux_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
-DSETUP=nm_linux_platform_setup \
|
|
-DKERNEL_HACKS=1
|
|
test_route_linux_LDADD = $(PLATFORM_LDADD)
|
|
|
|
test_cleanup_fake_SOURCES = test-cleanup.c $(TEST_SOURCES)
|
|
test_cleanup_fake_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
-DSETUP=nm_fake_platform_setup \
|
|
-DKERNEL_HACKS=0
|
|
test_cleanup_fake_LDADD = $(PLATFORM_LDADD)
|
|
|
|
test_cleanup_linux_SOURCES = test-cleanup.c $(TEST_SOURCES)
|
|
test_cleanup_linux_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
-DSETUP=nm_linux_platform_setup \
|
|
-DKERNEL_HACKS=1
|
|
test_cleanup_linux_LDADD = $(PLATFORM_LDADD)
|
|
|
|
test_nmp_object_SOURCES = \
|
|
test-nmp-object.c
|
|
test_nmp_object_LDADD = \
|
|
$(top_builddir)/src/libNetworkManager.la
|
|
|
|
test_general_SOURCES = \
|
|
test-general.c
|
|
test_general_LDADD = \
|
|
$(top_builddir)/src/libNetworkManager.la
|
|
|
|
|
|
@VALGRIND_RULES@
|
|
TESTS = \
|
|
test-address-fake \
|
|
test-address-linux \
|
|
test-cleanup-fake \
|
|
test-cleanup-linux \
|
|
test-general \
|
|
test-link-fake \
|
|
test-link-linux \
|
|
test-nmp-object \
|
|
test-route-fake \
|
|
test-route-linux
|
|
|