mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 20:45:32 +00:00
22cc119da5
The file, imported from systemd sources, contains macros for accessing potentially unaligned data in a safe way (i.e. byte-wise).
127 lines
2.8 KiB
Makefile
127 lines
2.8 KiB
Makefile
include $(GLIB_MAKEFILE)
|
|
|
|
@GNOME_CODE_COVERAGE_RULES@
|
|
|
|
###############################################################################
|
|
|
|
SUBDIRS = \
|
|
. \
|
|
introspection \
|
|
libnm-core \
|
|
libnm \
|
|
src \
|
|
dispatcher \
|
|
clients \
|
|
tools \
|
|
data \
|
|
po \
|
|
man \
|
|
examples
|
|
|
|
if WITH_LEGACY_LIBRARIES
|
|
SUBDIRS += \
|
|
libnm-util \
|
|
libnm-glib
|
|
endif
|
|
|
|
SUBDIRS += \
|
|
docs \
|
|
vapi
|
|
|
|
###############################################################################
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = \
|
|
--enable-tests=yes \
|
|
--with-valgrind=no \
|
|
--enable-gtk-doc \
|
|
--enable-more-warnings=error \
|
|
--with-udev-dir=$$dc_install_base/lib/udev \
|
|
--with-wext=no \
|
|
--enable-ifcfg-rh \
|
|
--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
|
|
|
|
###############################################################################
|
|
|
|
polkit_policydir = $(datadir)/polkit-1/actions
|
|
|
|
dist_polkit_policy_in_in_files = \
|
|
policy/org.freedesktop.NetworkManager.policy.in.in
|
|
|
|
polkit_policy_DATA = $(dist_polkit_policy_in_in_files:.policy.in.in=.policy)
|
|
|
|
@INTLTOOL_POLICY_RULE@
|
|
|
|
DISTCLEANFILES += $(polkit_policy_DATA)
|
|
|
|
###############################################################################
|
|
|
|
EXTRA_DIST = \
|
|
CONTRIBUTING \
|
|
NetworkManager.pc.in \
|
|
intltool-extract.in \
|
|
intltool-merge.in \
|
|
intltool-update.in \
|
|
linker-script-binary.ver \
|
|
linker-script-devices.ver \
|
|
linker-script-settings.ver \
|
|
Makefile.glib \
|
|
autogen.sh \
|
|
valgrind.suppressions \
|
|
\
|
|
shared/nm-common-macros.h \
|
|
shared/nm-dbus-compat.h \
|
|
shared/nm-default.h \
|
|
shared/nm-dispatcher-api.h \
|
|
shared/nm-test-libnm-utils.h \
|
|
shared/nm-test-utils-impl.c \
|
|
shared/nm-utils/gsystem-local-alloc.h \
|
|
shared/nm-utils/nm-glib.h \
|
|
shared/nm-utils/nm-macros-internal.h \
|
|
shared/nm-utils/nm-shared-utils.c \
|
|
shared/nm-utils/nm-shared-utils.h \
|
|
shared/nm-utils/nm-test-utils.h \
|
|
shared/nm-utils/nm-vpn-editor-plugin-call.h \
|
|
shared/nm-utils/nm-vpn-plugin-macros.h \
|
|
shared/nm-utils/nm-vpn-plugin-utils.c \
|
|
shared/nm-utils/nm-vpn-plugin-utils.h \
|
|
shared/nm-utils/unaligned.h \
|
|
shared/nm-version-macros.h.in \
|
|
\
|
|
$(NULL)
|
|
|
|
CLEANFILES = \
|
|
cscope.in.out \
|
|
cscope.out \
|
|
cscope.po.out \
|
|
\
|
|
policy/*~ \
|
|
\
|
|
$(NULL)
|
|
|
|
###############################################################################
|
|
|
|
cscope:
|
|
cscope -b -q -R -sshared -ssrc -slibnm-core -slibnm -slibnm-glib -slibnm-util -sclients;
|
|
|
|
###############################################################################
|
|
|
|
.PHONY: cscope
|