2 # SSLeay/crypto/objects/Makefile
8 INCLUDES= -I.. -I$(TOP) -I../../include
11 OPENSSLDIR= /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE= make -f Makefile.ssl
14 MAKEDEPPROG= makedepend
15 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE= Makefile.ssl
20 CFLAGS= $(INCLUDES) $(CFLAG)
22 GENERAL=Makefile README
26 LIB=$(TOP)/libcrypto.a
27 LIBSRC= o_names.c obj_dat.c obj_lib.c obj_err.c
28 LIBOBJ= o_names.o obj_dat.o obj_lib.o obj_err.o
32 EXHEADER= objects.h obj_mac.h
33 HEADER= $(EXHEADER) obj_dat.h
35 ALL= $(GENERAL) $(SRC) $(HEADER)
38 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
43 $(AR) $(LIB) $(LIBOBJ)
44 $(RANLIB) $(LIB) || echo Never mind.
47 obj_dat.h: obj_dat.pl obj_mac.h
48 $(PERL) obj_dat.pl obj_mac.h obj_dat.h
50 # objects.pl both reads and writes obj_mac.num
51 obj_mac.h: objects.pl objects.txt obj_mac.num
52 $(PERL) objects.pl objects.txt obj_mac.num obj_mac.h
55 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
58 @sh $(TOP)/util/point.sh Makefile.ssl Makefile
59 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
60 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
61 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
64 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
66 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
67 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
76 lint -DLINT $(INCLUDES) $(SRC)>fluff
79 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
82 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
83 mv -f Makefile.new $(MAKEFILE)
86 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
88 # DO NOT DELETE THIS LINE -- make depend depends on it.
90 o_names.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
91 o_names.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
92 o_names.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
93 o_names.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
94 o_names.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
95 o_names.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
96 o_names.o: ../../include/openssl/symhacks.h o_names.c
97 obj_dat.o: ../../e_os.h ../../include/openssl/asn1.h
98 obj_dat.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
99 obj_dat.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
100 obj_dat.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
101 obj_dat.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
102 obj_dat.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
103 obj_dat.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
104 obj_dat.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
105 obj_dat.o: ../cryptlib.h obj_dat.c obj_dat.h
106 obj_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
107 obj_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
108 obj_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
109 obj_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
110 obj_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
111 obj_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
112 obj_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
114 obj_lib.o: ../../e_os.h ../../include/openssl/asn1.h
115 obj_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
116 obj_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
117 obj_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
118 obj_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
119 obj_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
120 obj_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
121 obj_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
122 obj_lib.o: ../cryptlib.h obj_lib.c