mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-22 08:00:06 +01: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.
22 lines
459 B
Makefile
22 lines
459 B
Makefile
SUBDIRS = cli tui
|
|
|
|
AM_CPPFLAGS = \
|
|
-I${top_srcdir}/shared \
|
|
-I$(top_builddir)/shared \
|
|
-I${top_srcdir}/libnm-core \
|
|
-I${top_builddir}/libnm-core \
|
|
-I${top_srcdir}/libnm \
|
|
-I${top_builddir}/libnm \
|
|
$(GLIB_CFLAGS) \
|
|
-DNMLOCALEDIR=\"$(datadir)/locale\"
|
|
|
|
bin_PROGRAMS = nm-online
|
|
|
|
nm_online_SOURCES = nm-online.c
|
|
nm_online_CPPFLAGS = \
|
|
-DG_LOG_DOMAIN=\""nm-online"\" \
|
|
$(AM_CPPFLAGS)
|
|
|
|
nm_online_LDADD = \
|
|
$(top_builddir)/libnm/libnm.la \
|
|
$(GLIB_LIBS)
|