mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-06 17:14:02 +00:00
![Thomas Haller](/assets/img/avatar_default.png)
1) the command line gets shorter. I frequently run `make V=1` to see the command line arguments for the compiler, and there is a lot of noise. 2) define each of these variables at one place. This makes it easy to verify that for all compilation units, a particular define has the same value. Previously that was not obvious or even not the case (see commite5d1a71396
and commitd63cf1ef2f
). The point is to avoid redundancy. 3) not all compilation units need all defines. In fact, most modules would only need a few of these defines. We aimed to pass the necessary minium of defines to each compilation unit, but that was non-obvious to get right and often we set a define that wasn't used. See for example "src_settings_plugins_ibft_cppflags" which needlessly had "-DSYSCONFDIR". This question is now entirely avoided by just defining all variables in a header. We don't care to find the minimum, because every component gets anyway all defines from the header. 4) this also avoids the situation, where a module that previously did not use a particular define gets modified to require it. Previously, that would have required to identify the missing define, and add it to the CFLAGS of the complation unit. Since every compilation now includes "config-extra.h", all defines are available everywhere. 5) the fact that each define is now available in all compilation units could be perceived as a downside. But it isn't, because these defines should have a unique name and one specific value. Defining the same name with different values, or refer to the same value by different names is a bug, not a desirable feature. Since these defines should be unique accross the entire tree, there is no problem in providing them to every compilation unit. 6) the reason why we generate "config-extra.h" this way, instead of using AC_DEFINE() in configure.ac, is due to the particular handling of autoconf for directory variables. See [1]. With meson, it would be trivial to put them into "config.h.meson". While that is not easy with autoconf, the "config-extra.h" workaround seems still preferable to me. [1] https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Installation-Directory-Variables.html
319 lines
7.5 KiB
Plaintext
319 lines
7.5 KiB
Plaintext
*~
|
|
.*.swp
|
|
*.bak
|
|
*.o
|
|
*.lo
|
|
*.gcno
|
|
*.gcda
|
|
*.la
|
|
*-*.gir
|
|
*.typelib
|
|
**.stamp
|
|
.dirstamp
|
|
*-enum-types.[ch]
|
|
*-glue.h
|
|
*.loT
|
|
*.pyc
|
|
Makefile
|
|
Makefile.in*
|
|
compile
|
|
depcomp
|
|
install-sh
|
|
libtool
|
|
ltmain.sh
|
|
missing
|
|
mkinstalldirs
|
|
POTFILES
|
|
stamp-*
|
|
.deps
|
|
.libs
|
|
gtk-doc.make
|
|
*.pc
|
|
cscope.*out
|
|
valgrind-*.log
|
|
test-*.log
|
|
test-*.trs
|
|
/.zanata-cache/
|
|
|
|
/build/
|
|
|
|
/NetworkManager-*.tar.*
|
|
|
|
/ABOUT-NLS
|
|
/COPYING
|
|
/INSTALL
|
|
/TAGS
|
|
/aclocal.m4
|
|
/autom4te.cache
|
|
/build-aux
|
|
/config.*
|
|
/config-extra.h
|
|
/configure
|
|
/intltool-*
|
|
|
|
/confdefs.h
|
|
/conftest.[ch]
|
|
/conftest.o.*
|
|
|
|
/dispatcher/nm-avahi-autoipd.action
|
|
/dispatcher/nm-dispatcher
|
|
/dispatcher/nmdbus-dispatcher.*
|
|
/dispatcher/org.freedesktop.nm_dispatcher.service
|
|
/dispatcher/tests/test-dispatcher-envp
|
|
|
|
/clients/cli/nmcli
|
|
/clients/common/settings-docs.h
|
|
/clients/tui/newt/libnmt-newt.a
|
|
/clients/tui/nmtui
|
|
/clients/nm-online
|
|
|
|
/data/NetworkManager.service
|
|
/data/NetworkManager-wait-online.service
|
|
/data/NetworkManager-dispatcher.service
|
|
/data/org.freedesktop.NetworkManager.service
|
|
/data/server.conf
|
|
/data/org.freedesktop.NetworkManager.policy
|
|
/data/org.freedesktop.NetworkManager.policy.in
|
|
|
|
/docs/api/version.xml
|
|
/docs/api/settings-spec.html
|
|
/docs/api/settings-spec.xml
|
|
/docs/api/*.stamp
|
|
/docs/api/html/
|
|
/docs/api/tmpl/
|
|
/docs/api/xml/
|
|
/docs/api/NetworkManager-*.txt
|
|
/docs/api/NetworkManager-decl-list.txt.bak
|
|
/docs/api/NetworkManager-decl.txt.bak
|
|
/docs/api/NetworkManager.args
|
|
/docs/api/NetworkManager.hierarchy
|
|
/docs/api/NetworkManager.interfaces
|
|
/docs/api/NetworkManager.prerequisites
|
|
/docs/api/NetworkManager.signals
|
|
/docs/api/NetworkManager.types
|
|
|
|
/docs/api/dbus-org.freedesktop.NetworkManager*.xml
|
|
|
|
/docs/libnm-glib/*.stamp
|
|
/docs/libnm-glib/html/
|
|
/docs/libnm-glib/tmpl/
|
|
/docs/libnm-glib/xml/
|
|
/docs/libnm-glib/libnm-glib-*.txt
|
|
/docs/libnm-glib/libnm-glib.args
|
|
/docs/libnm-glib/libnm-glib.hierarchy
|
|
/docs/libnm-glib/libnm-glib.interfaces
|
|
/docs/libnm-glib/libnm-glib.prerequisites
|
|
/docs/libnm-glib/libnm-glib.signals
|
|
/docs/libnm-glib/version.xml
|
|
|
|
/docs/libnm-util/*.stamp
|
|
/docs/libnm-util/html/
|
|
/docs/libnm-util/tmpl/
|
|
/docs/libnm-util/xml/
|
|
/docs/libnm-util/libnm-util-*.txt
|
|
/docs/libnm-util/libnm-util-decl-list.txt.bak
|
|
/docs/libnm-util/libnm-util-decl.txt.bak
|
|
/docs/libnm-util/libnm-util.args
|
|
/docs/libnm-util/libnm-util.hierarchy
|
|
/docs/libnm-util/libnm-util.interfaces
|
|
/docs/libnm-util/libnm-util.prerequisites
|
|
/docs/libnm-util/libnm-util.signals
|
|
/docs/libnm-util/libnm-util.types
|
|
/docs/libnm-util/version.xml
|
|
|
|
/docs/libnm/*.stamp
|
|
/docs/libnm/html/
|
|
/docs/libnm/tmpl/
|
|
/docs/libnm/xml/
|
|
/docs/libnm/libnm-*.txt
|
|
/docs/libnm/libnm.args
|
|
/docs/libnm/libnm.hierarchy
|
|
/docs/libnm/libnm.interfaces
|
|
/docs/libnm/libnm.prerequisites
|
|
/docs/libnm/libnm.signals
|
|
/docs/libnm/libnm.types
|
|
/docs/libnm/version.xml
|
|
|
|
/examples/C/glib/add-connection-gdbus
|
|
/examples/C/glib/add-connection-libnm
|
|
/examples/C/glib/get-active-connections-gdbus
|
|
/examples/C/glib/get-ap-info-libnm
|
|
/examples/C/glib/list-connections-gdbus
|
|
/examples/C/glib/list-connections-libnm
|
|
/examples/C/glib/monitor-nm-running-gdbus
|
|
/examples/C/glib/monitor-nm-state-gdbus
|
|
/examples/C/qt/add-connection-wired
|
|
/examples/C/qt/list-connections
|
|
/examples/C/qt/change-ipv4-addresses
|
|
|
|
/shared/nm-version-macros.h
|
|
|
|
/introspection/org.freedesktop.NetworkManager*.[ch]
|
|
|
|
/libgsystem/
|
|
|
|
/libnm-core/tests/test-compare
|
|
/libnm-core/tests/test-crypto
|
|
/libnm-core/tests/test-settings-defaults
|
|
/libnm-core/tests/test-general
|
|
/libnm-core/tests/test-keyfile
|
|
/libnm-core/tests/test-need-secrets
|
|
/libnm-core/tests/test-secrets
|
|
/libnm-core/tests/test-setting
|
|
/libnm-core/nm-dbus-types.xml
|
|
/libnm-core/nm-vpn-dbus-types.xml
|
|
|
|
/libnm-glib/nm-secret-agent-glue.h
|
|
/libnm-glib/nm-vpn-plugin-glue.h
|
|
/libnm-glib/libnm-glib-test
|
|
/libnm-glib/tests/test-nm-client
|
|
/libnm-glib/tests/test-remote-settings-client
|
|
|
|
/libnm-util/test-crypto
|
|
/libnm-util/tests/test-crypto
|
|
/libnm-util/tests/test-settings-defaults
|
|
/libnm-util/tests/test-general
|
|
/libnm-util/tests/test-libnm-linking
|
|
/libnm-util/tests/test-need-secrets
|
|
/libnm-util/tests/test-secrets
|
|
/libnm-util/tests/test-setting-8021x
|
|
/libnm-util/tests/test-setting-dcb
|
|
|
|
/libnm/fake-typelib/typelibs.c
|
|
/libnm/nm-settings-ifcfg-rh-docs.xml
|
|
/libnm/nm-property-docs.xml
|
|
/libnm/nm-settings-docs.xml
|
|
/libnm/nm-settings-docs-overrides.xml
|
|
/libnm/nm-settings-keyfile-docs.xml
|
|
/libnm/tests/test-general
|
|
/libnm/tests/test-nm-client
|
|
/libnm/tests/test-remote-settings-client
|
|
/libnm/tests/test-secret-agent
|
|
|
|
/m4/codeset.m4
|
|
/m4/gettext.m4
|
|
/m4/glibc2.m4
|
|
/m4/glibc21.m4
|
|
/m4/gtk-doc.m4
|
|
/m4/iconv.m4
|
|
/m4/intdiv0.m4
|
|
/m4/intl.m4
|
|
/m4/intldir.m4
|
|
/m4/intlmacosx.m4
|
|
/m4/intltool.m4
|
|
/m4/intmax.m4
|
|
/m4/inttypes-pri.m4
|
|
/m4/inttypes_h.m4
|
|
/m4/lcmessage.m4
|
|
/m4/lib-ld.m4
|
|
/m4/lib-link.m4
|
|
/m4/lib-prefix.m4
|
|
/m4/libtool.m4
|
|
/m4/lock.m4
|
|
/m4/longlong.m4
|
|
/m4/lt*.m4
|
|
/m4/nls.m4
|
|
/m4/po.m4
|
|
/m4/printf-posix.m4
|
|
/m4/progtest.m4
|
|
/m4/size_max.m4
|
|
/m4/stdint_h.m4
|
|
/m4/uintmax_t.m4
|
|
/m4/visibility.m4
|
|
/m4/wchar_t.m4
|
|
/m4/wint_t.m4
|
|
/m4/xsize.m4
|
|
|
|
/man/*.[1785]
|
|
/man/nm-settings.xml
|
|
/man/nm-settings-ifcfg-rh.xml
|
|
/man/nm-settings-keyfile.xml
|
|
/man/common.ent
|
|
|
|
/po/*.gmo
|
|
/po/.intltool-merge-cache
|
|
/po/NetworkManager.pot
|
|
/po/Makevars.template
|
|
/po/Rules-quot
|
|
/po/boldquot.sed
|
|
/po/en@boldquot.header
|
|
/po/en@quot.header
|
|
/po/insert-header.sin
|
|
/po/quot.sed
|
|
/po/remove-potcdate.sin
|
|
|
|
/src/NetworkManager
|
|
/src/NetworkManager.ver
|
|
/src/devices/tests/test-acd
|
|
/src/devices/tests/test-lldp
|
|
/src/devices/wifi/tests/test-general
|
|
/src/dhcp/nm-dhcp-helper
|
|
/src/dhcp/tests/test-dhcp-dhclient
|
|
/src/dhcp/tests/test-dhcp-options
|
|
/src/dhcp/tests/test-dhcp-utils
|
|
/src/dnsmasq/tests/test-dnsmasq-utils
|
|
/src/nm-iface-helper
|
|
/src/ndisc/tests/test-ndisc-fake
|
|
/src/ndisc/tests/test-ndisc-linux
|
|
/src/settings/plugins/ibft/tests/test-ibft
|
|
/src/settings/plugins/ifcfg-rh/nmdbus-ifcfg-rh.[ch]
|
|
/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh
|
|
/src/settings/plugins/ifupdown/tests/test-ifupdown
|
|
/src/settings/plugins/keyfile/tests/test-keyfile
|
|
/src/settings/plugins/ifcfg-rh/tests/network-scripts/tmp/
|
|
/src/supplicant/tests/test-supplicant-config
|
|
/src/tests/config/test-config
|
|
/src/tests/test-dcb
|
|
/src/tests/test-general
|
|
/src/tests/test-general-with-expect
|
|
/src/tests/test-ip4-config
|
|
/src/tests/test-ip6-config
|
|
/src/tests/test-route-manager-fake
|
|
/src/tests/test-route-manager-linux
|
|
/src/tests/test-systemd
|
|
/src/tests/test-utils
|
|
/src/tests/test-wired-defname
|
|
|
|
/clients/common/tests/test-general
|
|
|
|
/vapi/*.vapi
|
|
|
|
# The following names are no longer present on this branch,
|
|
# but they were on older versions. Thus keep ignoring them
|
|
# otherwise when switching branches these untracked files show
|
|
# up.
|
|
/callouts/nm-avahi-autoipd.action
|
|
/callouts/nm-dispatcher
|
|
/callouts/nmdbus-dispatcher.*
|
|
/callouts/org.freedesktop.nm_dispatcher.service
|
|
/callouts/tests/test-dispatcher-envp
|
|
/include/
|
|
/policy/org.freedesktop.NetworkManager.policy
|
|
/policy/org.freedesktop.NetworkManager.policy.in
|
|
/initscript/Slackware/rc.networkmanager
|
|
/initscript/*/[Nn]etwork[Mm]anager
|
|
/src/devices/wifi/tests/test-wifi-ap-utils
|
|
/src/dhcp-manager/nm-dhcp-helper
|
|
/src/dhcp-manager/tests/test-dhcp-dhclient
|
|
/src/dhcp-manager/tests/test-dhcp-options
|
|
/src/dhcp-manager/tests/test-dhcp-utils
|
|
/src/dnsmasq-manager/tests/test-dnsmasq-utils
|
|
/src/rdisc/
|
|
/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh-utils
|
|
/src/supplicant-manager/tests/test-supplicant-config
|
|
/introspection/nmdbus-*.c
|
|
/introspection/nmdbus-*.h
|
|
/introspection/nmdbus-*.xml
|
|
/libnm/nm-ifcfg-rh-docs.xml
|
|
/libnm/nm-keyfile-docs.xml
|
|
/libnm/nm-setting-docs.xml
|
|
/libnm/nm-setting-docs-overrides.xml
|
|
/clients/cli/settings-docs.c
|
|
/clients/common/settings-docs.c
|
|
/libnm-core/tests/test-setting-8021x
|
|
/libnm-core/tests/test-setting-bond
|
|
/libnm-core/tests/test-setting-dcb
|
|
/src/settings/plugins/ifnet
|
|
/src/tests/test-resolvconf-capture
|
|
/src/devices/tests/test-arping
|