This patch against 0.22 is to make sure that the make used for sub-invocations of the build
process is the same as the one with which it was triggered in the first place
(and which doesn't need to go by the name of make). On Solaris e.g. there's
"gmake" which is the GNU make, whereas "make" is a non-GNU make which only
implements a subset of options.
---
Makefile.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index e20182e..b8f098e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -77,14 +77,14 @@ version.h:
./mkversion
./dfasyn/dfasyn:
- if [ -d dfasyn ]; then cd dfasyn ; make CC="$(CC)" CFLAGS="$(CFLAGS)" ; else echo "No dfasyn subdirectory?" ; exit 1 ; fi
+ if [ -d dfasyn ]; then cd dfasyn ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" ; else echo "No dfasyn subdirectory?" ; exit 1 ; fi
clean:
-rm -f *~ *.o mairix *.s core
-rm -f mairix.cp mairix.fn mairix.aux mairix.log mairix.ky mairix.pg mairix.toc mairix.tp mairix.vr
-rm -f fromcheck.[ch] datescan.[ch]
-rm -f nvpscan.[ch]
- if [ -d dfasyn ]; then cd dfasyn ; make clean ; fi
+ if [ -d dfasyn ]; then cd dfasyn ; $(MAKE) clean ; fi
distclean: clean
-rm -f Makefile config.log
--
1.7.3
As copy 'n paste doesn't seem to be such a good idea for patches here, there's a well-formated version of this patch available at https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/mairix/trunk/files/0001-Use-MAKE-instead-of-a-hardcoded-make.patch