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