9f3dc7945161465cefb26cf9d37cb1bd29b2a992
[users/heiko/exim.git] / src / src / pdkim / Makefile
1 # Make file for building the pdkim library.
2
3 OBJ = base64.o bignum.o pdkim.o rsa.o sha1.o sha2.o part-x509parse.o pdkim-rsa.o
4
5 pdkim.a:         $(OBJ)
6                  @$(RM_COMMAND) -f pdkim.a
7                  @echo "$(AR) pdkim.a"
8                  $(FE)$(AR) pdkim.a $(OBJ)
9                  $(RANLIB) $@
10
11 .SUFFIXES:       .o .c
12 .c.o:;           @echo "$(CC) $*.c"
13                  $(FE)$(CC) -c $(CFLAGS) $(INCLUDE) -I. $*.c
14
15 base64.o:           $(HDRS) base64.c
16 bignum.o:           $(HDRS) bignum.c
17 part-x509parse.o:   $(HDRS) part-x509parse.c
18 pdkim.o:            $(HDRS) pdkim.h pdkim-rsa.h pdkim.c
19 pdkim-rsa.o:        $(HDRS) polarssl/private-x509parse_c.h polarssl/base64.h \
20                         pdkim-rsa.h pdkim-rsa.c
21 rsa.o:              $(HDRS) rsa.c
22 sha1.o:             $(HDRS) sha1.c
23 sha2.o:             $(HDRS) sha2.c
24
25 # End