]> git.meshlink.io Git - meshlink/blob - src/Makefile.am
Disable support for detaching from the foreground.
[meshlink] / src / Makefile.am
1 ## Produce this file with automake to get Makefile.in
2
3 sbin_PROGRAMS = sptps_test
4
5 if LINUX
6 sbin_PROGRAMS += sptps_speed
7 endif
8
9 DEFAULT_INCLUDES =
10
11 sptps_test_SOURCES = \
12         logger.c logger.h \
13         sptps.c sptps.h \
14         sptps_test.c \
15         utils.c utils.h
16
17 sptps_speed_SOURCES = \
18         logger.c logger.h \
19         sptps.c sptps.h \
20         sptps_speed.c \
21         utils.c utils.h
22
23 lib_LTLIBRARIES = libmeshlink.la
24
25 libmeshlink_la_SOURCES = \
26         libmeshlink.c libmeshlink.h \
27         buffer.c buffer.h \
28         cipher.h \
29         conf.c conf.h \
30         connection.c connection.h \
31         crypto.h \
32         digest.h \
33         dropin.c dropin.h \
34         ecdh.h \
35         ecdsa.h \
36         ecdsagen.h \
37         edge.c edge.h \
38         ethernet.h \
39         event.c event.h \
40         fake-gai-errnos.h \
41         fake-getaddrinfo.c fake-getaddrinfo.h \
42         fake-getnameinfo.c fake-getnameinfo.h \
43         getopt.c getopt.h \
44         getopt1.c \
45         graph.c graph.h \
46         hash.c hash.h \
47         have.h \
48         ipv4.h \
49         ipv6.h \
50         list.c list.h \
51         logger.c logger.h \
52         meta.c meta.h \
53         names.c names.h \
54         net.c net.h \
55         net_packet.c \
56         net_setup.c \
57         net_socket.c \
58         netutl.c netutl.h \
59         node.c node.h \
60         prf.h \
61         protocol.c protocol.h \
62         protocol_auth.c \
63         protocol_edge.c \
64         protocol_key.c \
65         protocol_misc.c \
66         route.c route.h \
67         rsa.h \
68         rsagen.h \
69         splay_tree.c splay_tree.h \
70         sptps.c sptps.h \
71         system.h \
72         tincd.c \
73         utils.c utils.h \
74         xalloc.h
75
76 libmeshlink_la_CFLAGS = -fPIC
77
78 libmeshlink_la_LIBADD = -lpthread
79
80 libmeshlink_la_SOURCES += \
81         openssl/cipher.c \
82         openssl/crypto.c \
83         openssl/digest.c openssl/digest.h \
84         openssl/ecdh.c \
85         openssl/ecdsa.c \
86         openssl/ecdsagen.c \
87         openssl/prf.c \
88         openssl/rsa.c \
89         openssl/rsagen.c
90 sptps_test_SOURCES += \
91         openssl/cipher.c \
92         openssl/crypto.c \
93         openssl/digest.c openssl/digest.h \
94         openssl/ecdh.c \
95         openssl/ecdsa.c \
96         openssl/prf.c
97 sptps_speed_SOURCES += \
98         openssl/cipher.c \
99         openssl/crypto.c \
100         openssl/digest.c openssl/digest.h \
101         openssl/ecdh.c \
102         openssl/ecdsa.c \
103         openssl/ecdsagen.c \
104         openssl/prf.c
105
106 sptps_speed_LDADD = -lrt
107
108 LIBS = @LIBS@
109
110 AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\"