ab9665
--- dhcp-3.0.5/Makefile.Makefile	2004-06-10 13:59:10.000000000 -0400
08af1e
+++ dhcp-3.0.5/Makefile	2006-11-10 11:09:32.000000000 -0500
ab9665
@@ -33,7 +33,7 @@
ab9665
 	 if [ ! -d work.$$sysname ]; then \
ab9665
 	   echo No build directory for $$sysname - please run ./configure.; \
ab9665
 	else \
ab9665
-	   (cd work.$$sysname; make all); \
ab9665
+	   (cd work.$$sysname; $(MAKE) all); \
ab9665
 	fi
ab9665
 
ab9665
 install:
ab9665
@@ -41,7 +41,7 @@
ab9665
 	 if [ ! -d work.$$sysname ]; then \
ab9665
 	   echo No build directory for $$sysname - please run ./configure.; \
ab9665
 	else \
ab9665
-	   (cd work.$$sysname; make install); \
ab9665
+	   (cd work.$$sysname; $(MAKE) install); \
ab9665
 	fi
ab9665
 
ab9665
 depend:
ab9665
@@ -49,7 +49,7 @@
ab9665
 	 if [ ! -d work.$$sysname ]; then \
ab9665
 	   echo No build directory for $$sysname - please run ./configure.; \
ab9665
 	else \
ab9665
-	   (cd work.$$sysname; make depend); \
ab9665
+	   (cd work.$$sysname; $(MAKE) depend); \
ab9665
 	fi
ab9665
 
ab9665
 clean:
ab9665
@@ -81,6 +81,6 @@
ab9665
 	 if [ ! -d work.$$sysname ]; then \
ab9665
 	   echo No build directory for $$sysname - please run ./configure.; \
ab9665
 	else \
ab9665
-	   (cd work.$$sysname; make links); \
ab9665
+	   (cd work.$$sysname; $(MAKE) links); \
ab9665
 	fi
ab9665
 
08af1e
--- dhcp-3.0.5/Makefile.conf.Makefile	2005-06-16 15:39:35.000000000 -0400
08af1e
+++ dhcp-3.0.5/Makefile.conf	2006-11-10 11:12:43.000000000 -0500
08af1e
@@ -49,7 +49,7 @@
08af1e
 DEBUG = -g
08af1e
 #WARNERR = -Werror
08af1e
 RANLIB = ranlib
08af1e
-MKDEP = mkdep
08af1e
+MKDEP = $(CC)
08af1e
 CLIENT_PATH = '"PATH=/usr/ucb:/usr/bin:/usr/sbin:/bin:/sbin"'
08af1e
 
08af1e
 BINDLIB = ../minires/libres.a