X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1353a95720e4049e5f8357cd009b76c0450ec39f..b47be5635d60ccd3fb5a3108c1cea170ce376df2:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 50d494c6..6dc80179 100644 --- a/Makefile.am +++ b/Makefile.am @@ -316,7 +316,7 @@ uip_mark_LDADD = $(LDADD) $(POSTLINK) uip_mhbuild_SOURCES = uip/mhbuild.c uip/mhbuildsbr.c uip/mhcachesbr.c \ uip/mhlistsbr.c uip/mhoutsbr.c uip/mhmisc.c \ - uip/mhfree.c uip/mhparse.c uip/md5.c + uip/mhfree.c uip/mhparse.c uip/md5.c uip/attach.c uip_mhbuild_LDADD = $(LDADD) $(TERMLIB) $(POSTLINK) uip_mhfixmsg_SOURCES = uip/mhfixmsg.c uip/mhparse.c uip/mhcachesbr.c \ @@ -471,8 +471,12 @@ etc_gen_ctype_checked_LDADD = $(POSTLINK) ## ## Our rebuild rules for files that aren't built via the normal mechanisms ## + +## Hard-code the config/version.c target, instead of using $@, so this +## rule works for the distcheck target with Solaris (System V) make. +## distcheck uses VPATH, causes that make to prepend the VPATH to $@. config/version.c: Makefile - sh $(srcdir)/config/version.sh $(VERSION) > $@ + sh $(srcdir)/config/version.sh $(VERSION) > ./config/version.c sbr/sigmsg.h: $(srcdir)/sbr/sigmsg.awk $(SIGNAL_H) $(AWK) -f $(srcdir)/sbr/sigmsg.awk $(SIGNAL_H) > $@