69
69
VERSION = @VERSION@
71
noinst_LIBRARIES = libor.a
71
noinst_LIBRARIES = libor.a libor-crypto.a
73
73
#CFLAGS = -Wall -Wpointer-arith -O2
75
libor_a_SOURCES = log.c crypto.c fakepoll.c util.c aes.c tortls.c
75
libor_a_SOURCES = log.c fakepoll.c util.c compat.c container.c
76
libor_crypto_a_SOURCES = crypto.c aes.c tortls.c torgzip.c
77
noinst_HEADERS = log.h crypto.h fakepoll.h test.h util.h aes.h torint.h tortls.h strlcpy.c strlcat.c
78
noinst_HEADERS = log.h crypto.h fakepoll.h test.h util.h compat.h aes.h torint.h tortls.h strlcpy.c strlcat.c torgzip.h container.h
78
79
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
79
80
CONFIG_HEADER = ../../orconfig.h
80
81
CONFIG_CLEAN_FILES =
86
87
LDFLAGS = @LDFLAGS@
89
libor_a_OBJECTS = log.o crypto.o fakepoll.o util.o aes.o tortls.o
90
libor_a_OBJECTS = log.o fakepoll.o util.o compat.o container.o
91
libor_crypto_a_LIBADD =
92
libor_crypto_a_OBJECTS = crypto.o aes.o tortls.o torgzip.o
92
95
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
148
151
$(AR) cru libor.a $(libor_a_OBJECTS) $(libor_a_LIBADD)
149
152
$(RANLIB) libor.a
154
libor-crypto.a: $(libor_crypto_a_OBJECTS) $(libor_crypto_a_DEPENDENCIES)
155
-rm -f libor-crypto.a
156
$(AR) cru libor-crypto.a $(libor_crypto_a_OBJECTS) $(libor_crypto_a_LIBADD)
157
$(RANLIB) libor-crypto.a
153
161
ID: $(HEADERS) $(SOURCES) $(LISP)
192
200
|| cp -p $$d/$$file $(distdir)/$$file || :; \
195
aes.o: aes.c ../../orconfig.h aes.h ../common/torint.h util.h torint.h
196
crypto.o: crypto.c ../../orconfig.h crypto.h log.h aes.h \
197
../common/torint.h util.h torint.h
198
fakepoll.o: fakepoll.c ../../orconfig.h fakepoll.h util.h torint.h log.h
199
log.o: log.c ../../orconfig.h util.h torint.h log.h
200
tortls.o: tortls.c crypto.h tortls.h ../common/crypto.h util.h \
201
../../orconfig.h torint.h log.h
202
util.o: util.c ../../orconfig.h util.h torint.h log.h crypto.h \
203
../or/tree.h strlcpy.c strlcat.c
203
aes.o: aes.c ../../orconfig.h aes.h ../common/torint.h util.h torint.h \
205
compat.o: compat.c ../../orconfig.h fakepoll.h compat.h torint.h log.h \
206
../common/compat.h util.h strlcpy.c strlcat.c
207
container.o: container.c compat.h ../../orconfig.h torint.h util.h log.h \
208
../common/compat.h ../or/tree.h container.h
209
crypto.o: crypto.c ../../orconfig.h crypto.h log.h ../common/compat.h \
210
../common/torint.h aes.h util.h torint.h compat.h container.h
211
fakepoll.o: fakepoll.c ../../orconfig.h fakepoll.h util.h torint.h \
212
compat.h log.h ../common/compat.h
213
log.o: log.c ../../orconfig.h util.h torint.h compat.h log.h \
215
torgzip.o: torgzip.c ../../orconfig.h util.h torint.h compat.h log.h \
216
../common/compat.h torgzip.h
217
tortls.o: tortls.c crypto.h tortls.h ../common/crypto.h \
218
../common/compat.h ../../orconfig.h ../common/torint.h util.h \
219
torint.h compat.h log.h
220
util.o: util.c ../../orconfig.h util.h torint.h compat.h log.h \
221
../common/compat.h crypto.h