• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# vim:ft=automake
2
3noinst_LTLIBRARIES+= src/compat/libtlsdate_compat.la
4
5noinst_HEADERS+= src/compat/clock.h
6
7src_compat_libtlsdate_compat_la_SOURCES =
8src_compat_libtlsdate_compat_la_CFLAGS = -DBUILDING_TLSDATE
9src_compat_libtlsdate_compat_la_LIBADD =
10
11if TARGET_OSX
12src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-darwin.c
13endif
14
15if TARGET_LINUX
16src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
17endif
18
19if TARGET_FREEBSD
20src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
21endif
22
23if TARGET_NETBSD
24src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
25endif
26
27if TARGET_OPENBSD
28src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
29endif
30
31if TARGET_DRAGONFLYBSD
32src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
33endif
34
35if TARGET_BSD
36if !TARGET_NETBSD
37if !TARGET_FREEBSD
38src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
39endif
40endif
41endif
42
43if TARGET_GNUHURD
44src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-hurd.c
45endif
46
47if TARGET_CYGWIN
48src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
49endif
50
51if TARGET_MINGW
52src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
53endif
54
55if TARGET_HAIKU
56src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
57endif
58
59src_compat_libtlsdate_compat_la_LIBADD+= @RT_LIB@
60