blob: 0e59577b0c60051c44a75e4e111faac5fcc59540 (
plain)
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
119
120
121
122
123
124
125
126
127
128
129
130
|
include $(top_srcdir)/Makefile.decl
noinst_LTLIBRARIES = \
libegg.la \
libegg-asn1x.la \
libegg-buffer.la \
libegg-creds.la \
libegg-dbus.la \
libegg-secure.la \
libegg-prompt.la \
libegg-hex.la \
libegg-test.la
INCLUDES = \
-I$(top_srcdir) \
-I$(top_builddir)
libegg_la_CFLAGS = \
$(LIBTASN1_CFLAGS) \
$(GLIB_CFLAGS)
libegg_la_SOURCES = \
dotlock.c dotlock.h \
egg-armor.c egg-armor.h \
egg-asn1x.c egg-asn1x.h \
egg-asn1-defs.c egg-asn1-defs.h \
egg-buffer.c egg-buffer.h \
egg-byte-array.c egg-byte-array.h \
egg-cleanup.c egg-cleanup.h \
egg-dh.c egg-dh.h \
egg-dn.c egg-dn.h \
egg-error.h \
egg-hex.c egg-hex.h \
egg-hkdf.c egg-hkdf.h \
egg-libgcrypt.c egg-libgcrypt.h \
egg-mkdtemp.c egg-mkdtemp.h \
egg-oid.c egg-oid.h \
egg-padding.c egg-padding.h \
egg-openssl.c egg-openssl.h \
egg-unix-credentials.c egg-unix-credentials.h \
egg-secure-memory.c egg-secure-memory.h \
egg-spawn.c egg-spawn.h \
egg-symkey.c egg-symkey.h \
egg-testing.c egg-testing.h \
egg-timegm.c egg-timegm.h \
egg-asn1-defs.h \
pk.asn.h pkix.asn.h \
$(NULL)
EXTRA_DIST = \
pk.asn \
pkix.asn \
$(NULL)
# --------------------------------------------------------------------
# COMMON STUFF COMPILED INTO SMALLER COMPONENTS
libegg_asn1x_la_SOURCES = \
egg-asn1x.c egg-asn1x.h \
egg-asn1-defs.c egg-asn1-defs.h \
$(BUILT_SOURCES)
libegg_asn1x_la_CFLAGS = \
$(LIBTASN1_CFLAGS) \
$(GLIB_CFLAGS)
libegg_secure_la_SOURCES = \
egg-secure-memory.c egg-secure-memory.h
libegg_buffer_la_SOURCES = \
egg-buffer.c egg-buffer.h
libegg_creds_la_SOURCES = \
egg-unix-credentials.c egg-unix-credentials.h
libegg_dbus_la_SOURCES = \
egg-dbus.c egg-dbus.h
libegg_dbus_la_CFLAGS = \
$(DBUS_CFLAGS) \
$(GLIB_CFLAGS)
libegg_dbus_la_LIBADD = \
$(DBUS_LIBS) \
$(GLIB_LIBS)
libegg_prompt_la_SOURCES = \
egg-dh.c egg-dh.h \
egg-hex.c egg-hex.h \
egg-hkdf.c egg-hkdf.h \
egg-libgcrypt.c egg-libgcrypt.h \
egg-padding.c egg-padding.h \
egg-secure-memory.c egg-secure-memory.h
libegg_prompt_la_CFLAGS = \
-DEGG_DH_NO_ASN1=1 \
$(LIBGCRYPT_CFLAGS) \
$(GLIB_CFLAGS)
libegg_prompt_la_LIBS = \
$(LIBGCRYPT_LIBS) \
$(GLIB_LIBS)
libegg_hex_la_SOURCES = \
egg-hex.c egg-hex.h
libegg_hex_la_CFLAGS = \
$(GLIB_CFLAGS)
libegg_hex_la_LIBS = \
$(GLIB_LIBS)
libegg_test_la_SOURCES = \
egg-mkdtemp.c egg-mkdtemp.h \
egg-testing.c egg-testing.h
libegg_test_la_CFLAGS = \
$(GLIB_CFLAGS)
libegg_test_la_LIBS = \
$(GLIB_LIBS)
# -------------------------------------------------------------------
SUBDIRS = . tests
asn:
asn1Parser -o pk.asn.h pk.asn
asn1Parser -o pkix.asn.h pkix.asn
sed -i 's|#include.*|/* \0 */|' pk.asn.h pkix.asn.h
|