1 # ----------- definition for test programs ----------------------------
3 OPENSSLDIR
= /opt
/hardhat
/devkit
/arm
/openssl-0.9
.7e
5 SSLCFLAGS
= -I
$(OPENSSLDIR
)/crypto
-I
$(OPENSSLDIR
)/include -I
$(OPENSSLDIR
)
8 LDFLAGS
+= -L
$(OPENSSLDIR
) -lcrypto
10 SSLAESDIR
= $(OPENSSLDIR
)/crypto
/aes
11 SSLDESDIR
= $(OPENSSLDIR
)/crypto
/des
15 SSLSRCS
+= $(SSLDESDIR
)/set_key.c
$(SSLDESDIR
)/des_enc.c
$(SSLDESDIR
)/ecb_enc.c
16 SSLOBJS
+= $(SSLDESDIR
)/set_key.o
$(SSLDESDIR
)/des_enc.o
$(SSLDESDIR
)/ecb_enc.o
17 SSLSRCS
+= $(SSLDESDIR
)/ecb3_enc.c
18 SSLOBJS
+= $(SSLDESDIR
)/ecb3_enc.o
21 SSLSRCS
+= $(SSLDESDIR
)/ofb64enc.c
$(SSLDESDIR
)/ofb64ede.c
$(SSLDESDIR
)/ofb_enc.c
22 SSLOBJS
+= $(SSLDESDIR
)/ofb64enc.o
$(SSLDESDIR
)/ofb64ede.o
$(SSLDESDIR
)/ofb_enc.o
23 SSLSRCS
+= $(SSLDESDIR
)/cfb64enc.c
$(SSLDESDIR
)/cfb64ede.c
$(SSLDESDIR
)/cfb_enc.c
24 SSLOBJS
+= $(SSLDESDIR
)/cfb64enc.o
$(SSLDESDIR
)/cfb64ede.o
$(SSLDESDIR
)/cfb_enc.o
27 SSLSRCS
+= $(SSLAESDIR
)/aes_core.c
$(SSLAESDIR
)/aes_ecb.c
$(SSLAESDIR
)/aes_cbc.c
$(SSLAESDIR
)/aes_ctr.c
28 SSLOBJS
+= $(SSLAESDIR
)/aes_core.o
$(SSLAESDIR
)/aes_ecb.o
$(SSLAESDIR
)/aes_cbc.o
$(SSLAESDIR
)/aes_ctr.o
30 SSLSRCS
+= $(SSLAESDIR
)/aes_cfb.c
$(SSLAESDIR
)/aes_ofb.c
31 SSLOBJS
+= $(SSLAESDIR
)/aes_cfb.o
$(SSLAESDIR
)/aes_ofb.o