2 # Makefile for config subdirectory
7 top_srcdir = @top_srcdir@
12 exec_prefix = @exec_prefix@
17 sendmailpath = @sendmailpath@
18 mailspool = @mailspool@
23 # add include dir .. for config.h when building in different directory
24 INCLUDES = -I$(top_srcdir) -I.. @CPPFLAGS@
25 CONFIGDEFS = -DNMHETCDIR='"$(etcdir)"' \
26 -DSENDMAILPATH='"$(sendmailpath)"' \
27 -DMAILSPOOL='"$(mailspool)"'
29 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
30 COMPILE2 = $(CC) -c $(DEFS) $(CONFIGDEFS) $(INCLUDES) $(CFLAGS)
44 # ========= DEPENDENCIES FOR BUILDING ==========
49 $(COMPILE2) $(srcdir)/config.c
57 # ========== DEPENDENCIES FOR CLEANUP ==========
71 # ========== DEPENDENCIES FOR MAINTENANCE ==========
75 Makefile: Makefile.in ../config.status
76 cd .. && ./config.status $(subdir)/$@