Bring objects.pl output even closer to new format.
[openssl.git] / crypto / rand / Makefile
1 #
2 # OpenSSL/crypto/rand/Makefile
3 #
4
5 DIR=    rand
6 TOP=    ../..
7 CC=     cc
8 INCLUDES=
9 CFLAG=-g
10 MAKEFILE=       Makefile
11 AR=             ar r
12
13 CFLAGS= $(INCLUDES) $(CFLAG)
14
15 GENERAL=Makefile
16 TEST= randtest.c
17 APPS=
18
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
24
25 SRC= $(LIBSRC)
26
27 EXHEADER= rand.h
28 HEADER= $(EXHEADER)
29
30 ALL=    $(GENERAL) $(SRC) $(HEADER)
31
32 top:
33         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
34
35 all:    lib
36
37 lib:    $(LIBOBJ)
38         $(AR) $(LIB) $(LIBOBJ)
39         $(RANLIB) $(LIB) || echo Never mind.
40         @touch lib
41
42 files:
43         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
44
45 links:
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)
49
50 install:
51         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
52         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
53         do  \
54         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
55         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
56         done;
57
58 tags:
59         ctags $(SRC)
60
61 tests:
62
63 lint:
64         lint -DLINT $(INCLUDES) $(SRC)>fluff
65
66 depend:
67         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
68         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
69
70 dclean:
71         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
72         mv -f Makefile.new $(MAKEFILE)
73
74 clean:
75         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
76
77 # DO NOT DELETE THIS LINE -- make depend depends on it.
78
79 md_rand.o: ../../e_os.h ../../include/openssl/asn1.h
80 md_rand.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
81 md_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
82 md_rand.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
83 md_rand.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
84 md_rand.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
85 md_rand.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
86 md_rand.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
87 md_rand.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
88 md_rand.o: md_rand.c rand_lcl.h
89 rand_egd.o: ../../include/openssl/buffer.h ../../include/openssl/e_os2.h
90 rand_egd.o: ../../include/openssl/opensslconf.h
91 rand_egd.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
92 rand_egd.o: rand_egd.c
93 rand_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
94 rand_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
95 rand_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
96 rand_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
97 rand_err.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
98 rand_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
99 rand_err.o: rand_err.c
100 rand_lib.o: ../../e_os.h ../../include/openssl/asn1.h
101 rand_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
102 rand_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
103 rand_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
104 rand_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
105 rand_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
106 rand_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
107 rand_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
108 rand_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
109 rand_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
110 rand_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
111 rand_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
112 rand_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
113 rand_lib.o: ../cryptlib.h rand_lib.c
114 rand_nw.o: ../../e_os.h ../../include/openssl/asn1.h
115 rand_nw.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
116 rand_nw.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
117 rand_nw.o: ../../include/openssl/err.h ../../include/openssl/evp.h
118 rand_nw.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
119 rand_nw.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
120 rand_nw.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
121 rand_nw.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
122 rand_nw.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
123 rand_nw.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h rand_nw.c
124 rand_os2.o: ../../e_os.h ../../include/openssl/asn1.h
125 rand_os2.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
126 rand_os2.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
127 rand_os2.o: ../../include/openssl/err.h ../../include/openssl/evp.h
128 rand_os2.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
129 rand_os2.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
130 rand_os2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
131 rand_os2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
132 rand_os2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
133 rand_os2.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
134 rand_os2.o: rand_os2.c
135 rand_unix.o: ../../e_os.h ../../include/openssl/asn1.h
136 rand_unix.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
137 rand_unix.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
138 rand_unix.o: ../../include/openssl/err.h ../../include/openssl/evp.h
139 rand_unix.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
140 rand_unix.o: ../../include/openssl/objects.h
141 rand_unix.o: ../../include/openssl/opensslconf.h
142 rand_unix.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
143 rand_unix.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
144 rand_unix.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
145 rand_unix.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
146 rand_unix.o: rand_unix.c
147 rand_win.o: ../../e_os.h ../../include/openssl/asn1.h
148 rand_win.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
149 rand_win.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
150 rand_win.o: ../../include/openssl/err.h ../../include/openssl/evp.h
151 rand_win.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
152 rand_win.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
153 rand_win.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
154 rand_win.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
155 rand_win.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
156 rand_win.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
157 rand_win.o: rand_win.c
158 randfile.o: ../../e_os.h ../../include/openssl/buffer.h
159 randfile.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
160 randfile.o: ../../include/openssl/opensslconf.h
161 randfile.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
162 randfile.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
163 randfile.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
164 randfile.o: randfile.c