NetworkManager/Makefile.am
Dan Winship 377f72a66f build: fix nm-setting-docs build in various configurations
Certain build configurations (like --enable-gtk-doc
--disable-introspection) were broken with respect to nm-setting-docs.
Fix this. Also, we don't require just gobject-introspection, we need
pygobject specifically as well.
2014-06-27 17:24:57 -04:00

75 lines
1.4 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
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;
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