]> git.meshlink.io Git - meshlink-tiny/blob - src/Makefile.am
Remove asynchronous DNS support.
[meshlink-tiny] / src / Makefile.am
1 ## Produce this file with automake to get Makefile.in
2
3 AM_CPPFLAGS = -Wall
4
5 ed25519_SOURCES = \
6         ed25519/add_scalar.c \
7         ed25519/ecdh.c \
8         ed25519/ecdsa.c \
9         ed25519/ecdsagen.c \
10         ed25519/ed25519.h \
11         ed25519/fe.c ed25519/fe.h \
12         ed25519/fixedint.h \
13         ed25519/ge.c ed25519/ge.h \
14         ed25519/key_exchange.c \
15         ed25519/keypair.c \
16         ed25519/precomp_data.h \
17         ed25519/sc.c ed25519/sc.h \
18         ed25519/seed.c \
19         ed25519/sha512.c ed25519/sha512.h \
20         ed25519/sign.c \
21         ed25519/verify.c
22
23 chacha_poly1305_SOURCES = \
24         chacha-poly1305/chacha.c chacha-poly1305/chacha.h \
25         chacha-poly1305/chacha-poly1305.c chacha-poly1305/chacha-poly1305.h \
26         chacha-poly1305/poly1305.c chacha-poly1305/poly1305.h
27
28 utcp_SOURCES = \
29         utcp.c utcp.h \
30         utcp_priv.h
31
32 lib_LTLIBRARIES = libmeshlink-tiny.la
33 EXTRA_PROGRAMS = utcp-test
34
35 pkginclude_HEADERS = meshlink-tiny++.h meshlink-tiny.h
36
37 libmeshlink_tiny_la_LDFLAGS = -export-symbols $(srcdir)/meshlink.sym
38
39 libmeshlink_tiny_la_SOURCES = \
40         buffer.c buffer.h \
41         conf.c conf.h \
42         connection.c connection.h \
43         crypto.c crypto.h \
44         dropin.c dropin.h \
45         ecdh.h \
46         ecdsa.h \
47         ecdsagen.h \
48         event.c event.h \
49         hash.c hash.h \
50         have.h \
51         list.c list.h \
52         logger.c logger.h \
53         meshlink.c meshlink-tiny.h meshlink.sym \
54         meshlink_internal.h \
55         meshlink_queue.h \
56         meta.c meta.h \
57         net.c net.h \
58         net_packet.c \
59         net_setup.c \
60         net_socket.c \
61         netutl.c netutl.h \
62         node.c node.h \
63         submesh.c submesh.h \
64         packmsg.h \
65         prf.c prf.h \
66         protocol.c protocol.h \
67         protocol_auth.c \
68         protocol_edge.c \
69         protocol_key.c \
70         protocol_misc.c \
71         route.c route.h \
72         sockaddr.h \
73         splay_tree.c splay_tree.h \
74         sptps.c sptps.h \
75         system.h \
76         utils.c utils.h \
77         xalloc.h \
78         xoshiro.c xoshiro.h \
79         devtools.c devtools.h \
80         $(ed25519_SOURCES) \
81         $(chacha_poly1305_SOURCES) \
82         $(utcp_SOURCES)
83
84 utcp_test_SOURCES = \
85         utcp-test.c \
86         $(utcp_SOURCES)
87
88 EXTRA_libmeshlink_tiny_la_DEPENDENCIES = $(srcdir)/meshlink.sym
89
90 libmeshlink_tiny_la_CFLAGS = $(PTHREAD_CFLAGS) -fPIC -iquote.
91 libmeshlink_tiny_la_LDFLAGS += $(PTHREAD_LIBS)
92
93 utcp_test_CFLAGS = $(PTHREAD_CFLAGS) -iquote.
94 utcp_test_LDFLAGS = $(PTHREAD_LIBS)