BINS := cal_elec.x COMPLEXBIN = cal_elec.x #override CXX = purify KCC objs := \ Regcal_elec.o \ RegSAMManager.o \ RegUnpackReco.o \ RegisterRunConfigMgr.o \ RegCalUnpToMCReco.o # RegCalRaw2PackedReco.o # # Network Event Transfer mode (NET) # Default is File Event Transfer mode (FET) # ifdef NET objs1 := \ RegReadEventDaq.o else objs1 := \ ReadEvent.o endif ifdef ROOT_HIST objs2 := \ LoadEVPACK.o \ LoadDSPACK.o \ rframework.o else objs2 := \ LoadEVPACK.o \ LoadDSPACK.o \ tframework.o endif ifdef NET libs := \ -lcal_elec \ -lread_event_daq \ -lio_packages else libs := \ -lcal_elec \ -lsam_manager \ -lcorba_util \ -lsam_corba \ -lsam_util \ -lOB \ -lJTC \ -lCosNaming \ -lio_packages endif libs1 := \ -lgeometry_management \ -ld0_geometry \ -lcaldata \ -lcalorimeter_geometry \ -lmaterial \ -lthinshells \ -lgeometry_system \ -lspacegeom libs2 := \ -lcalunpdata \ -lcaltables \ -lenergycluster \ -lunpack_reco \ -lunpack_evt \ -lunpack_cal_fe \ -lunpack_base \ -lrun_config_mgr \ -ll3base \ -lcaladdress # -lunpack_mch # -lunpack_data ifdef ROOT_HIST libs3 := \ -lroot_framework \ -liframework \ -lRootHepTuple else libs3 := \ -liframework \ -lHBookHepTuple endif libs4 := \ -lframework \ -lsimpp_evt \ -ledm \ -lrcp \ -lstream_ds \ -ld0om_ds \ -lidentifiers \ -levpack \ -lstream \ -lNameTrans \ -ld0om \ -lNameTrans \ -ld0_util \ -ldspack \ -ldistributor \ -litc \ -litc_event \ -lthread_util \ -lHepTuple \ -lZMtools \ -lPhysicsVectors \ -lErrorLogger \ -lExceptions \ -lLinearAlgebra \ -lZMutility \ -lrun_config_mgr \ -lCLHEP \ -lprod_history \ -lErrLogEx \ -lz # -lrun_config override LOADOBJS += $(objs) $(objs1) $(objs2) override LOADLIBES += $(libs) $(libs1) $(libs2) $(libs3) $(libs4) override LDFLAGS += -L$(ORBACUS_LIBDIR) -L$(SAM_UTIL_LIBDIR) override LOADLIBES += -lCosEvent -lCosProperty -lOBTest \ -lIDL -lOBX11 include d0om_ds/arch_spec_d0om_ds.mk ifdef ROOT_HIST # # flag is ROOT_HIST # ## I turned it on to match with cal_examine # ROOTLIBS =-lCore -lCint -lHist -lGraf -lGraf3d -lGpad \ # -lTree -lRint -lPostscript \ # -lMatrix -lPhysics # ifeq (NT,$(findstring NT,$(BFARCH))) # override ROOTLIBS += -lWinNT -lWIN32 # override ROOTLIBS := $(patsubst -l%,Root_%.lib, $(ROOTLIBS)) # endif # override LOADLIBES := -lRootHepTuple -L$(ROOTSYS)/lib $(LOADLIBES) $(ROOTLIBS) include SoftRelTools/arch_spec_root.mk else # # flag=HBOOK_HIST or default # override LDFLAGS += -L$(HISTO_DIR)/lib override LOADLIBES += -lCHistoHB ## Turn this off because of above 2 lines being turned on #include SoftRelTools/arch_spec_histoscope.mk endif include SoftRelTools/arch_spec_STL.mk include SoftRelTools/arch_spec_cern.mk include SoftRelTools/arch_spec_f77.mk include SoftRelTools/arch_spec_zlib.mk #vpath %.o $(libdir) $(SRT_PUBLIC_CONTEXT)/lib/$(SRT_ARCH) #vpath %.a $(libdir) $(SRT_PUBLIC_CONTEXT)/lib/$(SRT_ARCH) vpath %.o $(libdir) $(BFDIST)/releases/$(BFCURRENT)/lib/$(BFARCH) vpath %.a $(libdir) $(BFDIST)/releases/$(BFCURRENT)/lib/$(BFARCH) BINSTANDALONEOFILES = $(LOADOBJS) ## NEW Turn this off #$(bindir)cal_elec.x : $(LOADOBJS) $(libs) # echo "$(BFPREFIX) Linking $(@F)" # $(CXX) $(CXXFLAGS) $(CXXCFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$+) $(LOADLIBES) ############################################################ include SoftRelTools/standard.mk include SoftRelTools/arch_spec_ace.mk