Makefile File Reference

START: Program Start Lists; Makefile #. More...


Detailed Description

START: Program Start Lists; Makefile #.

# # # #
Assistants for starting Programs

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

Author:
Kurt Huber; Strahlenzentrum J.L.-Universitaet GIESSEN #
Date:
20.03.1997 #
Version:
26.09.2008 #
# modification history
# --------------------
# 26sep08 kHu	Makefile auf 04apr03 Standard gebracht
# 15aug08 kHu	DOXYGEN comments added 
# 
#

# 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 =	../../Daxlib/
ELIB =	../../Exlib/


help: gotoDEFAULT

build: .neverbuild
	@TNAM=`(echo " " | awk -v x=$(PNAM) '{print toupper(x)}')`; \
	make -f $(TOP)Makefile.danx 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.danx install h=$(h) t=$(t) \
		PNAM=$(PNAM) TNAM=$$TNAM \
		PLIB=$(PLIB) ALIB=$(ALIB) DLIB=$(DLIB) ELIB=$(ELIB)

clean: .neverbuild
	@TNAM=`(echo " " | awk -v x=$(PNAM) '{print toupper(x)}')`; \
	make -f $(TOP)Makefile.danx 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.danx build install clean h=$(h) t=$(t) \
		PNAM=$(PNAM) TNAM=$$TNAM SIGNAT=$(SIGNAT) \
		PLIB=$(PLIB) 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.danx helpx h=$(h) t=$(t) \
		PNAM=$(PNAM) TNAM=$$TNAM; \
	make -f $(TOP)Makefile.danx.info help \
		PNAM=$(PNAM) TNAM=$$TNAM


.neverbuild:

# 

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