From eaa30bf56be0feaaee22d89a32574b810db4e330 Mon Sep 17 00:00:00 2001 From: zolliker Date: Fri, 4 Mar 2005 09:44:19 +0000 Subject: [PATCH] *** empty log message *** --- hardsup/makefile | 36 ++++++++++++++++++++++++++++++++---- tecs/makefile | 36 ++++++++++++++++++++++++++++++++---- tecs/pg_plus/makefile | 36 ++++++++++++++++++++++++++++++++---- utils/makefile | 36 ++++++++++++++++++++++++++++++++---- 4 files changed, 128 insertions(+), 16 deletions(-) diff --git a/hardsup/makefile b/hardsup/makefile index 4d3ce09..8f5a8eb 100644 --- a/hardsup/makefile +++ b/hardsup/makefile @@ -1,6 +1,34 @@ -# this makefile delegates to a version specific makefile +# Forwards the execution to a version specific makefile. +# SICS_VERSION must be defined, else usage is printed +# M. Zolliker 03.2005 -# where root is (from here) -S_UP=../.. +VERS_UNDEFINED= +VERS_UNDEFINED$(SICS_VERSION)=version_undefined + +INCL_MF=makefile_$(SICS_VERSION) + +-include $(INCL_MF) + +version_undefined: + @ echo "" + @ echo "Usage:" + @ echo "" + @ echo " make -f makefile_xxx [target]" + @ echo "" + @ echo ' where makefile_xxx is one of' + @ echo "" + @ ls -1 makefile_* | pr -t -o 4 + @ echo "" + @ echo "Or, more convenient, define the following in the login script" + @ echo "" + @ echo " setenv SICS_VERSION version_xxx (assume we are using tcsh)" + @ echo "" + @ echo " where version_xxx is one of" + @ echo "" + @ ls -1 makefile_* | cut -b 10-99 | pr -t -o 4 + @ echo "" + @ echo "and then use simply" + @ echo "" + @ echo " make [target]" + @ echo "" -include ../../make_forward diff --git a/tecs/makefile b/tecs/makefile index 4d3ce09..8f5a8eb 100644 --- a/tecs/makefile +++ b/tecs/makefile @@ -1,6 +1,34 @@ -# this makefile delegates to a version specific makefile +# Forwards the execution to a version specific makefile. +# SICS_VERSION must be defined, else usage is printed +# M. Zolliker 03.2005 -# where root is (from here) -S_UP=../.. +VERS_UNDEFINED= +VERS_UNDEFINED$(SICS_VERSION)=version_undefined + +INCL_MF=makefile_$(SICS_VERSION) + +-include $(INCL_MF) + +version_undefined: + @ echo "" + @ echo "Usage:" + @ echo "" + @ echo " make -f makefile_xxx [target]" + @ echo "" + @ echo ' where makefile_xxx is one of' + @ echo "" + @ ls -1 makefile_* | pr -t -o 4 + @ echo "" + @ echo "Or, more convenient, define the following in the login script" + @ echo "" + @ echo " setenv SICS_VERSION version_xxx (assume we are using tcsh)" + @ echo "" + @ echo " where version_xxx is one of" + @ echo "" + @ ls -1 makefile_* | cut -b 10-99 | pr -t -o 4 + @ echo "" + @ echo "and then use simply" + @ echo "" + @ echo " make [target]" + @ echo "" -include ../../make_forward diff --git a/tecs/pg_plus/makefile b/tecs/pg_plus/makefile index 532c421..8f5a8eb 100644 --- a/tecs/pg_plus/makefile +++ b/tecs/pg_plus/makefile @@ -1,6 +1,34 @@ -# this makefile delegates to a version specific makefile +# Forwards the execution to a version specific makefile. +# SICS_VERSION must be defined, else usage is printed +# M. Zolliker 03.2005 -# where root is (from here) -S_UP=../../.. +VERS_UNDEFINED= +VERS_UNDEFINED$(SICS_VERSION)=version_undefined + +INCL_MF=makefile_$(SICS_VERSION) + +-include $(INCL_MF) + +version_undefined: + @ echo "" + @ echo "Usage:" + @ echo "" + @ echo " make -f makefile_xxx [target]" + @ echo "" + @ echo ' where makefile_xxx is one of' + @ echo "" + @ ls -1 makefile_* | pr -t -o 4 + @ echo "" + @ echo "Or, more convenient, define the following in the login script" + @ echo "" + @ echo " setenv SICS_VERSION version_xxx (assume we are using tcsh)" + @ echo "" + @ echo " where version_xxx is one of" + @ echo "" + @ ls -1 makefile_* | cut -b 10-99 | pr -t -o 4 + @ echo "" + @ echo "and then use simply" + @ echo "" + @ echo " make [target]" + @ echo "" -include $(S_UP)/make_forward diff --git a/utils/makefile b/utils/makefile index 4d3ce09..8f5a8eb 100644 --- a/utils/makefile +++ b/utils/makefile @@ -1,6 +1,34 @@ -# this makefile delegates to a version specific makefile +# Forwards the execution to a version specific makefile. +# SICS_VERSION must be defined, else usage is printed +# M. Zolliker 03.2005 -# where root is (from here) -S_UP=../.. +VERS_UNDEFINED= +VERS_UNDEFINED$(SICS_VERSION)=version_undefined + +INCL_MF=makefile_$(SICS_VERSION) + +-include $(INCL_MF) + +version_undefined: + @ echo "" + @ echo "Usage:" + @ echo "" + @ echo " make -f makefile_xxx [target]" + @ echo "" + @ echo ' where makefile_xxx is one of' + @ echo "" + @ ls -1 makefile_* | pr -t -o 4 + @ echo "" + @ echo "Or, more convenient, define the following in the login script" + @ echo "" + @ echo " setenv SICS_VERSION version_xxx (assume we are using tcsh)" + @ echo "" + @ echo " where version_xxx is one of" + @ echo "" + @ ls -1 makefile_* | cut -b 10-99 | pr -t -o 4 + @ echo "" + @ echo "and then use simply" + @ echo "" + @ echo " make [target]" + @ echo "" -include ../../make_forward