File: Makefile.am

package info (click to toggle)
dbus-glib 0.114-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,096 kB
  • sloc: ansic: 23,493; sh: 4,634; makefile: 630; xml: 441
file content (58 lines) | stat: -rw-r--r-- 1,047 bytes parent folder | download | duplicates (5)
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
SUBDIRS = . core interfaces
DIST_SUBDIRS = core interfaces

AM_CPPFLAGS = \
	-I$(top_srcdir)				\
	-I$(top_builddir)			\
	-I$(top_builddir)/dbus			\
	$(DBUS_CFLAGS) \
	$(GLIB_CFLAGS) \
	$(NULL)

LDADD = \
	$(top_builddir)/dbus/libdbus-glib-1.la \
	$(GLIB_LIBS) \
	$(DBUS_LIBS) \
	$(NULL)

if DBUS_BUILD_TESTS
test_programs = \
	test-errors \
	test-specialized-types \
	$(NULL)

# not actually tests, but used by tests
test_related_programs = \
	test-service \
	$(NULL)
endif

test_errors_SOURCES = errors.c
test_specialized_types_SOURCES = specialized-types.c

test_service_SOURCES=				\
	test-service.c

test_service_LDADD=$(DBUS_LIBS)

EXTRA_DIST = data/nested-introspect.xml test-compile-nested.sh

TESTS_ENVIRONMENT=top_builddir=$(top_builddir) srcdir=$(srcdir)

test_scripts = \
	test-compile-nested.sh \
	$(NULL)

TESTS = \
	$(test_programs) \
	$(test_scripts) \
	$(NULL)

noinst_PROGRAMS = \
	$(test_programs) \
	$(test_related_programs) \
	$(NULL)

check-valgrind: all
	$(MAKE) -C core check-valgrind
	$(MAKE) -C interfaces check-valgrind