Makefile revision 158962
1142425Snectar# 2142425Snectar# SSLeay/crypto/dso/Makefile 3142425Snectar# 4142425Snectar 5142425SnectarDIR= dso 6142425SnectarTOP= ../.. 7142425SnectarCC= cc 8142425SnectarINCLUDES= -I.. -I$(TOP) -I../../include 9142425SnectarCFLAG=-g 10142425SnectarINSTALL_PREFIX= 11142425SnectarOPENSSLDIR= /usr/local/ssl 12142425SnectarINSTALLTOP=/usr/local/ssl 13142425SnectarMAKEDEPPROG= makedepend 14142425SnectarMAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) 15142425SnectarMAKEFILE= Makefile 16142425SnectarAR= ar r 17142425Snectar 18142425SnectarCFLAGS= $(INCLUDES) $(CFLAG) 19142425Snectar 20142425SnectarGENERAL=Makefile 21142425SnectarTEST= 22142425SnectarAPPS= 23142425Snectar 24142425SnectarLIB=$(TOP)/libcrypto.a 25142425SnectarLIBSRC= dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c \ 26142425Snectar dso_openssl.c dso_win32.c dso_vms.c 27142425SnectarLIBOBJ= dso_dl.o dso_dlfcn.o dso_err.o dso_lib.o dso_null.o \ 28142425Snectar dso_openssl.o dso_win32.o dso_vms.o 29142425Snectar 30142425SnectarSRC= $(LIBSRC) 31142425Snectar 32142425SnectarEXHEADER= dso.h 33142425SnectarHEADER= $(EXHEADER) 34142425Snectar 35142425SnectarALL= $(GENERAL) $(SRC) $(HEADER) 36142425Snectar 37142425Snectartop: 38142425Snectar (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 39142425Snectar 40142425Snectarall: lib 41142425Snectar 42142425Snectarlib: $(LIBOBJ) 43142425Snectar $(AR) $(LIB) $(LIBOBJ) 44142425Snectar $(RANLIB) $(LIB) || echo Never mind. 45142425Snectar @touch lib 46142425Snectar 47142425Snectarfiles: 48142425Snectar $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 49142425Snectar 50142425Snectarlinks: 51142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 52142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 53142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 54142425Snectar 55142425Snectarinstall: 56142425Snectar @for i in $(EXHEADER) ; \ 57142425Snectar do \ 58142425Snectar (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 59142425Snectar chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 60142425Snectar done; 61142425Snectar 62142425Snectartags: 63142425Snectar ctags $(SRC) 64142425Snectar 65142425Snectartests: 66142425Snectar 67142425Snectarlint: 68142425Snectar lint -DLINT $(INCLUDES) $(SRC)>fluff 69142425Snectar 70142425Snectardepend: 71142425Snectar $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 72142425Snectar 73142425Snectardclean: 74142425Snectar $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 75142425Snectar mv -f Makefile.new $(MAKEFILE) 76142425Snectar 77142425Snectarclean: 78142425Snectar rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 79142425Snectar 80142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it. 81142425Snectar 82142425Snectardso_dl.o: ../../e_os.h ../../include/openssl/bio.h 83142425Snectardso_dl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 84142425Snectardso_dl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 85142425Snectardso_dl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 86142425Snectardso_dl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 87142425Snectardso_dl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 88142425Snectardso_dl.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_dl.c 89142425Snectardso_dlfcn.o: ../../e_os.h ../../include/openssl/bio.h 90142425Snectardso_dlfcn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 91142425Snectardso_dlfcn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 92142425Snectardso_dlfcn.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 93142425Snectardso_dlfcn.o: ../../include/openssl/opensslconf.h 94142425Snectardso_dlfcn.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h 95142425Snectardso_dlfcn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 96142425Snectardso_dlfcn.o: ../cryptlib.h dso_dlfcn.c 97142425Snectardso_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 98142425Snectardso_err.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 99142425Snectardso_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 100142425Snectardso_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 101142425Snectardso_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 102142425Snectardso_err.o: ../../include/openssl/symhacks.h dso_err.c 103142425Snectardso_lib.o: ../../e_os.h ../../include/openssl/bio.h 104142425Snectardso_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 105142425Snectardso_lib.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 106142425Snectardso_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 107142425Snectardso_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 108142425Snectardso_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 109142425Snectardso_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_lib.c 110142425Snectardso_null.o: ../../e_os.h ../../include/openssl/bio.h 111142425Snectardso_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 112142425Snectardso_null.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 113142425Snectardso_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 114142425Snectardso_null.o: ../../include/openssl/opensslconf.h 115142425Snectardso_null.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h 116142425Snectardso_null.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 117142425Snectardso_null.o: ../cryptlib.h dso_null.c 118142425Snectardso_openssl.o: ../../e_os.h ../../include/openssl/bio.h 119142425Snectardso_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 120142425Snectardso_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 121142425Snectardso_openssl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 122142425Snectardso_openssl.o: ../../include/openssl/opensslconf.h 123142425Snectardso_openssl.o: ../../include/openssl/opensslv.h 124142425Snectardso_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 125142425Snectardso_openssl.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_openssl.c 126142425Snectardso_vms.o: ../../e_os.h ../../include/openssl/bio.h 127142425Snectardso_vms.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 128142425Snectardso_vms.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 129142425Snectardso_vms.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 130142425Snectardso_vms.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 131142425Snectardso_vms.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 132142425Snectardso_vms.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_vms.c 133142425Snectardso_win32.o: ../../e_os.h ../../include/openssl/bio.h 134142425Snectardso_win32.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 135142425Snectardso_win32.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 136142425Snectardso_win32.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 137142425Snectardso_win32.o: ../../include/openssl/opensslconf.h 138142425Snectardso_win32.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h 139142425Snectardso_win32.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 140142425Snectardso_win32.o: ../cryptlib.h dso_win32.c 141