clients: reorganize source tree, put all the installed clients together
[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         clients \
12         tools \
13         policy \
14         data \
15         test \
16         po \
17         docs \
18         man \
19         examples \
20         vapi
21
22 @GNOME_CODE_COVERAGE_RULES@
23
24 EXTRA_DIST = \
25         CONTRIBUTING \
26         NetworkManager.pc.in \
27         intltool-extract.in \
28         intltool-merge.in \
29         intltool-update.in \
30         Makefile.glib \
31         autogen.sh \
32         valgrind.suppressions
33
34 DISTCHECK_CONFIGURE_FLAGS = \
35         --enable-tests=yes \
36         --with-valgrind=no \
37         --enable-gtk-doc \
38         --enable-more-warnings=yes \
39         --with-udev-dir=$$dc_install_base/lib/udev \
40         --with-wext=no \
41         --enable-ifcfg-rh \
42         --enable-ifcfg-suse \
43         --enable-ifupdown \
44         --enable-ifnet
45
46 if BUILD_SETTING_DOCS
47 dist-check-setting-docs:
48 else
49 dist-check-setting-docs:
50         @echo "*** gobject-introspection and pygobject are needed to run 'make dist'. ***"
51         @false
52 endif
53
54 dist: dist-check-setting-docs
55
56 DISTCLEANFILES = intltool-extract intltool-merge intltool-update
57
58 pkgconfigdir = $(libdir)/pkgconfig
59 pkgconfig_DATA = NetworkManager.pc
60
61 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
62
63 CLEANFILES = cscope.in.out cscope.out cscope.po.out
64
65 cscope:
66         cscope -b -q -R -Iinclude -ssrc -slibnm-glib -slibnm-util -scli/src;
67
68 .PHONY: cscope