1 # 2 # OpenSSL/crypto/dso/Makefile 3 # 4 5 DIR= dso 6 TOP= ../.. 7 CC= cc 8 INCLUDES= -I.. -I$(TOP) -I../../include 9 CFLAG=-g 10 MAKEFILE= Makefile 11 AR= ar r 12 13 CFLAGS= $(INCLUDES) $(CFLAG) 14 15 GENERAL=Makefile 16 TEST= 17 APPS= 18 19 LIB=$(TOP)/libcrypto.a 20 LIBSRC= dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c \ 21 dso_openssl.c dso_win32.c dso_vms.c 22 LIBOBJ= dso_dl.o dso_dlfcn.o dso_err.o dso_lib.o dso_null.o \ 23 dso_openssl.o dso_win32.o dso_vms.o 24 25 SRC= $(LIBSRC) 26 27 EXHEADER= dso.h 28 HEADER= $(EXHEADER) 29 30 ALL= $(GENERAL) $(SRC) $(HEADER) 31 32 top: 33 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 34 35 all: lib 36 37 lib: $(LIBOBJ) 38 $(ARX) $(LIB) $(LIBOBJ) 39 $(RANLIB) $(LIB) || echo Never mind. 40 @touch lib 41 42 files: 43 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 44 45 links: 46 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 47 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 48 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 49 50 install: 51 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 52 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 53 do \ 54 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 55 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 56 done; 57 58 tags: 59 ctags $(SRC) 60 61 tests: 62 63 lint: 64 lint -DLINT $(INCLUDES) $(SRC)>fluff 65 66 depend: 67 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 68 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 69 70 dclean: 71 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 72 mv -f Makefile.new $(MAKEFILE) 73 74 clean: 75 rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 76 77 # DO NOT DELETE THIS LINE -- make depend depends on it. 78 79 dso_dl.o: ../../e_os.h ../../include/openssl/bio.h 80 dso_dl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 81 dso_dl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 82 dso_dl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 83 dso_dl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 84 dso_dl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 85 dso_dl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 86 dso_dl.o: ../cryptlib.h dso_dl.c 87 dso_dlfcn.o: ../../e_os.h ../../include/openssl/bio.h 88 dso_dlfcn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 89 dso_dlfcn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 90 dso_dlfcn.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 91 dso_dlfcn.o: ../../include/openssl/opensslconf.h 92 dso_dlfcn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 93 dso_dlfcn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 94 dso_dlfcn.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_dlfcn.c 95 dso_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 96 dso_err.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 97 dso_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 98 dso_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 99 dso_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 100 dso_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 101 dso_err.o: dso_err.c 102 dso_lib.o: ../../e_os.h ../../include/openssl/bio.h 103 dso_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 104 dso_lib.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 105 dso_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 106 dso_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 107 dso_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 108 dso_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 109 dso_lib.o: ../cryptlib.h dso_lib.c 110 dso_null.o: ../../e_os.h ../../include/openssl/bio.h 111 dso_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 112 dso_null.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 113 dso_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 114 dso_null.o: ../../include/openssl/opensslconf.h 115 dso_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 116 dso_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 117 dso_null.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_null.c 118 dso_openssl.o: ../../e_os.h ../../include/openssl/bio.h 119 dso_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 120 dso_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 121 dso_openssl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 122 dso_openssl.o: ../../include/openssl/opensslconf.h 123 dso_openssl.o: ../../include/openssl/opensslv.h 124 dso_openssl.o: ../../include/openssl/ossl_typ.h 125 dso_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 126 dso_openssl.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_openssl.c 127 dso_vms.o: ../../e_os.h ../../include/openssl/bio.h 128 dso_vms.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 129 dso_vms.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 130 dso_vms.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 131 dso_vms.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 132 dso_vms.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 133 dso_vms.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 134 dso_vms.o: ../cryptlib.h dso_vms.c 135 dso_win32.o: ../../e_os.h ../../include/openssl/bio.h 136 dso_win32.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 137 dso_win32.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 138 dso_win32.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 139 dso_win32.o: ../../include/openssl/opensslconf.h 140 dso_win32.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 141 dso_win32.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 142 dso_win32.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_win32.c 143