diff options
Diffstat (limited to 'src/lib/libcrypto/stack')
| -rw-r--r-- | src/lib/libcrypto/stack/Makefile.ssl | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/src/lib/libcrypto/stack/Makefile.ssl b/src/lib/libcrypto/stack/Makefile.ssl new file mode 100644 index 0000000000..0d232c08cf --- /dev/null +++ b/src/lib/libcrypto/stack/Makefile.ssl | |||
| @@ -0,0 +1,80 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/stack/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= stack | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= | ||
| 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 | GENERAL=Makefile | ||
| 19 | TEST= | ||
| 20 | APPS= | ||
| 21 | |||
| 22 | LIB=$(TOP)/libcrypto.a | ||
| 23 | LIBSRC=stack.c | ||
| 24 | LIBOBJ=stack.o | ||
| 25 | |||
| 26 | SRC= $(LIBSRC) | ||
| 27 | |||
| 28 | EXHEADER= stack.h | ||
| 29 | HEADER= $(EXHEADER) | ||
| 30 | |||
| 31 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 32 | |||
| 33 | top: | ||
| 34 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 35 | |||
| 36 | all: lib | ||
| 37 | |||
| 38 | lib: $(LIBOBJ) | ||
| 39 | $(AR) $(LIB) $(LIBOBJ) | ||
| 40 | sh $(TOP)/util/ranlib.sh $(LIB) | ||
| 41 | @touch lib | ||
| 42 | |||
| 43 | files: | ||
| 44 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 45 | |||
| 46 | links: | ||
| 47 | /bin/rm -f Makefile | ||
| 48 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | ||
| 49 | $(TOP)/util/mklink.sh ../../include $(EXHEADER) | ||
| 50 | $(TOP)/util/mklink.sh ../../test $(TEST) | ||
| 51 | $(TOP)/util/mklink.sh ../../apps $(APPS) | ||
| 52 | |||
| 53 | install: | ||
| 54 | @for i in $(EXHEADER) ; \ | ||
| 55 | do \ | ||
| 56 | (cp $$i $(INSTALLTOP)/include/$$i; \ | ||
| 57 | chmod 644 $(INSTALLTOP)/include/$$i ); \ | ||
| 58 | done; | ||
| 59 | |||
| 60 | tags: | ||
| 61 | ctags $(SRC) | ||
| 62 | |||
| 63 | tests: | ||
| 64 | |||
| 65 | lint: | ||
| 66 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 67 | |||
| 68 | depend: | ||
| 69 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | ||
| 70 | |||
| 71 | dclean: | ||
| 72 | perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 73 | mv -f Makefile.new $(MAKEFILE) | ||
| 74 | |||
| 75 | clean: | ||
| 76 | /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 77 | |||
| 78 | errors: | ||
| 79 | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
