]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add all the possible top-level make targets.
authorTed Lemon <source@isc.org>
Tue, 20 Jun 2000 20:07:54 +0000 (20:07 +0000)
committerTed Lemon <source@isc.org>
Tue, 20 Jun 2000 20:07:54 +0000 (20:07 +0000)
Makefile

index aa4fda914c8a0381ae255abbf0a276431b93a0a9..b3a391a890d3355cd9f53ccc7f3f9345141a0827 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,3 +45,52 @@ all:
        else \
           (cd $$sysname; make all); \
        fi
+
+install:
+       @sysname=`./configure --print-sysname`; \
+        if [ ! -d $$sysname ]; then \
+          echo No build directory for $$sysname - please run ./configure.; \
+       else \
+          (cd $$sysname; make install); \
+       fi
+
+depend:
+       @sysname=`./configure --print-sysname`; \
+        if [ ! -d $$sysname ]; then \
+          echo No build directory for $$sysname - please run ./configure.; \
+       else \
+          (cd $$sysname; make depend); \
+       fi
+
+clean:
+       @sysname=`./configure --print-sysname`; \
+        if [ ! -d $$sysname ]; then \
+          echo No build directory for $$sysname - please run ./configure.; \
+       else \
+          (cd $$sysname; make clean); \
+       fi
+
+realclean:
+       @sysname=`./configure --print-sysname`; \
+        if [ ! -d $$sysname ]; then \
+          echo No build directory for $$sysname - please run ./configure.; \
+       else \
+          (cd $$sysname; make realclean); \
+       fi
+
+distclean:
+       @sysname=`./configure --print-sysname`; \
+        if [ ! -d $$sysname ]; then \
+          echo No build directory for $$sysname - please run ./configure.; \
+       else \
+          (cd $$sysname; make distclean); \
+       fi
+
+links:
+       @sysname=`./configure --print-sysname`; \
+        if [ ! -d $$sysname ]; then \
+          echo No build directory for $$sysname - please run ./configure.; \
+       else \
+          (cd $$sysname; make links); \
+       fi
+