mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-17 07:38:07 +02:00
For internal compilation we want to be able to use deprecated API without warnings. Define the version min/max macros to effectively disable deprecation warnings. However, don't do it via CFLAGS option in the makefiles, instead hack it to "nm-default.h". After all, *every* source file that is for internal compilation needs to include this header as first.
14 lines
344 B
Makefile
14 lines
344 B
Makefile
libexec_PROGRAMS = nm-dhcp-helper
|
|
|
|
nm_dhcp_helper_SOURCES = nm-dhcp-helper.c
|
|
|
|
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_LDADD = $(GLIB_LIBS)
|