Makefile File Reference

ECF...: Makes Programs for Experiment Control Files; Makefile #. More...


Detailed Description

ECF...: Makes Programs for Experiment Control Files; Makefile #.

# # # # Dependencies:
# ecf/Makefile --> ecf/Makefile.info --> Makefile.dan.info
# ecf/Makefile --> Makefile.dan --> ecf/Makefile.ecf...
#

Author:
Kurt Huber; Strahlenzentrum J.L.-Universitaet GIESSEN #
Date:
28.02.2000 #
Version:
17.09.2008 #
# modification history
# --------------------
# 17sep08 kHu	DOXYGEN comments added 
# 17sep08 kHu	Makefile auf 04apr03 Standard gebracht
# 20feb06 kHu	ecfesa added
# 05sep00 kHu	ecftst included
# 28feb00 kHu	new from PEAK
# 
#

# Default for info type:
i = a
# Default for host:
h = -
# Default for target:
t = -
# Default for signature
s = Hu
SIGNAT = "[`date +%d%b%y`/$(s)]"
PNAM = $(n)
TNAM = ...
TOP = ../../
PLIB =	./
ALIB =  ../../Applib/
DLIB =	../../Danlib/
ELIB =	../../Exlib/


help: gotoDEFAULT

build: .neverbuild
	@TNAM=`(echo " " | awk -v x=$(PNAM) '{print toupper(x)}')`; \
	make -f $(TOP)Makefile.dan build h=$(h) t=$(t) \
		PNAM=$(PNAM) TNAM=$$TNAM SIGNAT=$(SIGNAT) \
		PLIB=$(PLIB) ALIB=$(ALIB) DLIB=$(DLIB) ELIB=$(ELIB)

install: .neverbuild
	@TNAM=`(echo " " | awk -v x=$(PNAM) '{print toupper(x)}')`; \
	make -f $(TOP)Makefile.dan install h=$(h) t=$(t) \
		PNAM=$(PNAM) TNAM=$$TNAM \
		PLIB=$(PLIB) DLIB=$(DLIB) ELIB=$(ELIB)

clean: .neverbuild
	@TNAM=`(echo " " | awk -v x=$(PNAM) '{print toupper(x)}')`; \
	make -f $(TOP)Makefile.dan clean h=$(h) t=$(t) \
		PNAM=$(PNAM) TNAM=$$TNAM; \
	make -f Makefile.info clean \
		PNAM=$(PNAM) TNAM=$$TNAM

all: .neverbuild
	@TNAM=`(echo " " | awk -v x=$(PNAM) '{print toupper(x)}')`; \
	make -f $(TOP)Makefile.dan build install clean h=$(h) t=$(t) \
		PNAM=$(PNAM) TNAM=$$TNAM SIGNAT=$(SIGNAT) \
		PLIB=$(PLIB) ALIB=$(ALIB) DLIB=$(DLIB) ELIB=$(ELIB)

info: .neverbuild
	@TNAM=`(echo " " | awk -v x=$(PNAM) '{print toupper(x)}')`; \
	make -i -f Makefile.info info i=$(i) PNAM=$(PNAM) TNAM=$$TNAM



.DEFAULT:
	@echo ""
	@TNAM=`(echo " " | awk -v x=$(PNAM) '{print toupper(x)}')`; \
	make -f $(TOP)Makefile.dan helpx h=$(h) t=$(t) \
		PNAM=$(PNAM) TNAM=$$TNAM; \
	make -f $(TOP)Makefile.dan.info help \
		PNAM=$(PNAM) TNAM=$$TNAM


.neverbuild:

# 

Generated on Wed Oct 15 16:17:22 2008 for Experiment-Software by  doxygen 1.5.6