2 # crypto/whrlpool/Makefile
14 CFLAGS= $(INCLUDES) $(CFLAG)
15 ASFLAGS= $(INCLUDES) $(ASFLAG)
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC=wp_dgst.c wp_block.c
24 LIBOBJ=wp_dgst.o wp_block.o $(WP_ASM_OBJ)
29 HEADER= wp_locl.h $(EXHEADER)
31 ALL= $(GENERAL) $(SRC) $(HEADER)
34 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39 $(AR) $(LIB) $(LIBOBJ)
40 $(RANLIB) $(LIB) || echo Never mind.
43 w86mmx-elf.s: asm/wp-mmx.pl ../perlasm/x86asm.pl
44 (cd asm; $(PERL) wp-mmx.pl elf $(CFLAGS) $(PROCESSOR)) > $@
45 w86mmx-cof.s: asm/wp-mmx.pl ../perlasm/x86asm.pl
46 (cd asm; $(PERL) wp-mmx.pl coff $(CFLAGS) $(PROCESSOR)) > $@
47 w86mmx-out.s: asm/wp-mmx.pl ../perlasm/x86asm.pl
48 (cd asm; $(PERL) wp-mmx.pl a.out $(CFLAGS) $(PROCESSOR)) > $@
50 wp-x86_64.s: asm/wp-x86_64.pl
51 $(PERL) asm/wp-x86_64.pl $@
56 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
59 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
60 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
61 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
64 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
65 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
67 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
68 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
77 lint -DLINT $(INCLUDES) $(SRC)>fluff
80 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
81 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
84 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
85 mv -f Makefile.new $(MAKEFILE)
88 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
90 # DO NOT DELETE THIS LINE -- make depend depends on it.
92 wp_block.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
93 wp_block.o: ../../include/openssl/whrlpool.h wp_block.c wp_locl.h
94 wp_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
95 wp_dgst.o: ../../include/openssl/whrlpool.h wp_dgst.c wp_locl.h