################################################### # # Makefile for Geometry Definition in GEANT # # * Creates library "libhgeo.a" with automatic update of # object files (sensitive to C++-files and included header-files) # # * Produces the executable "hadgeo" with following options: # - Oracle-Flag (WITHORACLE): # Geometry data are read from data base else from file # - GEANT-Flag (WITHGEANT): Geometry is implemented in GEANT, else the # required transformations are executed without calling # GEANT-routines (GSVOLU, GSPOS, etc.) # # # 97/02/11 Heike Schoen # last modified: 97/07/04 #################################################### #----------------------------------------- # Precompiler Flags are defined in geantdef.h. This file has to # be included in all files where precompiler flags are used. # With "awk" geantdef.h is converted to a file geantdef.hawk, # which is included in the included makefile makegeneral.mk. #--------------------------------------------------------- PRECOMP_DEF=geantdef include $(PRECOMP_DEF).hawk #------------------------------------------ ## List of source-Files to be included #------------------------------------------- ifeq '$(LOGNAME)' 'ilse' ifdef GEOORA_OUT CC_DIR=$(HOME)/ggeo/ CPPFLAGS +=-I$(HOME)/ggeo endif endif CC_SOURCE:= $(wildcard $(CC_DIR)*.cc) ifdef WITHORACLE ifdef WITHGEANT LOCLIB=libgeoora.a EXE=geoora endif ifdef GEOORA_OUT LOCLIB=libgeooraout.a EXE=geooraout endif else LOCLIB=libhgeo.a EXE=hadgeo endif #------------------------------------------------------------------ ## makegeant.mk contains list of libraries /directories and objects # for GEANT #------------------------------------------------------------------ include $(HALO)/$(HCVS_LEVEL)/adm/makegeant.mk #------------------------------------------------------------------------- ## Objects to extract from local GEANT-library instead of those ## in $(LIB) #------------------------------------------------------------------------- GEANTOBJ=hgeant.o