2 # OpenSSL/crypto/rand/Makefile
13 CFLAGS= $(INCLUDES) $(CFLAG)
19 LIB=$(TOP)/libcrypto.a
20 LIBSRC=md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \
21 rand_win.c rand_unix.c rand_os2.c rand_nw.c
22 LIBOBJ=md_rand.o randfile.o rand_lib.o rand_err.o rand_egd.o \
23 rand_win.o rand_unix.o rand_os2.o rand_nw.o
30 ALL= $(GENERAL) $(SRC) $(HEADER)
33 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
38 $(AR) $(LIB) $(LIBOBJ)
39 $(RANLIB) $(LIB) || echo Never mind.
43 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
46 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
47 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
48 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
51 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
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 ); \
64 lint -DLINT $(INCLUDES) $(SRC)>fluff
67 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
68 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
71 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
72 mv -f Makefile.new $(MAKEFILE)
75 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
77 # DO NOT DELETE THIS LINE -- make depend depends on it.
79 md_rand.o: ../../e_os.h ../../include/openssl/asn1.h
80 md_rand.o: ../../include/openssl/bio.h ../../include/openssl/err.h
81 md_rand.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
82 md_rand.o: ../../include/openssl/objects.h ../../include/openssl/rand.h
83 md_rand.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
84 md_rand.o: md_rand.c rand_lcl.h
85 rand_egd.o: ../../include/openssl/rand.h rand_egd.c
86 rand_err.o: ../../include/openssl/bio.h ../../include/openssl/err.h
87 rand_err.o: ../../include/openssl/lhash.h ../../include/openssl/rand.h
88 rand_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
89 rand_err.o: rand_err.c
90 rand_lib.o: ../../e_os.h ../../include/openssl/asn1.h
91 rand_lib.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
92 rand_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
93 rand_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
94 rand_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
95 rand_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
96 rand_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
97 rand_lib.o: ../cryptlib.h rand_lib.c
98 rand_nw.o: ../../e_os.h ../../include/openssl/asn1.h
99 rand_nw.o: ../../include/openssl/bio.h ../../include/openssl/err.h
100 rand_nw.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
101 rand_nw.o: ../../include/openssl/objects.h ../../include/openssl/rand.h
102 rand_nw.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
103 rand_nw.o: ../cryptlib.h rand_lcl.h rand_nw.c
104 rand_os2.o: ../../e_os.h ../../include/openssl/asn1.h
105 rand_os2.o: ../../include/openssl/bio.h ../../include/openssl/err.h
106 rand_os2.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
107 rand_os2.o: ../../include/openssl/objects.h ../../include/openssl/rand.h
108 rand_os2.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
109 rand_os2.o: ../cryptlib.h rand_lcl.h rand_os2.c
110 rand_unix.o: ../../e_os.h ../../include/openssl/asn1.h
111 rand_unix.o: ../../include/openssl/bio.h ../../include/openssl/err.h
112 rand_unix.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
113 rand_unix.o: ../../include/openssl/objects.h ../../include/openssl/rand.h
114 rand_unix.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
115 rand_unix.o: ../cryptlib.h rand_lcl.h rand_unix.c
116 rand_win.o: ../../e_os.h ../../include/openssl/asn1.h
117 rand_win.o: ../../include/openssl/bio.h ../../include/openssl/err.h
118 rand_win.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
119 rand_win.o: ../../include/openssl/objects.h ../../include/openssl/rand.h
120 rand_win.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
121 rand_win.o: ../cryptlib.h rand_lcl.h rand_win.c
122 randfile.o: ../../e_os.h ../../include/openssl/rand.h
123 randfile.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
124 randfile.o: randfile.c