mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 20:40:06 +01:00
We were setting GLIB_VERSION_MAX_ALLOWED to 2.34, since we provide reimplementations of a few 2.34 functions in nm-glib-compat.h. But this was turning off warnings for the 2.34+ APIs we *didn't* have compat versions of too. Fix this by setting MAX_ALLOWED to 2.32 (same as MIN_REQUIRED), and defining macros to wrap calls to compat-ified functions and disable deprecation warnings around them. This points out several places where we were accidentally using 2.34 APIs without noticing, which need to be fixed now.
65 lines
1.2 KiB
Makefile
65 lines
1.2 KiB
Makefile
include $(GLIB_MAKEFILE)
|
|
|
|
SUBDIRS = \
|
|
. \
|
|
include \
|
|
libnm-util \
|
|
libnm-glib \
|
|
introspection \
|
|
src \
|
|
callouts \
|
|
cli \
|
|
tui \
|
|
tools \
|
|
policy \
|
|
data \
|
|
test \
|
|
po \
|
|
docs \
|
|
man \
|
|
examples \
|
|
vapi
|
|
|
|
@GNOME_CODE_COVERAGE_RULES@
|
|
|
|
EXTRA_DIST = \
|
|
CONTRIBUTING \
|
|
NetworkManager.pc.in \
|
|
intltool-extract.in \
|
|
intltool-merge.in \
|
|
intltool-update.in \
|
|
Makefile.glib \
|
|
autogen.sh \
|
|
valgrind.suppressions
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = \
|
|
--enable-tests=yes \
|
|
--with-valgrind=no \
|
|
--enable-gtk-doc \
|
|
--enable-more-warnings=yes \
|
|
--with-udev-dir=$$dc_install_base/lib/udev \
|
|
--with-wext=no \
|
|
--enable-ifcfg-rh \
|
|
--enable-ifcfg-suse \
|
|
--enable-ifupdown \
|
|
--enable-ifnet
|
|
|
|
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = NetworkManager.pc
|
|
|
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
|
|
|
CLEANFILES = cscope.in.out cscope.out cscope.po.out
|
|
|
|
cscope:
|
|
cscope -b -q -R -Iinclude -ssrc -slibnm-glib -slibnm-util -scli/src;
|
|
|
|
libgsystem_srcpath := libgsystem
|
|
libgsystem_cflags := $(filter-out -DGLIB_VERSION%,$(GLIB_CFLAGS)) -I$(srcdir)/libgsystem
|
|
libgsystem_libs = $(GLIB_LIBS)
|
|
include libgsystem/Makefile-libgsystem.am
|
|
noinst_LTLIBRARIES = libgsystem.la
|
|
|
|
.PHONY: cscope
|