Import OpenSSL-0.9.8i.
[dragonfly.git] / crypto / openssl-0.9.7e / crypto / objects / Makefile
blob48a912846f2648f9224fbceed586da76091a9947
2 # SSLeay/crypto/objects/Makefile
5 DIR= objects
6 TOP= ../..
7 CC= cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 INSTALL_PREFIX=
11 OPENSSLDIR= /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKEDEPPROG= makedepend
14 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
15 MAKEFILE= Makefile
16 AR= ar r
17 PERL= perl
19 CFLAGS= $(INCLUDES) $(CFLAG)
21 GENERAL=Makefile README
22 TEST=
23 APPS=
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC= o_names.c obj_dat.c obj_lib.c obj_err.c
27 LIBOBJ= o_names.o obj_dat.o obj_lib.o obj_err.o
29 SRC= $(LIBSRC)
31 EXHEADER= objects.h obj_mac.h
32 HEADER= $(EXHEADER) obj_dat.h
34 ALL= $(GENERAL) $(SRC) $(HEADER)
36 top:
37 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39 all: obj_dat.h lib
41 lib: $(LIBOBJ)
42 $(AR) $(LIB) $(LIBOBJ)
43 $(RANLIB) $(LIB) || echo Never mind.
44 @touch lib
46 obj_dat.h: obj_dat.pl obj_mac.h
47 $(PERL) obj_dat.pl obj_mac.h obj_dat.h
49 # objects.pl both reads and writes obj_mac.num
50 obj_mac.h: objects.pl objects.txt obj_mac.num
51 $(PERL) objects.pl objects.txt obj_mac.num obj_mac.h
53 files:
54 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
56 links:
57 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
58 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
59 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
61 install:
62 @for i in $(EXHEADER) ; \
63 do \
64 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
65 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
66 done;
68 tags:
69 ctags $(SRC)
71 tests:
73 lint:
74 lint -DLINT $(INCLUDES) $(SRC)>fluff
76 depend:
77 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
79 dclean:
80 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
81 mv -f Makefile.new $(MAKEFILE)
83 clean:
84 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
86 # DO NOT DELETE THIS LINE -- make depend depends on it.
88 o_names.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
89 o_names.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
90 o_names.o: ../../include/openssl/e_os2.h ../../include/openssl/lhash.h
91 o_names.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
92 o_names.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
93 o_names.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
94 o_names.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
95 o_names.o: o_names.c
96 obj_dat.o: ../../e_os.h ../../include/openssl/asn1.h
97 obj_dat.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
98 obj_dat.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
99 obj_dat.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
100 obj_dat.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
101 obj_dat.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
102 obj_dat.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
103 obj_dat.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
104 obj_dat.o: ../../include/openssl/symhacks.h ../cryptlib.h obj_dat.c obj_dat.h
105 obj_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
106 obj_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
107 obj_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
108 obj_err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
109 obj_err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
110 obj_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
111 obj_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
112 obj_err.o: ../../include/openssl/symhacks.h obj_err.c
113 obj_lib.o: ../../e_os.h ../../include/openssl/asn1.h
114 obj_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
115 obj_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
116 obj_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
117 obj_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
118 obj_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
119 obj_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
120 obj_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
121 obj_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h obj_lib.c