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