summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/md4/Makefile')
-rw-r--r--src/lib/libcrypto/md4/Makefile90
1 files changed, 90 insertions, 0 deletions
diff --git a/src/lib/libcrypto/md4/Makefile b/src/lib/libcrypto/md4/Makefile
new file mode 100644
index 0000000000..0bc4896585
--- /dev/null
+++ b/src/lib/libcrypto/md4/Makefile
@@ -0,0 +1,90 @@
1#
2# OpenSSL/crypto/md4/Makefile
3#
4
5DIR= md4
6TOP= ../..
7CC= cc
8CPP= $(CC) -E
9INCLUDES=
10CFLAG=-g
11MAKEFILE= Makefile
12AR= ar r
13
14CFLAGS= $(INCLUDES) $(CFLAG)
15
16GENERAL=Makefile
17TEST=md4test.c
18APPS=md4.c
19
20LIB=$(TOP)/libcrypto.a
21LIBSRC=md4_dgst.c md4_one.c
22LIBOBJ=md4_dgst.o md4_one.o
23
24SRC= $(LIBSRC)
25
26EXHEADER= md4.h
27HEADER= md4_locl.h $(EXHEADER)
28
29ALL= $(GENERAL) $(SRC) $(HEADER)
30
31top:
32 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
33
34all: lib
35
36lib: $(LIBOBJ)
37 $(ARX) $(LIB) $(LIBOBJ)
38 $(RANLIB) $(LIB) || echo Never mind.
39 @touch lib
40
41files:
42 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
43
44links:
45 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
46 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
47 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
48
49install:
50 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
51 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
52 do \
53 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
54 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
55 done;
56
57tags:
58 ctags $(SRC)
59
60tests:
61
62lint:
63 lint -DLINT $(INCLUDES) $(SRC)>fluff
64
65depend:
66 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
67 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
68
69dclean:
70 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
71 mv -f Makefile.new $(MAKEFILE)
72
73clean:
74 rm -f asm/mx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
75
76# DO NOT DELETE THIS LINE -- make depend depends on it.
77
78md4_dgst.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
79md4_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
80md4_dgst.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
81md4_dgst.o: ../../include/openssl/md4.h ../../include/openssl/opensslconf.h
82md4_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
83md4_dgst.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
84md4_dgst.o: ../../include/openssl/symhacks.h ../md32_common.h md4_dgst.c
85md4_dgst.o: md4_locl.h
86md4_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
87md4_one.o: ../../include/openssl/md4.h ../../include/openssl/opensslconf.h
88md4_one.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
89md4_one.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
90md4_one.o: ../../include/openssl/symhacks.h md4_one.c