-
Notifications
You must be signed in to change notification settings - Fork 23
/
Makefile.am
118 lines (88 loc) · 4.98 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
ACLOCAL_AMFLAGS = -I build/m4
AM_CFLAGS = -I./src -Iinclude -I$(srcdir)/include $(KS_CFLAGS) $(CURL_CFLAGS) $(JWT_CFLAGS) $(openssl_CFLAGS) -Wall -Wno-gnu-zero-variadic-macro-arguments -pedantic -Werror
lib_LTLIBRARIES = libstirshaken.la
libstirshaken_la_SOURCES = src/stir_shaken.c src/stir_shaken_service.c src/stir_shaken_passport.c src/stir_shaken_verify.c src/stir_shaken_ssl.c src/stir_shaken_acme.c src/stir_shaken_sp.c src/stir_shaken_version.c
include_HEADERS = include/stir_shaken.h
libstirshaken_la_LDFLAGS = -version-info 1:0:0
pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = build/stirshaken.pc
check_PROGRAMS = stir_shaken_test_1 stir_shaken_test_2 stir_shaken_test_3 stir_shaken_test_4 stir_shaken_test_5 stir_shaken_test_6 stir_shaken_test_7 stir_shaken_test_8 stir_shaken_test_9 stir_shaken_test_10 stir_shaken_test_11 stir_shaken_test_12 stir_shaken_test_13 stir_shaken_test_14 stir_shaken_test_15 stir_shaken_test_16 stir_shaken_test_17 stir_shaken_test_18
TESTS = $(check_PROGRAMS)
examples = stir_shaken_as_basic stir_shaken_vs_basic stir_shaken_ca stir_shaken_cert_req stir_shaken_as_easy stir_shaken_vs_easy
bin_PROGRAMS = stirshaken $(examples)
stirshaken_SOURCES = util/src/stir_shaken_tool_command.c util/src/stir_shaken_tool.c util/src/stir_shaken_ca.c util/src/mongoose.c
stirshaken_CFLAGS = -Iinclude -Iutil/include $(KS_CFLAGS) -DMG_ENABLE_SSL
stirshaken_LDADD = libstirshaken.la $(KS_LIBS)
LIBS += $(KS_LIBS) $(CURL_LIBS) $(JWT_LIBS) -pthread
stir_shaken_test_1_SOURCES = test/stir_shaken_test_1.c
stir_shaken_test_1_CFLAGS = -Iinclude
stir_shaken_test_1_LDADD = libstirshaken.la
stir_shaken_test_2_SOURCES = test/stir_shaken_test_2.c
stir_shaken_test_2_CFLAGS = -Iinclude
stir_shaken_test_2_LDADD = libstirshaken.la
stir_shaken_test_3_SOURCES = test/stir_shaken_test_3.c
stir_shaken_test_3_CFLAGS = -Iinclude
stir_shaken_test_3_LDADD = libstirshaken.la
stir_shaken_test_4_SOURCES = test/stir_shaken_test_4.c
stir_shaken_test_4_CFLAGS = -Iinclude
stir_shaken_test_4_LDADD = libstirshaken.la
stir_shaken_test_5_SOURCES = test/stir_shaken_test_5.c
stir_shaken_test_5_CFLAGS = -Iinclude
stir_shaken_test_5_LDADD = libstirshaken.la
stir_shaken_test_6_SOURCES = test/stir_shaken_test_6.c
stir_shaken_test_6_CFLAGS = -Iinclude
stir_shaken_test_6_LDADD = libstirshaken.la
stir_shaken_test_7_SOURCES = test/stir_shaken_test_7.c
stir_shaken_test_7_CFLAGS = -Iinclude
stir_shaken_test_7_LDADD = libstirshaken.la
stir_shaken_test_8_SOURCES = test/stir_shaken_test_8.c
stir_shaken_test_8_CFLAGS = -Iinclude
stir_shaken_test_8_LDADD = libstirshaken.la
stir_shaken_test_9_SOURCES = test/stir_shaken_test_9.c
stir_shaken_test_9_CFLAGS = -Iinclude
stir_shaken_test_9_LDADD = libstirshaken.la
stir_shaken_test_10_SOURCES = test/stir_shaken_test_10.c
stir_shaken_test_10_CFLAGS = -Iinclude
stir_shaken_test_10_LDADD = libstirshaken.la
stir_shaken_test_11_SOURCES = test/stir_shaken_test_11.c
stir_shaken_test_11_CFLAGS = -Iinclude
stir_shaken_test_11_LDADD = libstirshaken.la
stir_shaken_test_12_SOURCES = test/stir_shaken_test_12.c
stir_shaken_test_12_CFLAGS = -Iinclude
stir_shaken_test_12_LDADD = libstirshaken.la
stir_shaken_test_13_SOURCES = test/stir_shaken_test_13.c util/src/stir_shaken_ca.c util/src/mongoose.c
stir_shaken_test_13_CFLAGS = -Iinclude -Iutil/include -DMG_ENABLE_SSL
stir_shaken_test_13_LDADD = libstirshaken.la
stir_shaken_test_14_SOURCES = test/stir_shaken_test_14.c
stir_shaken_test_14_CFLAGS = -Iinclude
stir_shaken_test_14_LDADD = libstirshaken.la
stir_shaken_test_15_SOURCES = test/stir_shaken_test_15.c
stir_shaken_test_15_CFLAGS = -Iinclude
stir_shaken_test_15_LDADD = libstirshaken.la
stir_shaken_test_16_SOURCES = test/stir_shaken_test_16.c
stir_shaken_test_16_CFLAGS = -Iinclude
stir_shaken_test_16_LDADD = libstirshaken.la
stir_shaken_test_17_SOURCES = test/stir_shaken_test_17.c
stir_shaken_test_17_CFLAGS = -Iinclude
stir_shaken_test_17_LDADD = libstirshaken.la
stir_shaken_test_18_SOURCES = test/stir_shaken_test_18.c
stir_shaken_test_18_CFLAGS = -Iinclude
stir_shaken_test_18_LDADD = libstirshaken.la
stir_shaken_as_basic_SOURCES = examples/stir_shaken_as_basic.c
stir_shaken_as_basic_CFLAGS = -Iinclude $(KS_CFLAGS)
stir_shaken_as_basic_LDADD = libstirshaken.la
stir_shaken_vs_basic_SOURCES = examples/stir_shaken_vs_basic.c
stir_shaken_vs_basic_CFLAGS = -Iinclude $(KS_CFLAGS)
stir_shaken_vs_basic_LDADD = libstirshaken.la
stir_shaken_ca_SOURCES = examples/stir_shaken_ca.c util/src/stir_shaken_ca.c util/src/mongoose.c
stir_shaken_ca_CFLAGS = -Iinclude -Iutil/include $(KS_CFLAGS) -DMG_ENABLE_SSL
stir_shaken_ca_LDADD = libstirshaken.la
stir_shaken_cert_req_SOURCES = examples/stir_shaken_cert_req.c
stir_shaken_cert_req_CFLAGS = -Iinclude $(KS_CFLAGS)
stir_shaken_cert_req_LDADD = libstirshaken.la
stir_shaken_as_easy_SOURCES = examples/stir_shaken_as_easy.c
stir_shaken_as_easy_CFLAGS = -Iinclude $(KS_CFLAGS)
stir_shaken_as_easy_LDADD = libstirshaken.la
stir_shaken_vs_easy_SOURCES = examples/stir_shaken_vs_easy.c
stir_shaken_vs_easy_CFLAGS = -Iinclude $(KS_CFLAGS)
stir_shaken_vs_easy_LDADD = libstirshaken.la