File: Makefile.am

package info (click to toggle)
libuninameslist 20200413-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,136 kB
  • sloc: ansic: 99,746; python: 140; makefile: 112; sh: 4
file content (48 lines) | stat: -rw-r--r-- 1,141 bytes parent folder | download
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
# Common CPPFLAGS
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)

AM_CFLAGS = -I$(top_srcdir) -I$(top_builddir) $(DEP_CFLAGS) $(BABL_CFLAGS) -lm

#DEPS = $(top_builddir)/.libs/libuninameslist.la

LDADDS = $(top_builddir)/.libs/libuninameslist.la

# The tests
noinst_PROGRAMS = call-test0 call-test1 call-test2

call_test0_SOURCES = call-test0.c
call_test0_LDADD = $(LDADDS)

call_test1_SOURCES = call-test1.c
call_test1_LDADD = $(LDADDS)

call_test2_SOURCES = call-test2.c
call_test2_LDADD = $(LDADDS)

if WANTLIBOFR
LDADDF = $(top_builddir)/.libs/libuninameslist-fr.la

call_test3_SOURCES = call-test3.c
call_test3_LDADD = $(LDADDF)

call_test4_SOURCES = call-test4.c
call_test4_LDADD = $(LDADDF)

call_test5_SOURCES = call-test5.c
call_test5_LDADD = $(LDADDS) $(LDADDF)

call_test7_SOURCES = call-test7.c
call_test7_LDADD = $(LDADDS)

noinst_PROGRAMS += call-test3 call-test4 call-test5 call-test6 call-test7
else
noinst_PROGRAMS += call-test6
EXTRA_DIST = call-test3.c call-test4.c call-test5.c call-test7.c
endif

call_test6_SOURCES = call-test6.c
call_test6_LDADD = $(LDADDS)

TESTS = $(noinst_PROGRAMS)

-include $(top_srcdir)/git.mk