2 # OpenSSL/fips/des/Makefile
11 OPENSSLDIR= /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKEDEPPROG= makedepend
14 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
18 ASFLAGS= $(INCLUDES) $(ASFLAG)
21 CFLAGS= $(INCLUDES) $(CFLAG)
27 LIB=$(TOP)/libcrypto.a
28 LIBSRC=fips_des_selftest.c
29 LIBOBJ=fips_des_selftest.o
36 ALL= $(GENERAL) $(SRC) $(HEADER)
39 (cd $(TOP); $(MAKE) DIRS=fips FDIRS=$(DIR) sub_all)
47 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
50 @$(PERL) $(TOP)/util/mklink.pl $(TOP)/include/openssl $(EXHEADER)
51 @$(PERL) $(TOP)/util/mklink.pl $(TOP)/test $(TEST)
52 @$(PERL) $(TOP)/util/mklink.pl $(TOP)/apps $(APPS)
55 @headerlist="$(EXHEADER)"; for i in $$headerlist; \
57 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
58 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
67 -find ../testvectors/tdes/req -name '*.req' > testlist
68 -rm -rf ../testvectors/tdes/rsp
69 mkdir ../testvectors/tdes/rsp
70 if [ -s testlist ]; then $(TOP)/util/shlib_wrap.sh $(TOP)/test/fips_desmovs -d testlist; fi
73 lint -DLINT $(INCLUDES) $(SRC)>fluff
76 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) \
79 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
80 mv -f Makefile.new $(MAKEFILE)
83 rm -f *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff testlist
84 # DO NOT DELETE THIS LINE -- make depend depends on it.
86 fips_des_selftest.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
87 fips_des_selftest.o: ../../include/openssl/crypto.h
88 fips_des_selftest.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
89 fips_des_selftest.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
90 fips_des_selftest.o: ../../include/openssl/lhash.h
91 fips_des_selftest.o: ../../include/openssl/obj_mac.h
92 fips_des_selftest.o: ../../include/openssl/objects.h
93 fips_des_selftest.o: ../../include/openssl/opensslconf.h
94 fips_des_selftest.o: ../../include/openssl/opensslv.h
95 fips_des_selftest.o: ../../include/openssl/ossl_typ.h
96 fips_des_selftest.o: ../../include/openssl/safestack.h
97 fips_des_selftest.o: ../../include/openssl/stack.h
98 fips_des_selftest.o: ../../include/openssl/symhacks.h fips_des_selftest.c
99 fips_desmovs.o: ../../e_os.h ../../include/openssl/asn1.h
100 fips_desmovs.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
101 fips_desmovs.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
102 fips_desmovs.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
103 fips_desmovs.o: ../../include/openssl/err.h ../../include/openssl/evp.h
104 fips_desmovs.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
105 fips_desmovs.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
106 fips_desmovs.o: ../../include/openssl/opensslconf.h
107 fips_desmovs.o: ../../include/openssl/opensslv.h
108 fips_desmovs.o: ../../include/openssl/ossl_typ.h
109 fips_desmovs.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
110 fips_desmovs.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
111 fips_desmovs.o: ../../include/openssl/ui_compat.h ../fips_utl.h fips_desmovs.c