]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/ripemd/Makefile
Remove fipscanister build functionality from makefiles.
[thirdparty/openssl.git] / crypto / ripemd / Makefile
CommitLineData
58964a49 1#
15ac9716 2# OpenSSL/crypto/ripemd/Makefile
58964a49
RE
3#
4
5DIR= ripemd
6TOP= ../..
7CC= cc
8CPP= $(CC) -E
9INCLUDES=
10CFLAG=-g
42ba5d23 11MAKEFILE= Makefile
58964a49
RE
12AR= ar r
13
14RIP_ASM_OBJ=
15
16CFLAGS= $(INCLUDES) $(CFLAG)
fda5e385 17ASFLAGS= $(INCLUDES) $(ASFLAG)
16760a30 18AFLAGS= $(ASFLAGS)
58964a49
RE
19
20GENERAL=Makefile
21TEST=rmdtest.c
0f4805f5 22APPS=
58964a49
RE
23
24LIB=$(TOP)/libcrypto.a
25LIBSRC=rmd_dgst.c rmd_one.c
26LIBOBJ=rmd_dgst.o rmd_one.o $(RMD160_ASM_OBJ)
27
28SRC= $(LIBSRC)
29
30EXHEADER= ripemd.h
31HEADER= rmd_locl.h rmdconst.h $(EXHEADER)
32
33ALL= $(GENERAL) $(SRC) $(HEADER)
34
35top:
36 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
37
38all: lib
39
40lib: $(LIBOBJ)
f072785e 41 $(AR) $(LIB) $(LIBOBJ)
4e20b1a6 42 $(RANLIB) $(LIB) || echo Never mind.
58964a49
RE
43 @touch lib
44
fa8e921f
AP
45rmd-586.s: asm/rmd-586.pl ../perlasm/x86asm.pl
46 $(PERL) asm/rmd-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
58964a49
RE
47
48files:
42ba5d23 49 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
58964a49
RE
50
51links:
1314c344
BM
52 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
58964a49
RE
55
56install:
81a86fcf 57 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
a2ac429d 58 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
58964a49 59 do \
e5f3045f
BM
60 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
61 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
58964a49
RE
62 done;
63
64tags:
65 ctags $(SRC)
66
67tests:
68
69lint:
70 lint -DLINT $(INCLUDES) $(SRC)>fluff
71
72depend:
ce92b6eb 73 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
001ab3ab 74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
58964a49
RE
75
76dclean:
99aab161 77 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
58964a49
RE
78 mv -f Makefile.new $(MAKEFILE)
79
80clean:
67ea999d 81 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
58964a49 82
58964a49 83# DO NOT DELETE THIS LINE -- make depend depends on it.
6242bb9c 84
ce92b6eb
AP
85rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
86rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h
87rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h
88rmd_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
89rmd_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
90rmd_one.o: ../../include/openssl/ossl_typ.h ../../include/openssl/ripemd.h
91rmd_one.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
92rmd_one.o: ../../include/openssl/symhacks.h rmd_one.c