From: Oliver Kiddle Date: Fri, 16 May 2008 15:31:26 +0000 (+0000) Subject: don't use $< in target rules in makefiles, as POSIX says it's only defined X-Git-Tag: PRE_POSIX_CONVERSION~64 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=07f336c16bdb2316c0e32debb3c7ed2e5a89e49a don't use $< in target rules in makefiles, as POSIX says it's only defined in inference rules --- diff --git a/ChangeLog b/ChangeLog index 01ba704..999e743 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-16 Oliver Kiddle + + * sbr/Makefile.in, config/Makefile.in: Don't use $< in target rules + in makefiles, as POSIX says it's only defined in inference rules. + 2008-05-13 David Levine * configure.in, INSTALL: if --enable-masquerade is not diff --git a/config/Makefile.in b/config/Makefile.in index 482bca2..aba161b 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -58,7 +58,7 @@ version.c: ${srcdir}/version.sh $(VERSION) > version.c config.o: config.c - $(COMPILE2) $< + $(COMPILE2) $(srcdir)/config.c install: diff --git a/sbr/Makefile.in b/sbr/Makefile.in index 2927e3c..608faa7 100644 --- a/sbr/Makefile.in +++ b/sbr/Makefile.in @@ -104,13 +104,13 @@ lint: sigmsg.h # Note that some lexes (for example flex 2.5.4) require that there # be no space between -o and the output filename. dtimep.c: dtimep.lex - $(LEX) -o$@ $< + $(LEX) -n -t $(srcdir)/dtimep.lex > dtimep.c client.o: client.c - $(COMPILE2) $< + $(COMPILE2) $(srcdir)/client.c mts.o: mts.c - $(COMPILE2) $< + $(COMPILE2) $(srcdir)/mts.c pidstatus.o: sigmsg.h