From: Ted Lemon Date: Tue, 20 Jun 2000 20:07:54 +0000 (+0000) Subject: Add all the possible top-level make targets. X-Git-Tag: V3-BETA-2-PATCH-1~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=737cfe20d55de8a09077183fcf0e26a8549aa7bf;p=thirdparty%2Fdhcp.git Add all the possible top-level make targets. --- diff --git a/Makefile b/Makefile index aa4fda914..b3a391a89 100644 --- 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 +