Commit | Line | Data |
---|---|---|
23510047 | 1 | # $Cambridge: exim/src/src/auths/Makefile,v 1.6 2008/02/14 13:49:35 fanf2 Exp $ |
0756eb3c PH |
2 | |
3 | # Make file for building a library containing all the available authorization | |
4 | # methods, and calling it auths.a. In addition, there are functions that are | |
5 | # of general use in several methods; these are in separate modules so they are | |
6 | # linked in only when needed. This Makefile is called from the main make file, | |
7 | # after cd'ing to the auths subdirectory. When the relevant AUTH_ macros are | |
8 | # defined, the equivalent modules herein is not included in the final binary. | |
9 | ||
16ff981e PH |
10 | OBJ = auth-spa.o b64decode.o b64encode.o call_pam.o call_pwcheck.o \ |
11 | call_radius.o check_serv_cond.o cram_md5.o cyrus_sasl.o dovecot.o \ | |
12 | get_data.o get_no64_data.o md5.o plaintext.o pwcheck.o sha1.o \ | |
13 | spa.o xtextdecode.o xtextencode.o | |
0756eb3c PH |
14 | |
15 | auths.a: $(OBJ) | |
ebcb507f | 16 | @$(RM_COMMAND) -f auths.a |
c1ac6996 PH |
17 | @echo "$(AR) auths.a" |
18 | $(FE)$(AR) auths.a $(OBJ) | |
0756eb3c | 19 | $(RANLIB) $@ |
0756eb3c PH |
20 | |
21 | .SUFFIXES: .o .c | |
c1ac6996 PH |
22 | .c.o:; @echo "$(CC) $*.c" |
23 | $(FE)$(CC) -c $(CFLAGS) $(INCLUDE) $*.c | |
0756eb3c | 24 | |
16ff981e PH |
25 | auth-spa.o: $(HDRS) auth-spa.c |
26 | b64encode.o: $(HDRS) b64encode.c | |
27 | b64decode.o: $(HDRS) b64decode.c | |
28 | call_pam.o: $(HDRS) call_pam.c | |
29 | call_pwcheck.o: $(HDRS) call_pwcheck.c pwcheck.h | |
30 | call_radius.o: $(HDRS) call_radius.c | |
31 | check_serv_cond.o: $(HDRS) check_serv_cond.c | |
32 | get_data.o: $(HDRS) get_data.c | |
33 | get_no64_data.o: $(HDRS) get_no64_data.c | |
34 | md5.o: $(HDRS) md5.c | |
35 | pwcheck.o: $(HDRS) pwcheck.c pwcheck.h | |
36 | sha1.o: $(HDRS) sha1.c | |
37 | xtextdecode.o: $(HDRS) xtextdecode.c | |
38 | xtextencode.o: $(HDRS) xtextencode.c | |
0756eb3c | 39 | |
16ff981e PH |
40 | cram_md5.o: $(HDRS) cram_md5.c cram_md5.h |
41 | cyrus_sasl.o: $(HDRS) cyrus_sasl.c cyrus_sasl.h | |
42 | dovecot.o: $(HDRS) dovecot.c dovecot.h | |
43 | plaintext.o: $(HDRS) plaintext.c plaintext.h | |
44 | spa.o: $(HDRS) spa.c spa.h | |
0756eb3c PH |
45 | |
46 | # End |