2 # OpenSSL/fips/hmac/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)
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= fips_hmac_selftest.c
26 LIBOBJ= fips_hmac_selftest.o
33 ALL= $(GENERAL) $(SRC) $(HEADER)
36 (cd $(TOP); $(MAKE) DIRS=fips FDIRS=$(DIR) sub_all)
44 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
47 @$(PERL) $(TOP)/util/mklink.pl $(TOP)/include/openssl $(EXHEADER)
48 @$(PERL) $(TOP)/util/mklink.pl $(TOP)/test $(TEST)
49 @$(PERL) $(TOP)/util/mklink.pl $(TOP)/apps $(APPS)
52 @headerlist="$(EXHEADER)"; for i in $$headerlist; \
54 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
55 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
63 Q=../testvectors/hmac/req
64 A=../testvectors/hmac/rsp
69 if [ -f $(Q)/HMAC.req ]; then $(TOP)/util/shlib_wrap.sh $(TOP)/test/fips_hmactest < $(Q)/HMAC.req > $(A)/HMAC.rsp; fi
72 lint -DLINT $(INCLUDES) $(SRC)>fluff
75 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(SRC) $(TEST)
78 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
79 mv -f Makefile.new $(MAKEFILE)
82 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
83 # DO NOT DELETE THIS LINE -- make depend depends on it.
85 fips_hmac_selftest.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
86 fips_hmac_selftest.o: ../../include/openssl/crypto.h
87 fips_hmac_selftest.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
88 fips_hmac_selftest.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
89 fips_hmac_selftest.o: ../../include/openssl/hmac.h
90 fips_hmac_selftest.o: ../../include/openssl/lhash.h
91 fips_hmac_selftest.o: ../../include/openssl/obj_mac.h
92 fips_hmac_selftest.o: ../../include/openssl/objects.h
93 fips_hmac_selftest.o: ../../include/openssl/opensslconf.h
94 fips_hmac_selftest.o: ../../include/openssl/opensslv.h
95 fips_hmac_selftest.o: ../../include/openssl/ossl_typ.h
96 fips_hmac_selftest.o: ../../include/openssl/safestack.h
97 fips_hmac_selftest.o: ../../include/openssl/stack.h
98 fips_hmac_selftest.o: ../../include/openssl/symhacks.h ../fips_locl.h
99 fips_hmac_selftest.o: fips_hmac_selftest.c
100 fips_hmactest.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
101 fips_hmactest.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
102 fips_hmactest.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
103 fips_hmactest.o: ../../include/openssl/ec.h ../../include/openssl/err.h
104 fips_hmactest.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
105 fips_hmactest.o: ../../include/openssl/fips_rand.h ../../include/openssl/hmac.h
106 fips_hmactest.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
107 fips_hmactest.o: ../../include/openssl/objects.h
108 fips_hmactest.o: ../../include/openssl/opensslconf.h
109 fips_hmactest.o: ../../include/openssl/opensslv.h
110 fips_hmactest.o: ../../include/openssl/ossl_typ.h
111 fips_hmactest.o: ../../include/openssl/safestack.h
112 fips_hmactest.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
113 fips_hmactest.o: ../fips_utl.h fips_hmactest.c