Return an error in ASN1_TYPE_unpack_sequence if argument is NULL
[openssl.git] / crypto / md4 / Makefile
1 #
2 # OpenSSL/crypto/md4/Makefile
3 #
4
5 DIR=    md4
6 TOP=    ../..
7 CC=     cc
8 CPP=    $(CC) -E
9 INCLUDES=
10 CFLAG=-g
11 MAKEFILE=       Makefile
12 AR=             ar r
13
14 CFLAGS= $(INCLUDES) $(CFLAG)
15
16 GENERAL=Makefile
17
18 LIB=$(TOP)/libcrypto.a
19 LIBSRC=md4_dgst.c md4_one.c
20 LIBOBJ=md4_dgst.o md4_one.o
21
22 SRC= $(LIBSRC)
23
24 HEADER= md4_locl.h
25
26 ALL=    $(GENERAL) $(SRC) $(HEADER)
27
28 top:
29         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
30
31 all:    lib
32
33 lib:    $(LIBOBJ)
34         $(AR) $(LIB) $(LIBOBJ)
35         $(RANLIB) $(LIB) || echo Never mind.
36         @touch lib
37
38 files:
39         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
40
41 tags:
42         ctags $(SRC)
43
44 tests:
45
46 lint:
47         lint -DLINT $(INCLUDES) $(SRC)>fluff
48
49 depend:
50         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
51         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
52
53 dclean:
54         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
55         mv -f Makefile.new $(MAKEFILE)
56
57 clean:
58         rm -f asm/mx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
59
60 # DO NOT DELETE THIS LINE -- make depend depends on it.
61
62 md4_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/md4.h
63 md4_dgst.o: ../../include/openssl/opensslconf.h
64 md4_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md4_dgst.c
65 md4_dgst.o: md4_locl.h
66 md4_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
67 md4_one.o: ../../include/openssl/md4.h ../../include/openssl/opensslconf.h
68 md4_one.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
69 md4_one.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
70 md4_one.o: ../../include/openssl/symhacks.h md4_one.c