summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rand/Makefile.ssl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rand/Makefile.ssl')
-rw-r--r--src/lib/libcrypto/rand/Makefile.ssl111
1 files changed, 94 insertions, 17 deletions
diff --git a/src/lib/libcrypto/rand/Makefile.ssl b/src/lib/libcrypto/rand/Makefile.ssl
index d04f0a9b43..ccf65f0d78 100644
--- a/src/lib/libcrypto/rand/Makefile.ssl
+++ b/src/lib/libcrypto/rand/Makefile.ssl
@@ -7,9 +7,12 @@ TOP= ../..
7CC= cc 7CC= cc
8INCLUDES= 8INCLUDES=
9CFLAG=-g 9CFLAG=-g
10INSTALL_PREFIX=
11OPENSSLDIR= /usr/local/ssl
10INSTALLTOP=/usr/local/ssl 12INSTALLTOP=/usr/local/ssl
11MAKE= make -f Makefile.ssl 13MAKE= make -f Makefile.ssl
12MAKEDEPEND= makedepend -f Makefile.ssl 14MAKEDEPPROG= makedepend
15MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
13MAKEFILE= Makefile.ssl 16MAKEFILE= Makefile.ssl
14AR= ar r 17AR= ar r
15 18
@@ -20,8 +23,10 @@ TEST= randtest.c
20APPS= 23APPS=
21 24
22LIB=$(TOP)/libcrypto.a 25LIB=$(TOP)/libcrypto.a
23LIBSRC=md_rand.c randfile.c 26LIBSRC=md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \
24LIBOBJ=md_rand.o randfile.o 27 rand_win.c rand_unix.c rand_os2.c
28LIBOBJ=md_rand.o randfile.o rand_lib.o rand_err.o rand_egd.o \
29 rand_win.o rand_unix.o rand_os2.o
25 30
26SRC= $(LIBSRC) 31SRC= $(LIBSRC)
27 32
@@ -37,24 +42,23 @@ all: lib
37 42
38lib: $(LIBOBJ) 43lib: $(LIBOBJ)
39 $(AR) $(LIB) $(LIBOBJ) 44 $(AR) $(LIB) $(LIBOBJ)
40 sh $(TOP)/util/ranlib.sh $(LIB) 45 $(RANLIB) $(LIB) || echo Never mind.
41 @touch lib 46 @touch lib
42 47
43files: 48files:
44 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO 49 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
45 50
46links: 51links:
47 /bin/rm -f Makefile 52 @$(TOP)/util/point.sh Makefile.ssl Makefile
48 $(TOP)/util/point.sh Makefile.ssl Makefile ; 53 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
49 $(TOP)/util/mklink.sh ../../include $(EXHEADER) 54 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
50 $(TOP)/util/mklink.sh ../../test $(TEST) 55 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
51 $(TOP)/util/mklink.sh ../../apps $(APPS)
52 56
53install: 57install:
54 @for i in $(EXHEADER) ; \ 58 @for i in $(EXHEADER) ; \
55 do \ 59 do \
56 (cp $$i $(INSTALLTOP)/include/$$i; \ 60 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
57 chmod 644 $(INSTALLTOP)/include/$$i ); \ 61 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
58 done; 62 done;
59 63
60tags: 64tags:
@@ -66,15 +70,88 @@ lint:
66 lint -DLINT $(INCLUDES) $(SRC)>fluff 70 lint -DLINT $(INCLUDES) $(SRC)>fluff
67 71
68depend: 72depend:
69 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) 73 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
70 74
71dclean: 75dclean:
72 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 76 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73 mv -f Makefile.new $(MAKEFILE) 77 mv -f Makefile.new $(MAKEFILE)
74 78
75clean: 79clean:
76 /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 80 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
77
78errors:
79 81
80# DO NOT DELETE THIS LINE -- make depend depends on it. 82# DO NOT DELETE THIS LINE -- make depend depends on it.
83
84md_rand.o: ../../e_os.h ../../include/openssl/asn1.h
85md_rand.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
86md_rand.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
87md_rand.o: ../../include/openssl/err.h ../../include/openssl/evp.h
88md_rand.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
89md_rand.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
90md_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
91md_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
92md_rand.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
93md_rand.o: ../../include/openssl/symhacks.h md_rand.c rand_lcl.h
94rand_egd.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
95rand_egd.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
96rand_egd.o: rand_egd.c
97rand_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
98rand_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
99rand_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
100rand_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
101rand_err.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
102rand_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
103rand_err.o: rand_err.c
104rand_lib.o: ../../e_os.h ../../include/openssl/asn1.h
105rand_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
106rand_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
107rand_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
108rand_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
109rand_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
110rand_lib.o: ../../include/openssl/opensslconf.h
111rand_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
112rand_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
113rand_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
114rand_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
115rand_lib.o: ../cryptlib.h rand_lib.c
116rand_os2.o: ../../e_os.h ../../include/openssl/asn1.h
117rand_os2.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
118rand_os2.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
119rand_os2.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
120rand_os2.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
121rand_os2.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
122rand_os2.o: ../../include/openssl/opensslconf.h
123rand_os2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
124rand_os2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
125rand_os2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
126rand_os2.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
127rand_os2.o: rand_os2.c
128rand_unix.o: ../../e_os.h ../../include/openssl/asn1.h
129rand_unix.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
130rand_unix.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
131rand_unix.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
132rand_unix.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
133rand_unix.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
134rand_unix.o: ../../include/openssl/opensslconf.h
135rand_unix.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
136rand_unix.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
137rand_unix.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
138rand_unix.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
139rand_unix.o: rand_unix.c
140rand_win.o: ../../e_os.h ../../include/openssl/asn1.h
141rand_win.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
142rand_win.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
143rand_win.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
144rand_win.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
145rand_win.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
146rand_win.o: ../../include/openssl/opensslconf.h
147rand_win.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
148rand_win.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
149rand_win.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
150rand_win.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
151rand_win.o: rand_win.c
152randfile.o: ../../e_os.h ../../include/openssl/crypto.h
153randfile.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
154randfile.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
155randfile.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
156randfile.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
157randfile.o: randfile.c