Makefile.am 967 Bytes
Newer Older
Richard Hult's avatar
Richard Hult committed
1
SUBDIRS = files
Richard Hult's avatar
Richard Hult committed
2

Richard Hult's avatar
Richard Hult committed
3 4 5 6 7 8 9 10 11 12
INCLUDES = \
	-I$(top_srcdir)					\
	-I$(top_srcdir)/tests				\
	$(PLANNER_CFLAGS) $(WARN_CFLAGS)		\
	-DG_LOG_DOMAIN=\"Planner\"			\
	-DEXAMPLESDIR=\"$(top_srcdir)/tests/files\"

LDADD =	\
	$(top_builddir)/libplanner/libplanner-1.la 	\
	$(PLANNER_LIBS)
Richard Hult's avatar
Richard Hult committed
13 14 15

noinst_LTLIBRARIES = libselfcheck.la

Richard Hult's avatar
Richard Hult committed
16 17 18 19 20
libselfcheck_la_SOURCES =                              \
       self-check.c                                    \
       self-check.h

noinst_PROGRAMS = scheduler-test time-test calendar-test task-test
Richard Hult's avatar
Richard Hult committed
21

Richard Hult's avatar
Richard Hult committed
22
scheduler_test_SOURCES = scheduler-test.c
23
scheduler_test_LDFLAGS = libselfcheck.la
Richard Hult's avatar
Richard Hult committed
24 25

time_test_SOURCES = time-test.c
26
time_test_LDFLAGS = libselfcheck.la
Richard Hult's avatar
Richard Hult committed
27 28

calendar_test_SOURCES = calendar-test.c
29
calendar_test_LDFLAGS = libselfcheck.la
Richard Hult's avatar
Richard Hult committed
30 31

task_test_SOURCES = task-test.c
32
task_test_LDFLAGS = libselfcheck.la
Richard Hult's avatar
Richard Hult committed
33

34 35 36
# The loadable modules can't be found at distcheck time so disable the
# tests for distcheck.
#TESTS = scheduler-test time-test calendar-test task-test