summaryrefslogtreecommitdiff
blob: 8224eb01c1fb8e8aab71021ff3e230a68728eb43 (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
Index: tests/Makefile.am
===================================================================
--- tests/Makefile.am	(révision 909)
+++ tests/Makefile.am	(copie de travail)
@@ -7,10 +7,6 @@
 	-DG_LOG_DOMAIN=\"Planner\"			\
 	-DEXAMPLESDIR=\"$(top_srcdir)/tests/files\"
 
-LDADD =	\
-	$(top_builddir)/libplanner/libplanner-1.la 	\
-	$(PLANNER_LIBS)
-
 noinst_LTLIBRARIES = libselfcheck.la
 
 libselfcheck_la_SOURCES =                              \
@@ -20,16 +16,28 @@
 noinst_PROGRAMS = scheduler-test time-test calendar-test task-test
 
 scheduler_test_SOURCES = scheduler-test.c
-scheduler_test_LDFLAGS = libselfcheck.la
+scheduler_test_LDADD = \
+	$(top_builddir)/libplanner/libplanner-1.la \
+	$(PLANNER_LIBS)                            \
+	libselfcheck.la
 
 time_test_SOURCES = time-test.c
-time_test_LDFLAGS = libselfcheck.la
+time_test_LDADD = \
+	$(top_builddir)/libplanner/libplanner-1.la \
+	$(PLANNER_LIBS)                            \
+	libselfcheck.la
 
 calendar_test_SOURCES = calendar-test.c
-calendar_test_LDFLAGS = libselfcheck.la
+calendar_test_LDADD = \
+	$(top_builddir)/libplanner/libplanner-1.la \
+	$(PLANNER_LIBS)                            \
+	libselfcheck.la
 
 task_test_SOURCES = task-test.c
-task_test_LDFLAGS = libselfcheck.la
+task_test_LDADD = \
+	$(top_builddir)/libplanner/libplanner-1.la \
+	$(PLANNER_LIBS)                            \
+	libselfcheck.la
 
 # The loadable modules can't be found at distcheck time so disable the
 # tests for distcheck.