1227825Stheraven#
2227825Stheraven# OpenSSL/crypto/dso/Makefile
3227825Stheraven#
4227825Stheraven
5227825StheravenDIR=	dso
6227825StheravenTOP=	../..
7227825StheravenCC=	cc
8227825StheravenINCLUDES= -I.. -I$(TOP) -I../../include
9227825StheravenCFLAG=-g
10227825StheravenMAKEFILE=	Makefile
11227825StheravenAR=		ar r
12227825Stheraven
13227825StheravenCFLAGS= $(INCLUDES) $(CFLAG)
14227825Stheraven
15227825StheravenGENERAL=Makefile
16227825StheravenTEST=
17227825StheravenAPPS=
18227825Stheraven
19232950StheravenLIB=$(TOP)/libcrypto.a
20227825StheravenLIBSRC= dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c \
21227825Stheraven	dso_openssl.c dso_win32.c dso_vms.c dso_beos.c
22227825StheravenLIBOBJ= dso_dl.o dso_dlfcn.o dso_err.o dso_lib.o dso_null.o \
23241903Sdim	dso_openssl.o dso_win32.o dso_vms.o dso_beos.o
24227825Stheraven
25227825StheravenSRC= $(LIBSRC)
26227825Stheraven
27227825StheravenEXHEADER= dso.h
28227825StheravenHEADER=	$(EXHEADER)
29241903Sdim
30227825StheravenALL=    $(GENERAL) $(SRC) $(HEADER)
31227825Stheraven
32227825Stheraventop:
33227825Stheraven	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
34227825Stheraven
35227825Stheravenall:	lib
36227825Stheraven
37227825Stheravenlib:	$(LIBOBJ)
38227825Stheraven	$(AR) $(LIB) $(LIBOBJ)
39227825Stheraven	$(RANLIB) $(LIB) || echo Never mind.
40227825Stheraven	@touch lib
41227825Stheraven
42227825Stheravenfiles:
43227825Stheraven	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
44227825Stheraven
45227825Stheravenlinks:
46227825Stheraven	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
47227825Stheraven	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
48227825Stheraven	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
49227825Stheraven
50227825Stheraveninstall:
51227825Stheraven	@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
52227825Stheraven	@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
53227825Stheraven	do  \
54241903Sdim	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
55241903Sdim	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
56227825Stheraven	done;
57227825Stheraven
58241903Sdimtags:
59241903Sdim	ctags $(SRC)
60241903Sdim
61241903Sdimtests:
62241903Sdim
63241903Sdimlint:
64241903Sdim	lint -DLINT $(INCLUDES) $(SRC)>fluff
65241903Sdim
66241903Sdimupdate: depend
67241903Sdim
68241903Sdimdepend:
69241903Sdim	@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
70227825Stheraven	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
71227825Stheraven
72227825Stheravendclean:
73227825Stheraven	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
74227825Stheraven	mv -f Makefile.new $(MAKEFILE)
75227825Stheraven
76227825Stheravenclean:
77227825Stheraven	rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
78227825Stheraven
79227825Stheraven# DO NOT DELETE THIS LINE -- make depend depends on it.
80227825Stheraven
81227825Stheravendso_beos.o: ../../e_os.h ../../include/openssl/bio.h
82dso_beos.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
83dso_beos.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
84dso_beos.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
85dso_beos.o: ../../include/openssl/opensslconf.h
86dso_beos.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
87dso_beos.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
88dso_beos.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_beos.c
89dso_dl.o: ../../e_os.h ../../include/openssl/bio.h
90dso_dl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
91dso_dl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
92dso_dl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
93dso_dl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
94dso_dl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
95dso_dl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
96dso_dl.o: ../cryptlib.h dso_dl.c
97dso_dlfcn.o: ../../e_os.h ../../include/openssl/bio.h
98dso_dlfcn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
99dso_dlfcn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
100dso_dlfcn.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
101dso_dlfcn.o: ../../include/openssl/opensslconf.h
102dso_dlfcn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
103dso_dlfcn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
104dso_dlfcn.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_dlfcn.c
105dso_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
106dso_err.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
107dso_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
108dso_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
109dso_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
110dso_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
111dso_err.o: dso_err.c
112dso_lib.o: ../../e_os.h ../../include/openssl/bio.h
113dso_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
114dso_lib.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
115dso_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
116dso_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
117dso_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
118dso_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
119dso_lib.o: ../cryptlib.h dso_lib.c
120dso_null.o: ../../e_os.h ../../include/openssl/bio.h
121dso_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
122dso_null.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
123dso_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
124dso_null.o: ../../include/openssl/opensslconf.h
125dso_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
126dso_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
127dso_null.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_null.c
128dso_openssl.o: ../../e_os.h ../../include/openssl/bio.h
129dso_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
130dso_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
131dso_openssl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
132dso_openssl.o: ../../include/openssl/opensslconf.h
133dso_openssl.o: ../../include/openssl/opensslv.h
134dso_openssl.o: ../../include/openssl/ossl_typ.h
135dso_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
136dso_openssl.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_openssl.c
137dso_vms.o: ../../e_os.h ../../include/openssl/bio.h
138dso_vms.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
139dso_vms.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
140dso_vms.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
141dso_vms.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
142dso_vms.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
143dso_vms.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
144dso_vms.o: ../cryptlib.h dso_vms.c
145dso_win32.o: ../../e_os.h ../../include/openssl/bio.h
146dso_win32.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
147dso_win32.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
148dso_win32.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
149dso_win32.o: ../../include/openssl/opensslconf.h
150dso_win32.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
151dso_win32.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
152dso_win32.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_win32.c
153