diff options
author | cvs2svn <admin@example.com> | 1998-10-05 20:13:17 +0000 |
---|---|---|
committer | cvs2svn <admin@example.com> | 1998-10-05 20:13:17 +0000 |
commit | e82f18fab47b698d93971f576f962a3068132912 (patch) | |
tree | 681519717892864935c3d0533cf171098afa649a /src/lib/libcrypto/sha/Makefile.ssl | |
parent | 536c76cbb863bab152f19842ab88772c01e922c7 (diff) | |
download | openbsd-SSLeay_0_9_0b.tar.gz openbsd-SSLeay_0_9_0b.tar.bz2 openbsd-SSLeay_0_9_0b.zip |
This commit was manufactured by cvs2git to create tag 'SSLeay_0_9_0b'.SSLeay_0_9_0b
Diffstat (limited to 'src/lib/libcrypto/sha/Makefile.ssl')
-rw-r--r-- | src/lib/libcrypto/sha/Makefile.ssl | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/src/lib/libcrypto/sha/Makefile.ssl b/src/lib/libcrypto/sha/Makefile.ssl new file mode 100644 index 0000000000..eeb545d140 --- /dev/null +++ b/src/lib/libcrypto/sha/Makefile.ssl | |||
@@ -0,0 +1,103 @@ | |||
1 | # | ||
2 | # SSLeay/crypto/sha/Makefile | ||
3 | # | ||
4 | |||
5 | DIR= sha | ||
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 | SHA1_ASM_OBJ= | ||
17 | |||
18 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
19 | |||
20 | GENERAL=Makefile | ||
21 | TEST=shatest.c sha1test.c | ||
22 | APPS= | ||
23 | |||
24 | LIB=$(TOP)/libcrypto.a | ||
25 | LIBSRC=sha_dgst.c sha1dgst.c sha_one.c sha1_one.c | ||
26 | LIBOBJ=sha_dgst.o sha1dgst.o sha_one.o sha1_one.o $(SHA1_ASM_OBJ) | ||
27 | |||
28 | SRC= $(LIBSRC) | ||
29 | |||
30 | EXHEADER= sha.h | ||
31 | HEADER= sha_locl.h $(EXHEADER) | ||
32 | |||
33 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
34 | |||
35 | top: | ||
36 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
37 | |||
38 | all: lib | ||
39 | |||
40 | lib: $(LIBOBJ) | ||
41 | $(AR) $(LIB) $(LIBOBJ) | ||
42 | sh $(TOP)/util/ranlib.sh $(LIB) | ||
43 | @touch lib | ||
44 | |||
45 | # elf | ||
46 | asm/sx86-elf.o: asm/sx86unix.cpp | ||
47 | $(CPP) -DELF asm/sx86unix.cpp | as -o asm/sx86-elf.o | ||
48 | |||
49 | # solaris | ||
50 | asm/sx86-sol.o: asm/sx86unix.cpp | ||
51 | $(CC) -E -DSOL asm/sx86unix.cpp | sed 's/^#.*//' > asm/sx86-sol.s | ||
52 | as -o asm/sx86-sol.o asm/sx86-sol.s | ||
53 | rm -f asm/sx86-sol.s | ||
54 | |||
55 | # a.out | ||
56 | asm/sx86-out.o: asm/sx86unix.cpp | ||
57 | $(CPP) -DOUT asm/sx86unix.cpp | as -o asm/sx86-out.o | ||
58 | |||
59 | # bsdi | ||
60 | asm/sx86bsdi.o: asm/sx86unix.cpp | ||
61 | $(CPP) -DBSDI asm/sx86unix.cpp | as -o asm/sx86bsdi.o | ||
62 | |||
63 | asm/sx86unix.cpp: | ||
64 | (cd asm; perl sha1-586.pl cpp >sx86unix.cpp) | ||
65 | |||
66 | files: | ||
67 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
68 | |||
69 | links: | ||
70 | /bin/rm -f Makefile | ||
71 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | ||
72 | $(TOP)/util/mklink.sh ../../include $(EXHEADER) | ||
73 | $(TOP)/util/mklink.sh ../../test $(TEST) | ||
74 | $(TOP)/util/mklink.sh ../../apps $(APPS) | ||
75 | |||
76 | install: | ||
77 | @for i in $(EXHEADER) ; \ | ||
78 | do \ | ||
79 | (cp $$i $(INSTALLTOP)/include/$$i; \ | ||
80 | chmod 644 $(INSTALLTOP)/include/$$i ); \ | ||
81 | done; | ||
82 | |||
83 | tags: | ||
84 | ctags $(SRC) | ||
85 | |||
86 | tests: | ||
87 | |||
88 | lint: | ||
89 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
90 | |||
91 | depend: | ||
92 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | ||
93 | |||
94 | dclean: | ||
95 | perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
96 | mv -f Makefile.new $(MAKEFILE) | ||
97 | |||
98 | clean: | ||
99 | /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o | ||
100 | |||
101 | errors: | ||
102 | |||
103 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||