SKIPPED:
	psi/cd_obj
	psi/make_gen
	psi/hardsup/cd_obj
	psi/hardsup/make_gen
	psi/hardsup/makefile_alpha
	psi/hardsup/makefile_linux
	psi/tecs/cd_obj
	psi/tecs/make_gen
	psi/tecs/makefile_alpha
	psi/tecs/makefile_linux
This commit is contained in:
cvs
2003-08-27 12:40:31 +00:00
parent 0bb8d632f1
commit 7af6c3c3af
11 changed files with 37 additions and 11 deletions

View File

@@ -7,8 +7,10 @@ VERS_UNDEFINED=
VERS_UNDEFINED$(SICS_VERSION)=version_undefined
SICS_ROOT=$(PWD)/$(S_UP)
MD=cd $(SICS_ROOT)/obj/$(SICS_VERSION)/$(S_DOWN); \
OBJROOT=$(SICS_ROOT)/obj/$(SICS_VERSION)
MD=cd $(OBJROOT)/$(S_DOWN); \
make -f $(SRC)makefile_$(SICS_VERSION) SRC=$(SRC)
TREE=$(OBJROOT)/tree
# overwrite MD when SICS_VERSION undefined
MD$(SICS_VERSION)=@ true
@@ -17,25 +19,34 @@ SRC=src/
.SUFFIXES: .none
default: $(VERS_UNDEFINED)
default: $(VERS_UNDEFINED) $(TREE)
$(MD)
%.o: $(VERS_UNDEFINED)
%.o: $(VERS_UNDEFINED) $(TREE)
$(MD) $@
%: $(VERS_UNDEFINED)
%: $(VERS_UNDEFINED) $(TREE)
$(MD) $@
.DEFAULT: $(VERS_UNDEFINED)
.DEFAULT: $(VERS_UNDEFINED) $(TREE)
$(MD) $@
tree:
makefile:
@ echo makefile
tree: $(TREE)
@ true
$(TREE):
@ echo --- Make object tree ---
@ $(SICS_ROOT)/maketree .
@ $(SICS_ROOT)/maketree matrix
@ $(SICS_ROOT)/maketree dummy
@ $(SICS_ROOT)/maketree psi
@ $(SICS_ROOT)/maketree psi/hardsup
@ $(SICS_ROOT)/maketree psi/tecs
touch $(TREE)
@ echo --- End object tree ---
cleanall:
$(MD:makfil=makefile_alpha) clean
@@ -56,13 +67,15 @@ version_undefined:
@ echo "Creating objects and targets in separate subdirectories"
@ echo ""
@ echo " setenv SICS_VERSION version_xxx (assume we are using tcsh)"
@ echo " make tree (make the object directories)"
@ echo " make [target]"
@ echo ""
@ echo " where version_xxx is one of"
@ echo ""
@ ls -1 makefile_* | cut -b 10-99 | pr -t -o 4
@ echo ""
@ echo " Tip: define the environment variables at login"
@ echo " Remarks:"
@ echo " All objects for alpha version will be created in subdirectory obj/alpha/,"
@ echo " SICServer is also found there."
@ echo " Tip: define SICS_VERSION at login"
@ echo ""