]> git.meshlink.io Git - meshlink/blob - src/Makefile.am
Remove support for control connections.
[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         process.c process.h \
62         protocol.c protocol.h \
63         protocol_auth.c \
64         protocol_edge.c \
65         protocol_key.c \
66         protocol_misc.c \
67         route.c route.h \
68         rsa.h \
69         rsagen.h \
70         splay_tree.c splay_tree.h \
71         sptps.c sptps.h \
72         system.h \
73         tincd.c \
74         utils.c utils.h \
75         xalloc.h
76
77 libmeshlink_la_CFLAGS = -fPIC
78
79 libmeshlink_la_LIBADD = -lpthread
80
81 libmeshlink_la_SOURCES += \
82         openssl/cipher.c \
83         openssl/crypto.c \
84         openssl/digest.c openssl/digest.h \
85         openssl/ecdh.c \
86         openssl/ecdsa.c \
87         openssl/ecdsagen.c \
88         openssl/prf.c \
89         openssl/rsa.c \
90         openssl/rsagen.c
91 sptps_test_SOURCES += \
92         openssl/cipher.c \
93         openssl/crypto.c \
94         openssl/digest.c openssl/digest.h \
95         openssl/ecdh.c \
96         openssl/ecdsa.c \
97         openssl/prf.c
98 sptps_speed_SOURCES += \
99         openssl/cipher.c \
100         openssl/crypto.c \
101         openssl/digest.c openssl/digest.h \
102         openssl/ecdh.c \
103         openssl/ecdsa.c \
104         openssl/ecdsagen.c \
105         openssl/prf.c
106
107 sptps_speed_LDADD = -lrt
108
109 LIBS = @LIBS@
110
111 AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\"