2 # SSLeay/crypto/objects/Makefile
8 INCLUDES= -I.. -I$(TOP) -I../../include
11 OPENSSLDIR= /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKEDEPPROG= makedepend
14 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
19 CFLAGS= $(INCLUDES) $(CFLAG)
21 GENERAL=Makefile README
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
31 EXHEADER= objects.h obj_mac.h
32 HEADER= $(EXHEADER) obj_dat.h
34 ALL= $(GENERAL) $(SRC) $(HEADER)
37 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
42 $(AR) $(LIB) $(LIBOBJ)
43 $(RANLIB) $(LIB) || echo Never mind.
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
54 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
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)
62 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
64 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
65 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
74 lint -DLINT $(INCLUDES) $(SRC)>fluff
77 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
80 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
81 mv -f Makefile.new $(MAKEFILE)
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/err.h
91 o_names.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
92 o_names.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
93 o_names.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
94 o_names.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
95 o_names.o: ../../include/openssl/symhacks.h 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