tidying
[users/jgh/exim.git] / src / OS / Makefile-Base
index 1f42e0ec39476a0e680564bbec907c7070e86207..7122bc019f374e2e4af67044d18c98409eded203 100644 (file)
@@ -82,6 +82,7 @@ Makefile: ../OS/Makefile-Base ../OS/Makefile-Default \
 os.h:  $(SCRIPTS)/Configure-os.h \
        $(O)/os.h-Darwin        \
        $(O)/os.h-FreeBSD       \
+       $(O)/os.h-GNU           \
        $(O)/os.h-Linux         \
        $(O)/os.h-OpenBSD       \
        $(O)/os.h-SunOS5
@@ -92,6 +93,7 @@ os.h: $(SCRIPTS)/Configure-os.h \
 os.c:   ../src/os.c \
        $(SCRIPTS)/Configure-os.c \
        $(O)/os.c-FreeBSD       \
+       $(O)/os.c-GNU           \
        $(O)/os.c-Linux         \
        $(O)/os.c-SunOS5
        $(SHELL) $(SCRIPTS)/Configure-os.c
@@ -868,9 +870,9 @@ em_text.o:       ../exim_monitor/em_text.c    ../exim_monitor/em_hdr.h
 em_xs.o:         ../exim_monitor/em_xs.c      ../exim_monitor/em_hdr.h
 em_version.o:    ../exim_monitor/em_version.c ../exim_monitor/em_hdr.h
 $(MONBIN): $(HDRS)
-                @echo "$(CC) exim_monitor/`echo $@ | sed 's/o$$/c/'`"
-                $(FE)$(CC) -o $@ -c $(CFLAGS) -I. -I../exim_monitor $(INCLUDE) $(XINCLUDE) \
-                  ../exim_monitor/`echo $@ | sed 's/o$$/c/'`
+                @echo "$(CC) exim_monitor/$(@:.o=.c)"
+                $(FE)$(CC) -o $@ -c $(CFLAGS) -DCOMPILE_UTILITY -I. -I../exim_monitor $(INCLUDE) $(XINCLUDE) \
+                  ../exim_monitor/$(@:.o=.c)
 
 
 # Targets for the various libraries that Exim uses.