Makefile revision 205290
1235537Sgber# 2235537Sgber# OpenSSL/crypto/dso/Makefile 3235537Sgber# 4235537Sgber 5235537SgberDIR= dso 6235537SgberTOP= ../.. 7235537SgberCC= cc 8235537SgberINCLUDES= -I.. -I$(TOP) -I../../include 9235537SgberCFLAG=-g 10235537SgberMAKEFILE= Makefile 11235537SgberAR= ar r 12235537Sgber 13235537SgberCFLAGS= $(INCLUDES) $(CFLAG) 14235537Sgber 15235537SgberGENERAL=Makefile 16235537SgberTEST= 17235537SgberAPPS= 18235537Sgber 19235537SgberLIB=$(TOP)/libcrypto.a 20235537SgberLIBSRC= dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c \ 21235537Sgber dso_openssl.c dso_win32.c dso_vms.c 22235537SgberLIBOBJ= dso_dl.o dso_dlfcn.o dso_err.o dso_lib.o dso_null.o \ 23235537Sgber dso_openssl.o dso_win32.o dso_vms.o 24235537Sgber 25235537SgberSRC= $(LIBSRC) 26235607Sgber 27235607SgberEXHEADER= dso.h 28235537SgberHEADER= $(EXHEADER) 29235537Sgber 30235537SgberALL= $(GENERAL) $(SRC) $(HEADER) 31235537Sgber 32235537Sgbertop: 33235537Sgber (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 34235537Sgber 35235537Sgberall: lib 36235537Sgber 37235537Sgberlib: $(LIBOBJ) 38235537Sgber $(ARX) $(LIB) $(LIBOBJ) 39235537Sgber $(RANLIB) $(LIB) || echo Never mind. 40235537Sgber @touch lib 41235537Sgber 42235537Sgberfiles: 43235537Sgber $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 44235537Sgber 45235537Sgberlinks: 46235537Sgber @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 47235537Sgber @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 48235537Sgber @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 49235537Sgber 50235537Sgberinstall: 51235537Sgber @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 52235537Sgber @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 53235537Sgber do \ 54235537Sgber (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 55235537Sgber chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 56235537Sgber done; 57235537Sgber 58235537Sgbertags: 59235537Sgber ctags $(SRC) 60235537Sgber 61235537Sgbertests: 62235537Sgber 63235537Sgberlint: 64235537Sgber lint -DLINT $(INCLUDES) $(SRC)>fluff 65235537Sgber 66235537Sgberdepend: 67235537Sgber @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 68235537Sgber $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 69235537Sgber 70235537Sgberdclean: 71235537Sgber $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 72235537Sgber mv -f Makefile.new $(MAKEFILE) 73235537Sgber 74235537Sgberclean: 75235537Sgber rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 76235537Sgber 77235537Sgber# DO NOT DELETE THIS LINE -- make depend depends on it. 78235537Sgber 79235537Sgberdso_dl.o: ../../e_os.h ../../include/openssl/bio.h 80235537Sgberdso_dl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 81235537Sgberdso_dl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 82235537Sgberdso_dl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 83235537Sgberdso_dl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 84235537Sgberdso_dl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 85235537Sgberdso_dl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 86235537Sgberdso_dl.o: ../cryptlib.h dso_dl.c 87235537Sgberdso_dlfcn.o: ../../e_os.h ../../include/openssl/bio.h 88235537Sgberdso_dlfcn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 89235537Sgberdso_dlfcn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 90235537Sgberdso_dlfcn.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 91235537Sgberdso_dlfcn.o: ../../include/openssl/opensslconf.h 92235537Sgberdso_dlfcn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 93235537Sgberdso_dlfcn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 94235537Sgberdso_dlfcn.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_dlfcn.c 95235537Sgberdso_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 96235537Sgberdso_err.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 97235537Sgberdso_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 98235537Sgberdso_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 99235537Sgberdso_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 100235537Sgberdso_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 101235537Sgberdso_err.o: dso_err.c 102235537Sgberdso_lib.o: ../../e_os.h ../../include/openssl/bio.h 103235537Sgberdso_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 104235537Sgberdso_lib.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 105235537Sgberdso_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 106235537Sgberdso_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 107235537Sgberdso_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 108235537Sgberdso_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 109235537Sgberdso_lib.o: ../cryptlib.h dso_lib.c 110235537Sgberdso_null.o: ../../e_os.h ../../include/openssl/bio.h 111235537Sgberdso_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 112235537Sgberdso_null.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 113235537Sgberdso_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 114235537Sgberdso_null.o: ../../include/openssl/opensslconf.h 115235537Sgberdso_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 116235537Sgberdso_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 117235537Sgberdso_null.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_null.c 118235537Sgberdso_openssl.o: ../../e_os.h ../../include/openssl/bio.h 119235537Sgberdso_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 120235537Sgberdso_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 121235537Sgberdso_openssl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 122235537Sgberdso_openssl.o: ../../include/openssl/opensslconf.h 123235537Sgberdso_openssl.o: ../../include/openssl/opensslv.h 124235537Sgberdso_openssl.o: ../../include/openssl/ossl_typ.h 125235537Sgberdso_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 126235537Sgberdso_openssl.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_openssl.c 127235537Sgberdso_vms.o: ../../e_os.h ../../include/openssl/bio.h 128235537Sgberdso_vms.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 129235537Sgberdso_vms.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 130235537Sgberdso_vms.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 131235537Sgberdso_vms.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 132235537Sgberdso_vms.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 133249744Seddso_vms.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 134235537Sgberdso_vms.o: ../cryptlib.h dso_vms.c 135235537Sgberdso_win32.o: ../../e_os.h ../../include/openssl/bio.h 136235537Sgberdso_win32.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 137235537Sgberdso_win32.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 138235537Sgberdso_win32.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 139235537Sgberdso_win32.o: ../../include/openssl/opensslconf.h 140235537Sgberdso_win32.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 141235537Sgberdso_win32.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 142235537Sgberdso_win32.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_win32.c 143235537Sgber