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/rc2/Makefile.uni | |
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/rc2/Makefile.uni')
-rw-r--r-- | src/lib/libcrypto/rc2/Makefile.uni | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/src/lib/libcrypto/rc2/Makefile.uni b/src/lib/libcrypto/rc2/Makefile.uni new file mode 100644 index 0000000000..e50b3f2d19 --- /dev/null +++ b/src/lib/libcrypto/rc2/Makefile.uni | |||
@@ -0,0 +1,72 @@ | |||
1 | # Targets | ||
2 | # make - twidle the options yourself :-) | ||
3 | # make cc - standard cc options | ||
4 | # make gcc - standard gcc options | ||
5 | |||
6 | DIR= rc2 | ||
7 | TOP= . | ||
8 | CC= gcc | ||
9 | CFLAG= -O3 -fomit-frame-pointer | ||
10 | |||
11 | CPP= $(CC) -E | ||
12 | INCLUDES= | ||
13 | INSTALLTOP=/usr/local/lib | ||
14 | MAKE= make | ||
15 | MAKEDEPEND= makedepend | ||
16 | MAKEFILE= Makefile.uni | ||
17 | AR= ar r | ||
18 | |||
19 | IDEA_ENC=rc2_cbc.o | ||
20 | |||
21 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
22 | |||
23 | GENERAL=Makefile | ||
24 | TEST=rc2test | ||
25 | APPS=rc2speed | ||
26 | |||
27 | LIB=librc2.a | ||
28 | LIBSRC=rc2_skey.c rc2_ecb.c rc2_cbc.c rc2cfb64.c rc2ofb64.c | ||
29 | LIBOBJ=rc2_skey.o rc2_ecb.o $(IDEA_ENC) rc2cfb64.o rc2ofb64.o | ||
30 | |||
31 | SRC= $(LIBSRC) | ||
32 | |||
33 | EXHEADER= rc2.h | ||
34 | HEADER= rc2_locl.h $(EXHEADER) | ||
35 | |||
36 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
37 | |||
38 | all: $(LIB) $(TEST) $(APPS) | ||
39 | |||
40 | $(LIB): $(LIBOBJ) | ||
41 | $(AR) $(LIB) $(LIBOBJ) | ||
42 | sh $(TOP)/ranlib.sh $(LIB) | ||
43 | |||
44 | test: $(TEST) | ||
45 | ./$(TEST) | ||
46 | |||
47 | $(TEST): $(TEST).c $(LIB) | ||
48 | $(CC) -o $(TEST) $(CFLAGS) $(TEST).c $(LIB) | ||
49 | |||
50 | $(APPS): $(APPS).c $(LIB) | ||
51 | $(CC) -o $(APPS) $(CFLAGS) $(APPS).c $(LIB) | ||
52 | |||
53 | lint: | ||
54 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
55 | |||
56 | depend: | ||
57 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | ||
58 | |||
59 | dclean: | ||
60 | perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
61 | mv -f Makefile.new $(MAKEFILE) | ||
62 | |||
63 | clean: | ||
64 | /bin/rm -f $(LIB) $(TEST) $(APPS) *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
65 | |||
66 | cc: | ||
67 | $(MAKE) CC="cc" CFLAG="-O" all | ||
68 | |||
69 | gcc: | ||
70 | $(MAKE) CC="gcc" CFLAGS="-O3 -fomit-frame-pointer" all | ||
71 | |||
72 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||