]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/mdc2/Makefile.ssl
Complete rewrite of the error code generation script. It now runs as a single
[thirdparty/openssl.git] / crypto / mdc2 / Makefile.ssl
CommitLineData
d02b48c6
RE
1#
2# SSLeay/crypto/mdc2/Makefile
3#
4
5DIR= mdc2
6TOP= ../..
7CC= cc
8INCLUDES=
9CFLAG=-g
10INSTALLTOP=/usr/local/ssl
11MAKE= make -f Makefile.ssl
8039257d 12MAKEDEPEND= $(TOP)/util/domd $(TOP)
d02b48c6
RE
13MAKEFILE= Makefile.ssl
14AR= ar r
15
16CFLAGS= $(INCLUDES) $(CFLAG)
17
18GENERAL=Makefile
19TEST= mdc2test.c
20APPS=
21
22LIB=$(TOP)/libcrypto.a
23LIBSRC=mdc2dgst.c mdc2_one.c
24LIBOBJ=mdc2dgst.o mdc2_one.o
25
26SRC= $(LIBSRC)
27
28EXHEADER= mdc2.h
29HEADER= $(EXHEADER)
30
31ALL= $(GENERAL) $(SRC) $(HEADER)
32
33top:
34 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
35
36all: lib
37
38lib: $(LIBOBJ)
39 $(AR) $(LIB) $(LIBOBJ)
99aab161 40 $(RANLIB) $(LIB)
d02b48c6
RE
41 @touch lib
42
43files:
99aab161 44 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
d02b48c6
RE
45
46links:
bb8f3c58 47 @$(TOP)/util/point.sh Makefile.ssl Makefile
ec577822 48 @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER)
bb8f3c58
RE
49 @$(TOP)/util/mklink.sh ../../test $(TEST)
50 @$(TOP)/util/mklink.sh ../../apps $(APPS)
d02b48c6
RE
51
52install:
53 @for i in $(EXHEADER) ; \
54 do \
ec577822
BM
55 (cp $$i $(INSTALLTOP)/include/openssl/$$i; \
56 chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
d02b48c6
RE
57 done;
58
59tags:
60 ctags $(SRC)
61
62tests:
63
64lint:
65 lint -DLINT $(INCLUDES) $(SRC)>fluff
66
67depend:
68 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
69
70dclean:
99aab161 71 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
d02b48c6
RE
72 mv -f Makefile.new $(MAKEFILE)
73
74clean:
bb8f3c58 75 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
d02b48c6 76
d02b48c6 77# DO NOT DELETE THIS LINE -- make depend depends on it.
6242bb9c 78
bf57da07
BM
79mdc2_one.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
80mdc2_one.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
81mdc2_one.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
82mdc2_one.o: ../../include/openssl/mdc2.h ../../include/openssl/opensslconf.h
83mdc2_one.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
84mdc2_one.o: ../cryptlib.h
85mdc2dgst.o: ../../include/openssl/des.h ../../include/openssl/mdc2.h
86mdc2dgst.o: ../../include/openssl/opensslconf.h