File: Makefile.am

package info (click to toggle)
planner 0.14.6-7
  • links: PTS
  • area: main
  • in suites: buster
  • size: 14,600 kB
  • sloc: ansic: 67,239; sh: 10,242; xml: 3,928; sql: 886; makefile: 665; python: 3
file content (50 lines) | stat: -rw-r--r-- 1,253 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
SUBDIRS = files

INCLUDES = \
	-I$(top_srcdir)					\
	-I$(top_srcdir)/tests				\
	$(PLANNER_CFLAGS) $(WARN_CFLAGS)		\
	-DG_LOG_DOMAIN=\"Planner\"			\
	-DEXAMPLESDIR=\"$(top_srcdir)/tests/files\"

LDADD =	\
	$(PLANNER_LIBS) \
	$(top_builddir)/src/libplannerapp.la \
	$(top_builddir)/libplanner/libplanner-1.la

check_LTLIBRARIES = libselfcheck.la

libselfcheck_la_SOURCES =                              \
       self-check.c                                    \
       self-check.h

check_PROGRAMS = $(TESTS)

scheduler_test_SOURCES = scheduler-test.c
scheduler_test_LDADD = libselfcheck.la $(LDADD)

time_test_SOURCES = time-test.c
time_test_LDADD = libselfcheck.la $(LDADD)

calendar_test_SOURCES = calendar-test.c
calendar_test_LDADD = libselfcheck.la $(LDADD)

task_test_SOURCES = task-test.c
task_test_LDADD = libselfcheck.la $(LDADD)

cmd_manager_test_SOURCES = cmd-manager-test.c
cmd_manager_test_LDADD = libselfcheck.la $(LDADD)

TESTS_ENVIRONMENT = \
	PLANNER_STORAGEMODULEDIR=$(top_builddir)/libplanner/.libs \
	PLANNER_FILEMODULESDIR=$(top_builddir)/libplanner/.libs \
	PLANNER_PLUGINDIR=$(top_builddir)/src/.libs \
	PLANNER_DATADIR=$(top_srcdir)/data

TESTS = \
	calendar-test \
	cmd-manager-test \
	scheduler-test \
	task-test \
	time-test