OLD | NEW |
| (Empty) |
1 # | |
2 # OpenSSL/fips/dsa/Makefile | |
3 # | |
4 | |
5 DIR= dsa | |
6 TOP= ../.. | |
7 CC= cc | |
8 INCLUDES= | |
9 CFLAG=-g | |
10 INSTALL_PREFIX= | |
11 OPENSSLDIR= /usr/local/ssl | |
12 INSTALLTOP=/usr/local/ssl | |
13 MAKEDEPPROG= makedepend | |
14 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | |
15 MAKEFILE= Makefile | |
16 AR= ar r | |
17 | |
18 CFLAGS= $(INCLUDES) $(CFLAG) | |
19 | |
20 GENERAL=Makefile | |
21 TEST=fips_dsatest.c fips_dssvs.c | |
22 APPS= | |
23 | |
24 LIB=$(TOP)/libcrypto.a | |
25 LIBSRC=fips_dsa_ossl.c fips_dsa_gen.c fips_dsa_selftest.c fips_dsa_key.c \ | |
26 fips_dsa_lib.c fips_dsa_sign.c | |
27 LIBOBJ=fips_dsa_ossl.o fips_dsa_gen.o fips_dsa_selftest.o fips_dsa_key.o \ | |
28 fips_dsa_lib.o fips_dsa_sign.o | |
29 | |
30 SRC= $(LIBSRC) | |
31 | |
32 EXHEADER= | |
33 HEADER= $(EXHEADER) | |
34 | |
35 ALL= $(GENERAL) $(SRC) $(HEADER) | |
36 | |
37 top: | |
38 (cd $(TOP); $(MAKE) DIRS=fips FDIRS=$(DIR) sub_all) | |
39 | |
40 all: lib | |
41 | |
42 lib: $(LIBOBJ) | |
43 @echo $(LIBOBJ) > lib | |
44 | |
45 files: | |
46 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO | |
47 | |
48 links: | |
49 @$(PERL) $(TOP)/util/mklink.pl $(TOP)/include/openssl $(EXHEADER) | |
50 @$(PERL) $(TOP)/util/mklink.pl $(TOP)/test $(TEST) | |
51 @$(PERL) $(TOP)/util/mklink.pl $(TOP)/apps $(APPS) | |
52 | |
53 install: | |
54 @headerlist="$(EXHEADER)"; for i in $$headerlist; \ | |
55 do \ | |
56 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | |
57 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | |
58 done | |
59 | |
60 tags: | |
61 ctags $(SRC) | |
62 | |
63 tests: | |
64 | |
65 Q=../testvectors/dsa/req | |
66 A=../testvectors/dsa/rsp | |
67 | |
68 fips_test: | |
69 -rm -rf $A | |
70 mkdir $A | |
71 if [ -f $(Q)/PQGGen.req ]; then $(TOP)/util/shlib_wrap.sh $(TOP)/test/fi
ps_dssvs pqg < $(Q)/PQGGen.req > $(A)/PQGGen.rsp; fi | |
72 if [ -f $(Q)/KeyPair.req ]; then $(TOP)/util/shlib_wrap.sh $(TOP)/test/f
ips_dssvs keypair < $(Q)/KeyPair.req > $(A)/KeyPair.rsp; fi | |
73 if [ -f $(Q)/SigGen.req ]; then $(TOP)/util/shlib_wrap.sh $(TOP)/test/fi
ps_dssvs siggen < $(Q)/SigGen.req > $(A)/SigGen.rsp; fi | |
74 if [ -f $(Q)/SigVer.req ]; then $(TOP)/util/shlib_wrap.sh $(TOP)/test/fi
ps_dssvs sigver < $Q/SigVer.req > $A/SigVer.rsp; fi | |
75 | |
76 lint: | |
77 lint -DLINT $(INCLUDES) $(SRC)>fluff | |
78 | |
79 depend: | |
80 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(SRC) $(TEST) | |
81 | |
82 dclean: | |
83 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKE
FILE) >Makefile.new | |
84 mv -f Makefile.new $(MAKEFILE) | |
85 | |
86 clean: | |
87 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | |
88 # DO NOT DELETE THIS LINE -- make depend depends on it. | |
89 | |
90 fips_dsa_gen.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | |
91 fips_dsa_gen.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | |
92 fips_dsa_gen.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
93 fips_dsa_gen.o: ../../include/openssl/err.h ../../include/openssl/evp.h | |
94 fips_dsa_gen.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h | |
95 fips_dsa_gen.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | |
96 fips_dsa_gen.o: ../../include/openssl/opensslconf.h | |
97 fips_dsa_gen.o: ../../include/openssl/opensslv.h | |
98 fips_dsa_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | |
99 fips_dsa_gen.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | |
100 fips_dsa_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
101 fips_dsa_gen.o: fips_dsa_gen.c | |
102 fips_dsa_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | |
103 fips_dsa_key.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | |
104 fips_dsa_key.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
105 fips_dsa_key.o: ../../include/openssl/err.h ../../include/openssl/evp.h | |
106 fips_dsa_key.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h | |
107 fips_dsa_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | |
108 fips_dsa_key.o: ../../include/openssl/opensslconf.h | |
109 fips_dsa_key.o: ../../include/openssl/opensslv.h | |
110 fips_dsa_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | |
111 fips_dsa_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
112 fips_dsa_key.o: ../../include/openssl/symhacks.h ../fips_locl.h fips_dsa_key.c | |
113 fips_dsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | |
114 fips_dsa_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h | |
115 fips_dsa_lib.o: ../../include/openssl/e_os2.h | |
116 fips_dsa_lib.o: ../../include/openssl/opensslconf.h | |
117 fips_dsa_lib.o: ../../include/openssl/opensslv.h | |
118 fips_dsa_lib.o: ../../include/openssl/ossl_typ.h | |
119 fips_dsa_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
120 fips_dsa_lib.o: ../../include/openssl/symhacks.h fips_dsa_lib.c | |
121 fips_dsa_ossl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | |
122 fips_dsa_ossl.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | |
123 fips_dsa_ossl.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h | |
124 fips_dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | |
125 fips_dsa_ossl.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h | |
126 fips_dsa_ossl.o: ../../include/openssl/engine.h ../../include/openssl/err.h | |
127 fips_dsa_ossl.o: ../../include/openssl/evp.h ../../include/openssl/fips.h | |
128 fips_dsa_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | |
129 fips_dsa_ossl.o: ../../include/openssl/objects.h | |
130 fips_dsa_ossl.o: ../../include/openssl/opensslconf.h | |
131 fips_dsa_ossl.o: ../../include/openssl/opensslv.h | |
132 fips_dsa_ossl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | |
133 fips_dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | |
134 fips_dsa_ossl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | |
135 fips_dsa_ossl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | |
136 fips_dsa_ossl.o: ../../include/openssl/x509_vfy.h fips_dsa_ossl.c | |
137 fips_dsa_selftest.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | |
138 fips_dsa_selftest.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | |
139 fips_dsa_selftest.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
140 fips_dsa_selftest.o: ../../include/openssl/err.h ../../include/openssl/evp.h | |
141 fips_dsa_selftest.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h | |
142 fips_dsa_selftest.o: ../../include/openssl/obj_mac.h | |
143 fips_dsa_selftest.o: ../../include/openssl/objects.h | |
144 fips_dsa_selftest.o: ../../include/openssl/opensslconf.h | |
145 fips_dsa_selftest.o: ../../include/openssl/opensslv.h | |
146 fips_dsa_selftest.o: ../../include/openssl/ossl_typ.h | |
147 fips_dsa_selftest.o: ../../include/openssl/safestack.h | |
148 fips_dsa_selftest.o: ../../include/openssl/stack.h | |
149 fips_dsa_selftest.o: ../../include/openssl/symhacks.h fips_dsa_selftest.c | |
150 fips_dsa_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | |
151 fips_dsa_sign.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | |
152 fips_dsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
153 fips_dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h | |
154 fips_dsa_sign.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h | |
155 fips_dsa_sign.o: ../../include/openssl/obj_mac.h | |
156 fips_dsa_sign.o: ../../include/openssl/objects.h | |
157 fips_dsa_sign.o: ../../include/openssl/opensslconf.h | |
158 fips_dsa_sign.o: ../../include/openssl/opensslv.h | |
159 fips_dsa_sign.o: ../../include/openssl/ossl_typ.h | |
160 fips_dsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | |
161 fips_dsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
162 fips_dsa_sign.o: fips_dsa_sign.c | |
163 fips_dsatest.o: ../../e_os.h ../../include/openssl/asn1.h | |
164 fips_dsatest.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | |
165 fips_dsatest.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
166 fips_dsatest.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | |
167 fips_dsatest.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
168 fips_dsatest.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h | |
169 fips_dsatest.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h | |
170 fips_dsatest.o: ../../include/openssl/err.h ../../include/openssl/evp.h | |
171 fips_dsatest.o: ../../include/openssl/fips.h ../../include/openssl/fips_rand.h | |
172 fips_dsatest.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | |
173 fips_dsatest.o: ../../include/openssl/objects.h | |
174 fips_dsatest.o: ../../include/openssl/opensslconf.h | |
175 fips_dsatest.o: ../../include/openssl/opensslv.h | |
176 fips_dsatest.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | |
177 fips_dsatest.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | |
178 fips_dsatest.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | |
179 fips_dsatest.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | |
180 fips_dsatest.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h | |
181 fips_dsatest.o: ../../include/openssl/x509_vfy.h ../fips_utl.h fips_dsatest.c | |
182 fips_dssvs.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | |
183 fips_dssvs.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | |
184 fips_dssvs.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
185 fips_dssvs.o: ../../include/openssl/err.h ../../include/openssl/evp.h | |
186 fips_dssvs.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h | |
187 fips_dssvs.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | |
188 fips_dssvs.o: ../../include/openssl/opensslconf.h | |
189 fips_dssvs.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | |
190 fips_dssvs.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
191 fips_dssvs.o: ../../include/openssl/symhacks.h ../fips_utl.h fips_dssvs.c | |
OLD | NEW |