]> git.meshlink.io Git - meshlink-tiny/blob - src/Makefile.am
Remove all support for channels.
[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 lib_LTLIBRARIES = libmeshlink-tiny.la
29
30 pkginclude_HEADERS = meshlink-tiny++.h meshlink-tiny.h
31
32 libmeshlink_tiny_la_LDFLAGS = -export-symbols $(srcdir)/meshlink.sym
33
34 libmeshlink_tiny_la_SOURCES = \
35         buffer.c buffer.h \
36         conf.c conf.h \
37         connection.c connection.h \
38         crypto.c crypto.h \
39         dropin.c dropin.h \
40         ecdh.h \
41         ecdsa.h \
42         ecdsagen.h \
43         event.c event.h \
44         hash.c hash.h \
45         have.h \
46         list.c list.h \
47         logger.c logger.h \
48         meshlink.c meshlink-tiny.h meshlink.sym \
49         meshlink_internal.h \
50         meshlink_queue.h \
51         meta.c meta.h \
52         net.c net.h \
53         net_setup.c \
54         net_socket.c \
55         netutl.c netutl.h \
56         node.c node.h \
57         packmsg.h \
58         prf.c prf.h \
59         protocol.c protocol.h \
60         protocol_auth.c \
61         protocol_edge.c \
62         protocol_key.c \
63         protocol_misc.c \
64         sockaddr.h \
65         splay_tree.c splay_tree.h \
66         sptps.c sptps.h \
67         system.h \
68         utils.c utils.h \
69         xalloc.h \
70         xoshiro.c xoshiro.h \
71         devtools.c devtools.h \
72         $(ed25519_SOURCES) \
73         $(chacha_poly1305_SOURCES)
74
75 EXTRA_libmeshlink_tiny_la_DEPENDENCIES = $(srcdir)/meshlink.sym
76
77 libmeshlink_tiny_la_CFLAGS = $(PTHREAD_CFLAGS) -fPIC -iquote.
78 libmeshlink_tiny_la_LDFLAGS += $(PTHREAD_LIBS)