summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: a79bddca3d668ac9bca7b6d3ea04a70364d1a3de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
include $(GLIB_MAKEFILE)

SUBDIRS = \
	. \
	shared \
	introspection \
	libnm-core \
	libnm \
	src \
	callouts \
	clients \
	tools \
	policy \
	data \
	po \
	man \
	examples

if WITH_LEGACY_LIBRARIES
SUBDIRS += \
	libnm-util \
	libnm-glib
endif

SUBDIRS += \
	docs \
	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=error \
	--with-udev-dir=$$dc_install_base/lib/udev \
	--with-wext=no \
	--enable-ifcfg-rh \
	--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

CLEANFILES = cscope.in.out cscope.out cscope.po.out

cscope:
	cscope -b -q -R -sshared -ssrc -slibnm-core -slibnm -slibnm-glib -slibnm-util -sclients;

.PHONY: cscope