diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/x509/Makefile.ssl | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/src/lib/libcrypto/x509/Makefile.ssl b/src/lib/libcrypto/x509/Makefile.ssl new file mode 100644 index 0000000000..1c1ca2ffa0 --- /dev/null +++ b/src/lib/libcrypto/x509/Makefile.ssl | |||
| @@ -0,0 +1,96 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/x509/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= x509 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALLTOP=/usr/local/ssl | ||
| 11 | MAKE= make -f Makefile.ssl | ||
| 12 | MAKEDEPEND= makedepend -f Makefile.ssl | ||
| 13 | MAKEFILE= Makefile.ssl | ||
| 14 | AR= ar r | ||
| 15 | |||
| 16 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 17 | |||
| 18 | ERR=x509 | ||
| 19 | ERRC=x509_err | ||
| 20 | GENERAL=Makefile README | ||
| 21 | TEST= | ||
| 22 | APPS= | ||
| 23 | |||
| 24 | LIB=$(TOP)/libcrypto.a | ||
| 25 | LIBSRC= x509_def.c x509_d2.c x509_r2x.c x509_cmp.c \ | ||
| 26 | x509_obj.c x509_req.c x509_vfy.c \ | ||
| 27 | x509_set.c x509rset.c $(ERRC).c \ | ||
| 28 | x509name.c x509_v3.c x509_ext.c x509pack.c \ | ||
| 29 | x509type.c x509_lu.c x_all.c x509_txt.c \ | ||
| 30 | by_file.c by_dir.c \ | ||
| 31 | v3_net.c v3_x509.c | ||
| 32 | LIBOBJ= x509_def.o x509_d2.o x509_r2x.o x509_cmp.o \ | ||
| 33 | x509_obj.o x509_req.o x509_vfy.o \ | ||
| 34 | x509_set.o x509rset.o $(ERRC).o \ | ||
| 35 | x509name.o x509_v3.o x509_ext.o x509pack.o \ | ||
| 36 | x509type.o x509_lu.o x_all.o x509_txt.o \ | ||
| 37 | by_file.o by_dir.o \ | ||
| 38 | v3_net.o v3_x509.o | ||
| 39 | |||
| 40 | SRC= $(LIBSRC) | ||
| 41 | |||
| 42 | EXHEADER= x509.h x509_vfy.h | ||
| 43 | HEADER= $(EXHEADER) | ||
| 44 | |||
| 45 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 46 | |||
| 47 | top: | ||
| 48 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 49 | |||
| 50 | all: lib | ||
| 51 | |||
| 52 | lib: $(LIBOBJ) | ||
| 53 | $(AR) $(LIB) $(LIBOBJ) | ||
| 54 | sh $(TOP)/util/ranlib.sh $(LIB) | ||
| 55 | @touch lib | ||
| 56 | |||
| 57 | files: | ||
| 58 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 59 | |||
| 60 | links: | ||
| 61 | /bin/rm -f Makefile | ||
| 62 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | ||
| 63 | $(TOP)/util/mklink.sh ../../include $(EXHEADER) | ||
| 64 | $(TOP)/util/mklink.sh ../../test $(TEST) | ||
| 65 | $(TOP)/util/mklink.sh ../../apps $(APPS) | ||
| 66 | |||
| 67 | install: | ||
| 68 | @for i in $(EXHEADER) ; \ | ||
| 69 | do \ | ||
| 70 | (cp $$i $(INSTALLTOP)/include/$$i; \ | ||
| 71 | chmod 644 $(INSTALLTOP)/include/$$i ); \ | ||
| 72 | done; | ||
| 73 | |||
| 74 | tags: | ||
| 75 | ctags $(SRC) | ||
| 76 | |||
| 77 | tests: | ||
| 78 | |||
| 79 | lint: | ||
| 80 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 81 | |||
| 82 | depend: | ||
| 83 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | ||
| 84 | |||
| 85 | dclean: | ||
| 86 | perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 87 | mv -f Makefile.new $(MAKEFILE) | ||
| 88 | |||
| 89 | clean: | ||
| 90 | /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 91 | |||
| 92 | errors: | ||
| 93 | perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h | ||
| 94 | perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c | ||
| 95 | |||
| 96 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
