X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=config%2FMakefile.in;h=47f9125b22776da2fa0a09761137655373764e10;hp=1f1d5aa1fb5bd47c73f17d5a9659b59a8d406e3e;hb=e2550f03c9679b6fcc5240f9cda48bd5a9951e3a;hpb=5d43a99db70c12a673028c7758c20cbe3e13ef5f diff --git a/config/Makefile.in b/config/Makefile.in index 1f1d5aa..47f9125 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -18,13 +18,16 @@ libdir = @libdir@ etcdir = @sysconfdir@ sendmailpath = @sendmailpath@ +mailspool = @mailspool@ CC = @CC@ CFLAGS = @CFLAGS@ DEFS = @DEFS@ -INCLUDES = -I.. -I$(top_srcdir) @CPPFLAGS@ -CONFIGDEFS = -DNMHBINDIR='"$(bindir)"' -DNMHETCDIR='"$(etcdir)"' -DNMHLIBDIR='"$(libdir)"' \ - -DSENDMAILPATH='"$(sendmailpath)"' +# add include dir .. for config.h when building in different directory +INCLUDES = -I$(top_srcdir) -I.. @CPPFLAGS@ +CONFIGDEFS = -DNMHETCDIR='"$(etcdir)"' \ + -DSENDMAILPATH='"$(sendmailpath)"' \ + -DMAILSPOOL='"$(mailspool)"' COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) COMPILE2 = $(CC) -c $(DEFS) $(CONFIGDEFS) $(INCLUDES) $(CFLAGS) @@ -41,12 +44,6 @@ SRCS = config.c # object files OBJS = config.o version.o -# auxiliary files -AUX = Makefile.in version.sh - -# all files in this directory included in the distribution -DIST = $(SRCS) $(AUX) - # ========= DEPENDENCIES FOR BUILDING ========== all: $(OBJS) @@ -84,11 +81,4 @@ subdir = config Makefile: Makefile.in ../config.status cd .. && ./config.status $(subdir)/$@ - -distdir = ../`cat ../distname`/$(subdir) -nmhdist: $(DIST) - @echo "Copying distribution files in $(subdir)" - @for file in $(DIST); do \ - cp -p $(srcdir)/$$file $(distdir); \ - done