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 8OBJ = auth-spa.o call_pam.o call_pwcheck.o \ 9 call_radius.o check_serv_cond.o cram_md5.o cyrus_sasl.o dovecot.o \ 10 external.o get_data.o get_no64_data.o gsasl_exim.o heimdal_gssapi.o \ 11 plaintext.o pwcheck.o \ 12 spa.o tls.o xtextdecode.o xtextencode.o 13 14auths.a: $(OBJ) 15 @$(RM_COMMAND) -f auths.a 16 @echo "$(AR) auths.a" 17 $(FE)$(AR) auths.a $(OBJ) 18 $(RANLIB) $@ 19 20.SUFFIXES: .o .c 21.c.o:; @echo "$(CC) $*.c" 22 $(FE)$(CC) -c $(CFLAGS) $(INCLUDE) $*.c 23 24auth-spa.o: $(HDRS) auth-spa.c 25call_pam.o: $(HDRS) call_pam.c 26call_pwcheck.o: $(HDRS) call_pwcheck.c pwcheck.h 27call_radius.o: $(HDRS) call_radius.c 28check_serv_cond.o: $(HDRS) check_serv_cond.c 29get_data.o: $(HDRS) get_data.c 30get_no64_data.o: $(HDRS) get_no64_data.c 31pwcheck.o: $(HDRS) pwcheck.c pwcheck.h 32xtextdecode.o: $(HDRS) xtextdecode.c 33xtextencode.o: $(HDRS) xtextencode.c 34 35cram_md5.o: $(HDRS) cram_md5.c cram_md5.h 36cyrus_sasl.o: $(HDRS) cyrus_sasl.c cyrus_sasl.h 37dovecot.o: $(HDRS) dovecot.c dovecot.h 38external.o: $(HDRS) external.c external.h 39gsasl_exim.o: $(HDRS) gsasl_exim.c gsasl_exim.h 40heimdal_gssapi.o: $(HDRS) heimdal_gssapi.c heimdal_gssapi.h 41plaintext.o: $(HDRS) plaintext.c plaintext.h 42spa.o: $(HDRS) spa.c spa.h 43tls.o: $(HDRS) tls.c tls.h 44 45# End 46