Adapt the libssl test harness testing scripts to new testing framework
[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 update: depend
50
51 depend:
52         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
53         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
54
55 dclean:
56         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
57         mv -f Makefile.new $(MAKEFILE)
58
59 clean:
60         rm -f asm/mx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
61
62 # DO NOT DELETE THIS LINE -- make depend depends on it.
63
64 md4_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/md4.h
65 md4_dgst.o: ../../include/openssl/opensslconf.h
66 md4_dgst.o: ../../include/openssl/opensslv.h ../include/internal/md32_common.h
67 md4_dgst.o: md4_dgst.c md4_locl.h
68 md4_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
69 md4_one.o: ../../include/openssl/md4.h ../../include/openssl/opensslconf.h
70 md4_one.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
71 md4_one.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
72 md4_one.o: ../../include/openssl/symhacks.h md4_one.c