mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 05:40:11 +01:00
This fixes up the code from the previous "clean" import, and adds build infrastructure. [There are two slightly orthogonal sets of changes in this patch. First, the files added in the previous commit were modified as followed: # Replace internal references to "libnm-util" and "libnm-glib" with "libnm" perl -pi -e 's/libnm-(util|glib)/libnm/;' libnm-core/*.[ch] libnm-core/tests/*.[ch] libnm/*.[ch] libnm/tests/*.[ch] # Fix includes of the enum-types files perl -pi -e 's/nm-utils-enum-types/nm-core-enum-types/;' libnm-core/*.[ch] libnm-core/tests/*.[ch] libnm/*.[ch] libnm/tests/*.[ch] perl -pi -e 's/nm-glib-enum-types/nm-enum-types/;' libnm/*.[ch] libnm/tests/*.[ch] # Fix some python example code perl -pi -e 's/import NMClient/import NM/;' -e 's/NMClient.Client\(\)/NM.Client()/;' libnm/nm-client.c Then, the build infrastructure was added (without further modifying any existing files in libnm-core or libnm.) Note: to regenerate libnm.ver after rebase: (head -2 libnm-util/libnm-util.ver; (grep -h '\s'nm_ libnm-util/libnm-util.ver libnm-glib/libnm-glib.ver | env LANG=C sort); tail -3 libnm-util/libnm-util.ver) > libnm/libnm.ver ]
69 lines
1.2 KiB
Makefile
69 lines
1.2 KiB
Makefile
include $(GLIB_MAKEFILE)
|
|
|
|
SUBDIRS = \
|
|
. \
|
|
include \
|
|
libnm-core \
|
|
libnm \
|
|
libnm-util \
|
|
libnm-glib \
|
|
introspection \
|
|
src \
|
|
callouts \
|
|
clients \
|
|
tools \
|
|
policy \
|
|
data \
|
|
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
|
|
|
|
if BUILD_SETTING_DOCS
|
|
dist-check-setting-docs:
|
|
else
|
|
dist-check-setting-docs:
|
|
@echo "*** gobject-introspection and pygobject are needed to run 'make dist'. ***"
|
|
@false
|
|
endif
|
|
|
|
dist: dist-check-setting-docs
|
|
|
|
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;
|
|
|
|
.PHONY: cscope
|