summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ripemd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ripemd/Makefile')
-rw-r--r--src/lib/libcrypto/ripemd/Makefile46
1 files changed, 17 insertions, 29 deletions
diff --git a/src/lib/libcrypto/ripemd/Makefile b/src/lib/libcrypto/ripemd/Makefile
index 20c8b4d8db..d55875c20c 100644
--- a/src/lib/libcrypto/ripemd/Makefile
+++ b/src/lib/libcrypto/ripemd/Makefile
@@ -8,11 +8,6 @@ CC= cc
8CPP= $(CC) -E 8CPP= $(CC) -E
9INCLUDES= 9INCLUDES=
10CFLAG=-g 10CFLAG=-g
11INSTALL_PREFIX=
12OPENSSLDIR= /usr/local/ssl
13INSTALLTOP=/usr/local/ssl
14MAKEDEPPROG= makedepend
15MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16MAKEFILE= Makefile 11MAKEFILE= Makefile
17AR= ar r 12AR= ar r
18 13
@@ -20,6 +15,7 @@ RIP_ASM_OBJ=
20 15
21CFLAGS= $(INCLUDES) $(CFLAG) 16CFLAGS= $(INCLUDES) $(CFLAG)
22ASFLAGS= $(INCLUDES) $(ASFLAG) 17ASFLAGS= $(INCLUDES) $(ASFLAG)
18AFLAGS= $(ASFLAGS)
23 19
24GENERAL=Makefile 20GENERAL=Makefile
25TEST=rmdtest.c 21TEST=rmdtest.c
@@ -46,20 +42,15 @@ lib: $(LIBOBJ)
46 $(RANLIB) $(LIB) || echo Never mind. 42 $(RANLIB) $(LIB) || echo Never mind.
47 @touch lib 43 @touch lib
48 44
49# elf 45# ELF
50asm/rm86-elf.s: asm/rmd-586.pl ../perlasm/x86asm.pl 46rm86-elf.s: asm/rmd-586.pl ../perlasm/x86asm.pl
51 (cd asm; $(PERL) rmd-586.pl elf $(CFLAGS) > rm86-elf.s) 47 (cd asm; $(PERL) rmd-586.pl elf $(CFLAGS) > ../$@)
52 48# COFF
49rm86-cof.s: asm/rmd-586.pl ../perlasm/x86asm.pl
50 (cd asm; $(PERL) rmd-586.pl coff $(CFLAGS) > ../$@)
53# a.out 51# a.out
54asm/rm86-out.o: asm/rm86unix.cpp 52rm86-out.s: asm/rmd-586.pl ../perlasm/x86asm.pl
55 $(CPP) -DOUT asm/rm86unix.cpp | as -o asm/rm86-out.o 53 (cd asm; $(PERL) rmd-586.pl a.out $(CFLAGS) > ../$@)
56
57# bsdi
58asm/rm86bsdi.o: asm/rm86unix.cpp
59 $(CPP) -DBSDI asm/rm86unix.cpp | sed 's/ :/:/' | as -o asm/rm86bsdi.o
60
61asm/rm86unix.cpp: asm/rmd-586.pl ../perlasm/x86asm.pl
62 (cd asm; $(PERL) rmd-586.pl cpp >rm86unix.cpp)
63 54
64files: 55files:
65 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 56 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
@@ -70,6 +61,7 @@ links:
70 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 61 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
71 62
72install: 63install:
64 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
73 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 65 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
74 do \ 66 do \
75 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 67 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
@@ -85,6 +77,7 @@ lint:
85 lint -DLINT $(INCLUDES) $(SRC)>fluff 77 lint -DLINT $(INCLUDES) $(SRC)>fluff
86 78
87depend: 79depend:
80 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
88 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 81 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
89 82
90dclean: 83dclean:
@@ -92,20 +85,15 @@ dclean:
92 mv -f Makefile.new $(MAKEFILE) 85 mv -f Makefile.new $(MAKEFILE)
93 86
94clean: 87clean:
95 rm -f asm/rm86unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 88 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
96 89
97# DO NOT DELETE THIS LINE -- make depend depends on it. 90# DO NOT DELETE THIS LINE -- make depend depends on it.
98 91
99rmd_dgst.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 92rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
100rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
101rmd_dgst.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
102rmd_dgst.o: ../../include/openssl/opensslconf.h
103rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h 93rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h
104rmd_dgst.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 94rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h
105rmd_dgst.o: ../../include/openssl/symhacks.h ../md32_common.h rmd_dgst.c
106rmd_dgst.o: rmd_locl.h rmdconst.h
107rmd_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 95rmd_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
108rmd_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 96rmd_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
109rmd_one.o: ../../include/openssl/ripemd.h ../../include/openssl/safestack.h 97rmd_one.o: ../../include/openssl/ossl_typ.h ../../include/openssl/ripemd.h
110rmd_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 98rmd_one.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
111rmd_one.o: rmd_one.c 99rmd_one.o: ../../include/openssl/symhacks.h rmd_one.c