Doc/Spec: section "Trust in configuration data"
[exim.git] / src / src / routers / Makefile
1 # Make file for building a library containing all the available routers and
2 # calling it routers.a. This is called from the main make file, after cd'ing
3 # to the directors subdirectory. The library also contains functions that
4 # are called only from within the individual routers.
5
6 OBJ = accept.o dnslookup.o ipliteral.o iplookup.o manualroute.o \
7       queryprogram.o redirect.o \
8       rf_change_domain.o rf_expand_data.o rf_get_errors_address.o \
9       rf_get_munge_headers.o rf_get_transport.o rf_get_ugid.o \
10       rf_lookup_hostlist.o \
11       rf_queue_add.o rf_self_action.o \
12       rf_set_ugid.o
13
14 routers.a:       $(OBJ)
15                  @$(RM_COMMAND) -f routers.a
16                  @echo "$(AR) routers.a"
17                  @$(AR) routers.a $(OBJ)
18                  $(RANLIB) $@
19
20 .SUFFIXES:       .o .c
21 .c.o:;           @echo "$(CC) $*.c"
22                  $(FE)$(CC) -c $(CFLAGS) $(INCLUDE) $*.c
23
24 rf_change_domain.o:      $(HDRS) rf_change_domain.c      rf_functions.h
25 rf_expand_data.o:        $(HDRS) rf_expand_data.c        rf_functions.h
26 rf_get_errors_address.o: $(HDRS) rf_get_errors_address.c rf_functions.h
27 rf_get_munge_headers.o:  $(HDRS) rf_get_munge_headers.c  rf_functions.h
28 rf_get_transport.o:      $(HDRS) rf_get_transport.c      rf_functions.h
29 rf_get_ugid.o:           $(HDRS) rf_get_ugid.c           rf_functions.h
30 rf_lookup_hostlist.o:    $(HDRS) rf_lookup_hostlist.c    rf_functions.h
31 rf_queue_add.o:          $(HDRS) rf_queue_add.c          rf_functions.h
32 rf_self_action.o:        $(HDRS) rf_self_action.c        rf_functions.h
33 rf_set_ugid.o:           $(HDRS) rf_set_ugid.c           rf_functions.h
34
35 accept.o:        $(HDRS) accept.c       rf_functions.h accept.h
36 dnslookup.o:     $(HDRS) dnslookup.c    rf_functions.h dnslookup.h
37 ipliteral.o:     $(HDRS) ipliteral.c    rf_functions.h ipliteral.h
38 iplookup.o:      $(HDRS) iplookup.c     rf_functions.h iplookup.h
39 manualroute.o:   $(HDRS) manualroute.c  rf_functions.h manualroute.h
40 queryprogram.o:  $(HDRS) queryprogram.c rf_functions.h queryprogram.h
41 redirect.o:      $(HDRS) redirect.c     rf_functions.h redirect.h
42
43 # End