libnm-util: build nm-setting-docs.xml from gtk-doc and GParamSpecs
[NetworkManager.git] / Makefile.am
1 include $(GLIB_MAKEFILE)
2
3 SUBDIRS = \
4         . \
5         include \
6         libnm-util \
7         libnm-glib \
8         introspection \
9         src \
10         callouts \
11         cli \
12         tui \
13         tools \
14         policy \
15         data \
16         test \
17         po \
18         docs \
19         man \
20         examples \
21         vapi
22
23 @GNOME_CODE_COVERAGE_RULES@
24
25 EXTRA_DIST = \
26         CONTRIBUTING \
27         NetworkManager.pc.in \
28         intltool-extract.in \
29         intltool-merge.in \
30         intltool-update.in \
31         Makefile.glib \
32         autogen.sh \
33         valgrind.suppressions
34
35 DISTCHECK_CONFIGURE_FLAGS = \
36         --enable-tests=yes \
37         --with-valgrind=no \
38         --enable-gtk-doc \
39         --enable-more-warnings=yes \
40         --with-udev-dir=$$dc_install_base/lib/udev \
41         --with-wext=no \
42         --enable-ifcfg-rh \
43         --enable-ifcfg-suse \
44         --enable-ifupdown \
45         --enable-ifnet
46
47 if HAVE_INTROSPECTION
48 dist-check-introspection:
49 else
50 dist-check-introspection:
51         @echo "*** gobject-introspection is needed to run 'make dist'. ***"
52         @echo "*** It was not enabled when 'configure' ran.            ***"
53         @false
54 endif
55
56 dist: dist-check-introspection
57
58 DISTCLEANFILES = intltool-extract intltool-merge intltool-update
59
60 pkgconfigdir = $(libdir)/pkgconfig
61 pkgconfig_DATA = NetworkManager.pc
62
63 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
64
65 CLEANFILES = cscope.in.out cscope.out cscope.po.out
66
67 cscope:
68         cscope -b -q -R -Iinclude -ssrc -slibnm-glib -slibnm-util -scli/src;
69
70 libgsystem_srcpath := libgsystem
71 libgsystem_cflags := $(filter-out -DGLIB_VERSION%,$(GLIB_CFLAGS)) -I$(srcdir)/libgsystem
72 libgsystem_libs = $(GLIB_LIBS)
73 include libgsystem/Makefile-libgsystem.am
74 noinst_LTLIBRARIES = libgsystem.la
75
76 .PHONY: cscope