Rely on system prototypes if we #define our os funcs.
[exim.git] / src / src / routers / Makefile
index 5e8ddeebc0acdf460ad0efdad8ceedf5202d5adb..54e6ec989a26109bce0c6d707c77e18539b8a5e7 100644 (file)
@@ -1,4 +1,4 @@
-# $Cambridge: exim/src/src/routers/Makefile,v 1.1 2004/10/07 13:10:02 ph10 Exp $
+# $Cambridge: exim/src/src/routers/Makefile,v 1.4 2008/02/14 13:49:35 fanf2 Exp $
 
 # Make file for building a library containing all the available routers and
 # calling it routers.a. This is called from the main make file, after cd'ing
@@ -14,13 +14,14 @@ OBJ = accept.o dnslookup.o ipliteral.o iplookup.o manualroute.o \
       rf_set_ugid.o
 
 routers.a:       $(OBJ)
-                /bin/rm -f routers.a
-                $(AR) routers.a $(OBJ)
+                @$(RM_COMMAND) -f routers.a
+                @echo "$(AR) routers.a"
+                @$(AR) routers.a $(OBJ)
                 $(RANLIB) $@
-                /bin/rm -rf ../drtables.o
 
 .SUFFIXES:       .o .c
-.c.o:;           $(CC) -c $(CFLAGS) $(INCLUDE) $*.c
+.c.o:;           @echo "$(CC) $*.c"
+                $(FE)$(CC) -c $(CFLAGS) $(INCLUDE) $*.c
 
 rf_change_domain.o:      $(HDRS) rf_change_domain.c      rf_functions.h
 rf_expand_data.o:        $(HDRS) rf_expand_data.c        rf_functions.h