1142425Snectar#
2160814Ssimon# OpenSSL/crypto/dso/Makefile
3142425Snectar#
4142425Snectar
5142425SnectarDIR=	dso
6142425SnectarTOP=	../..
7142425SnectarCC=	cc
8142425SnectarINCLUDES= -I.. -I$(TOP) -I../../include
9142425SnectarCFLAG=-g
10142425SnectarMAKEFILE=	Makefile
11142425SnectarAR=		ar r
12142425Snectar
13142425SnectarCFLAGS= $(INCLUDES) $(CFLAG)
14142425Snectar
15142425SnectarGENERAL=Makefile
16142425SnectarTEST=
17142425SnectarAPPS=
18142425Snectar
19142425SnectarLIB=$(TOP)/libcrypto.a
20142425SnectarLIBSRC= dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c \
21238405Sjkim	dso_openssl.c dso_win32.c dso_vms.c dso_beos.c
22142425SnectarLIBOBJ= dso_dl.o dso_dlfcn.o dso_err.o dso_lib.o dso_null.o \
23238405Sjkim	dso_openssl.o dso_win32.o dso_vms.o dso_beos.o
24142425Snectar
25142425SnectarSRC= $(LIBSRC)
26142425Snectar
27142425SnectarEXHEADER= dso.h
28142425SnectarHEADER=	$(EXHEADER)
29142425Snectar
30142425SnectarALL=    $(GENERAL) $(SRC) $(HEADER)
31142425Snectar
32142425Snectartop:
33142425Snectar	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
34142425Snectar
35142425Snectarall:	lib
36142425Snectar
37142425Snectarlib:	$(LIBOBJ)
38238405Sjkim	$(AR) $(LIB) $(LIBOBJ)
39142425Snectar	$(RANLIB) $(LIB) || echo Never mind.
40142425Snectar	@touch lib
41142425Snectar
42142425Snectarfiles:
43142425Snectar	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
44142425Snectar
45142425Snectarlinks:
46142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
47142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
48142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
49142425Snectar
50142425Snectarinstall:
51160814Ssimon	@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
52160814Ssimon	@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
53142425Snectar	do  \
54142425Snectar	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
55142425Snectar	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
56142425Snectar	done;
57142425Snectar
58142425Snectartags:
59142425Snectar	ctags $(SRC)
60142425Snectar
61142425Snectartests:
62142425Snectar
63142425Snectarlint:
64142425Snectar	lint -DLINT $(INCLUDES) $(SRC)>fluff
65142425Snectar
66284283Sjkimupdate: depend
67284283Sjkim
68142425Snectardepend:
69160814Ssimon	@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
70142425Snectar	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
71142425Snectar
72142425Snectardclean:
73142425Snectar	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
74142425Snectar	mv -f Makefile.new $(MAKEFILE)
75142425Snectar
76142425Snectarclean:
77142425Snectar	rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
78142425Snectar
79142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it.
80142425Snectar
81238405Sjkimdso_beos.o: ../../e_os.h ../../include/openssl/bio.h
82238405Sjkimdso_beos.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
83238405Sjkimdso_beos.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
84238405Sjkimdso_beos.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
85238405Sjkimdso_beos.o: ../../include/openssl/opensslconf.h
86238405Sjkimdso_beos.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
87238405Sjkimdso_beos.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
88238405Sjkimdso_beos.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_beos.c
89142425Snectardso_dl.o: ../../e_os.h ../../include/openssl/bio.h
90142425Snectardso_dl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
91142425Snectardso_dl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
92142425Snectardso_dl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
93142425Snectardso_dl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
94160814Ssimondso_dl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
95160814Ssimondso_dl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
96160814Ssimondso_dl.o: ../cryptlib.h dso_dl.c
97142425Snectardso_dlfcn.o: ../../e_os.h ../../include/openssl/bio.h
98142425Snectardso_dlfcn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
99142425Snectardso_dlfcn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
100142425Snectardso_dlfcn.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
101142425Snectardso_dlfcn.o: ../../include/openssl/opensslconf.h
102160814Ssimondso_dlfcn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
103160814Ssimondso_dlfcn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
104160814Ssimondso_dlfcn.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_dlfcn.c
105142425Snectardso_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
106142425Snectardso_err.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
107142425Snectardso_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
108142425Snectardso_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
109160814Ssimondso_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
110160814Ssimondso_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
111160814Ssimondso_err.o: dso_err.c
112142425Snectardso_lib.o: ../../e_os.h ../../include/openssl/bio.h
113142425Snectardso_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
114142425Snectardso_lib.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
115142425Snectardso_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
116142425Snectardso_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
117160814Ssimondso_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
118160814Ssimondso_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
119160814Ssimondso_lib.o: ../cryptlib.h dso_lib.c
120142425Snectardso_null.o: ../../e_os.h ../../include/openssl/bio.h
121142425Snectardso_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
122142425Snectardso_null.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
123142425Snectardso_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
124142425Snectardso_null.o: ../../include/openssl/opensslconf.h
125160814Ssimondso_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
126160814Ssimondso_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
127160814Ssimondso_null.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_null.c
128142425Snectardso_openssl.o: ../../e_os.h ../../include/openssl/bio.h
129142425Snectardso_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
130142425Snectardso_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
131142425Snectardso_openssl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
132142425Snectardso_openssl.o: ../../include/openssl/opensslconf.h
133142425Snectardso_openssl.o: ../../include/openssl/opensslv.h
134160814Ssimondso_openssl.o: ../../include/openssl/ossl_typ.h
135142425Snectardso_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
136142425Snectardso_openssl.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_openssl.c
137142425Snectardso_vms.o: ../../e_os.h ../../include/openssl/bio.h
138142425Snectardso_vms.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
139142425Snectardso_vms.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
140142425Snectardso_vms.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
141142425Snectardso_vms.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
142160814Ssimondso_vms.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
143160814Ssimondso_vms.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
144160814Ssimondso_vms.o: ../cryptlib.h dso_vms.c
145142425Snectardso_win32.o: ../../e_os.h ../../include/openssl/bio.h
146142425Snectardso_win32.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
147142425Snectardso_win32.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
148142425Snectardso_win32.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
149142425Snectardso_win32.o: ../../include/openssl/opensslconf.h
150160814Ssimondso_win32.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
151160814Ssimondso_win32.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
152160814Ssimondso_win32.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_win32.c
153