Fix length checks in X509_cmp_time to avoid out-of-bounds reads.
[openssl.git] / crypto / rc5 / Makefile
1 #
2 # OpenSSL/crypto/rc5/Makefile
3 #
4
5 DIR=    rc5
6 TOP=    ../..
7 CC=     cc
8 CPP=    $(CC) -E
9 INCLUDES=
10 CFLAG=-g
11 MAKEFILE=       Makefile
12 AR=             ar r
13
14 RC5_ENC=                rc5_enc.o
15
16 CFLAGS= $(INCLUDES) $(CFLAG)
17 ASFLAGS= $(INCLUDES) $(ASFLAG)
18 AFLAGS= $(ASFLAGS)
19
20 GENERAL=Makefile
21
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC=rc5_skey.c rc5_ecb.c rc5_enc.c rc5cfb64.c rc5ofb64.c 
24 LIBOBJ=rc5_skey.o rc5_ecb.o $(RC5_ENC) rc5cfb64.o rc5ofb64.o
25
26 SRC= $(LIBSRC)
27
28 HEADER= rc5_locl.h
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         $(AR) $(LIB) $(LIBOBJ)
39         $(RANLIB) $(LIB) || echo Never mind.
40         @touch lib
41
42 rc5-586.s: asm/rc5-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
43         $(PERL) asm/rc5-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
44
45 files:
46         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
47
48 tags:
49         ctags $(SRC)
50
51 tests:
52
53 lint:
54         lint -DLINT $(INCLUDES) $(SRC)>fluff
55
56 update: depend
57
58 depend:
59         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
60         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
61
62 dclean:
63         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
64         mv -f Makefile.new $(MAKEFILE)
65
66 clean:
67         rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
68
69 # DO NOT DELETE THIS LINE -- make depend depends on it.
70
71 rc5_ecb.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
72 rc5_ecb.o: ../../include/openssl/rc5.h rc5_ecb.c rc5_locl.h
73 rc5_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h
74 rc5_enc.o: rc5_enc.c rc5_locl.h
75 rc5_skey.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h
76 rc5_skey.o: rc5_locl.h rc5_skey.c
77 rc5cfb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h
78 rc5cfb64.o: rc5_locl.h rc5cfb64.c
79 rc5ofb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h
80 rc5ofb64.o: rc5_locl.h rc5ofb64.c