improved tecs driver M.Z.

SKIPPED:
	psi/makefile
	psi/psi.c
	psi/tecsdriv.c
	psi/tecsdriv.h
	psi/hardsup/makefile
	psi/tecs/coc_client.c
	psi/tecs/coc_util.c
	psi/tecs/coc_util.h
	psi/tecs/didi
	psi/tecs/instr_hosts.c
	psi/tecs/make_gen
	psi/tecs/makefile
	psi/tecs/makefile_linux
	psi/tecs/myc_time.h
	psi/tecs/six.c
	psi/tecs/tecs.c
	psi/tecs/tecs_cli.c
	psi/tecs/tecs_client.f
	psi/tecs/tecs_data.c
	psi/tecs/tecs_plot.f
	psi/tecs/tecs_serial.c
	psi/tecs/term.c
	psi/utils/makefile
This commit is contained in:
cvs
2004-03-09 15:17:56 +00:00
parent f109d9a8c9
commit 137f5d2df1
11 changed files with 23 additions and 25 deletions

View File

@@ -1,18 +1,17 @@
# This file is included by the makefile.
# It forwards the execution to a version specific makefile.
# S_DOWN, S_UP and SICS_VERSION must be defined
# S_UP and SICS_VERSION must be defined
# M. Zolliker 08.2003
VERS_UNDEFINED=
VERS_UNDEFINED$(SICS_VERSION)=version_undefined
SICS_ROOT=$(PWD)/$(S_UP)
OBJROOT=$(SICS_ROOT)/obj/$(SICS_VERSION)
MD=cd $(OBJROOT)/$(S_DOWN); \
MD=cd $(SICS_VERSION); \
make -f $(SRC)makefile_$(SICS_VERSION) SRC=$(SRC)
#define TREE only when version defined
TREE$(VERS_UNDEFINED)=$(OBJROOT)/tree
TREE$(VERS_UNDEFINED)=$(SICS_ROOT)/obj/$(SICS_VERSION)/tree
# overwrite MD when SICS_VERSION undefined
MD$(SICS_VERSION)=@ true
@@ -53,8 +52,7 @@ $(TREE):
@ echo --- End object tree ---
cleanall:
$(MD:makfil=makefile_alpha) clean
$(MD:makfil=makefile_alpha_dummy) clean
$(MD) clean
version_undefined:
@ echo ""