2 # OpenSSL/fips/dsa/Makefile
11 OPENSSLDIR= /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKEDEPPROG= makedepend
14 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
18 CFLAGS= $(INCLUDES) $(CFLAG)
21 TEST=fips_dsatest.c fips_dssvs.c
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= fips_dsa_selftest.c \
26 fips_dsa_lib.c fips_dsa_sign.c
27 LIBOBJ= fips_dsa_selftest.o \
28 fips_dsa_lib.o fips_dsa_sign.o
35 ALL= $(GENERAL) $(SRC) $(HEADER)
38 (cd $(TOP); $(MAKE) DIRS=fips FDIRS=$(DIR) sub_all)
46 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
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)
54 @headerlist="$(EXHEADER)"; for i in $$headerlist; \
56 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
57 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
65 Q=../testvectors/dsa/req
66 A=../testvectors/dsa/rsp
71 if [ -f $(Q)/PQGGen.req ]; then $(TOP)/util/shlib_wrap.sh $(TOP)/test/fips_dssvs pqg < $(Q)/PQGGen.req > $(A)/PQGGen.rsp; fi
72 if [ -f $(Q)/KeyPair.req ]; then $(TOP)/util/shlib_wrap.sh $(TOP)/test/fips_dssvs keypair < $(Q)/KeyPair.req > $(A)/KeyPair.rsp; fi
73 if [ -f $(Q)/SigGen.req ]; then $(TOP)/util/shlib_wrap.sh $(TOP)/test/fips_dssvs siggen < $(Q)/SigGen.req > $(A)/SigGen.rsp; fi
74 if [ -f $(Q)/SigVer.req ]; then $(TOP)/util/shlib_wrap.sh $(TOP)/test/fips_dssvs sigver < $Q/SigVer.req > $A/SigVer.rsp; fi
77 lint -DLINT $(INCLUDES) $(SRC)>fluff
80 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(SRC) $(TEST)
83 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
84 mv -f Makefile.new $(MAKEFILE)
87 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
88 # DO NOT DELETE THIS LINE -- make depend depends on it.
90 fips_dsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
91 fips_dsa_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
92 fips_dsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/fips.h
93 fips_dsa_lib.o: ../../include/openssl/opensslconf.h
94 fips_dsa_lib.o: ../../include/openssl/opensslv.h
95 fips_dsa_lib.o: ../../include/openssl/ossl_typ.h
96 fips_dsa_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
97 fips_dsa_lib.o: ../../include/openssl/symhacks.h fips_dsa_lib.c
98 fips_dsa_selftest.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
99 fips_dsa_selftest.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
100 fips_dsa_selftest.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
101 fips_dsa_selftest.o: ../../include/openssl/err.h ../../include/openssl/evp.h
102 fips_dsa_selftest.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
103 fips_dsa_selftest.o: ../../include/openssl/obj_mac.h
104 fips_dsa_selftest.o: ../../include/openssl/objects.h
105 fips_dsa_selftest.o: ../../include/openssl/opensslconf.h
106 fips_dsa_selftest.o: ../../include/openssl/opensslv.h
107 fips_dsa_selftest.o: ../../include/openssl/ossl_typ.h
108 fips_dsa_selftest.o: ../../include/openssl/safestack.h
109 fips_dsa_selftest.o: ../../include/openssl/stack.h
110 fips_dsa_selftest.o: ../../include/openssl/symhacks.h fips_dsa_selftest.c
111 fips_dsa_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
112 fips_dsa_sign.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
113 fips_dsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
114 fips_dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h
115 fips_dsa_sign.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
116 fips_dsa_sign.o: ../../include/openssl/obj_mac.h
117 fips_dsa_sign.o: ../../include/openssl/objects.h
118 fips_dsa_sign.o: ../../include/openssl/opensslconf.h
119 fips_dsa_sign.o: ../../include/openssl/opensslv.h
120 fips_dsa_sign.o: ../../include/openssl/ossl_typ.h
121 fips_dsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
122 fips_dsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
123 fips_dsa_sign.o: fips_dsa_sign.c
124 fips_dsatest.o: ../../e_os.h ../../include/openssl/asn1.h
125 fips_dsatest.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
126 fips_dsatest.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
127 fips_dsatest.o: ../../include/openssl/des_old.h ../../include/openssl/dsa.h
128 fips_dsatest.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
129 fips_dsatest.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
130 fips_dsatest.o: ../../include/openssl/fips_rand.h ../../include/openssl/lhash.h
131 fips_dsatest.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
132 fips_dsatest.o: ../../include/openssl/opensslconf.h
133 fips_dsatest.o: ../../include/openssl/opensslv.h
134 fips_dsatest.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
135 fips_dsatest.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
136 fips_dsatest.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
137 fips_dsatest.o: ../../include/openssl/ui_compat.h ../fips_utl.h fips_dsatest.c
138 fips_dssvs.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
139 fips_dssvs.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
140 fips_dssvs.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
141 fips_dssvs.o: ../../include/openssl/err.h ../../include/openssl/evp.h
142 fips_dssvs.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
143 fips_dssvs.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
144 fips_dssvs.o: ../../include/openssl/opensslconf.h
145 fips_dssvs.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
146 fips_dssvs.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
147 fips_dssvs.o: ../../include/openssl/symhacks.h ../fips_utl.h fips_dssvs.c