NetworkManager/src/settings/plugins/Makefile.am
Pavel Šimerda 012c5f4b27 distro: replace --with-distro with feature-based options (bgo #663602)
Distribution-specific builds are now handled by feature and not by
distro. This allows you to fine-tune the options to your liking and
also allowed us to reduce the number of specific values.

The default values of these options are still derived from *-version
and *-release files in /etc.

The following five distribution-specific features are now available
(and default on distributions in parenthesis):

  --enable-ifcfg-rh (Fedora, RHEL and Mandriva)
  --enable-ifcfg-suse (SUSE)
  --enable-ifupdown (Debian and Ubuntu)
  --enable-ifnet (Gentoo)
  --with-netconfig (SUSE)

Since --with-distro is now removed, there is nothing to prevent generic
builds. If you build on an unknown distribution, all of the features
above will be disabled by default.
2012-10-30 00:36:05 +01:00

17 lines
226 B
Makefile

SUBDIRS=keyfile example
if CONFIG_PLUGIN_IFCFG_RH
SUBDIRS+=ifcfg-rh
endif
if CONFIG_PLUGIN_IFCFG_SUSE
SUBDIRS+=ifcfg-suse
endif
if CONFIG_PLUGIN_IFUPDOWN
SUBDIRS+=ifupdown
endif
if CONFIG_PLUGIN_IFNET
SUBDIRS+=ifnet
endif