mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-14 21:18:07 +02:00
Since the API has not changed at this point, this is mostly just a matter of updating Makefiles, and changing references to the library name in comments. NetworkManager cannot link to libnm due to the duplicated type/symbol names. So it links to libnm-core.la directly, which means that NetworkManager gets a separate copy of that code from libnm.so. Everything else links to libnm.
37 lines
768 B
Makefile
37 lines
768 B
Makefile
if ENABLE_TESTS
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/libnm-core \
|
|
-I$(top_builddir)/libnm-core \
|
|
-I$(top_srcdir)/callouts \
|
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
|
$(GLIB_CFLAGS) \
|
|
$(DBUS_CFLAGS)
|
|
|
|
noinst_PROGRAMS = \
|
|
test-dispatcher-envp
|
|
|
|
####### dispatcher envp #######
|
|
|
|
test_dispatcher_envp_SOURCES = \
|
|
test-dispatcher-envp.c
|
|
|
|
test_dispatcher_envp_LDADD = \
|
|
$(top_builddir)/libnm/libnm.la \
|
|
$(top_builddir)/callouts/libtest-dispatcher-envp.la \
|
|
$(GLIB_LIBS) \
|
|
$(DBUS_LIBS)
|
|
|
|
###########################################
|
|
|
|
check-local: test-dispatcher-envp
|
|
$(abs_builddir)/test-dispatcher-envp $(abs_srcdir)
|
|
|
|
EXTRA_DIST= \
|
|
dispatcher-old-down \
|
|
dispatcher-old-up \
|
|
dispatcher-old-vpn-down \
|
|
dispatcher-old-vpn-up
|
|
|
|
endif
|