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