From 5c937f892cd0067baf9b335511104095babccd71 Mon Sep 17 00:00:00 2001 From: phille Date: Tue, 10 Jul 2007 11:27:23 +0000 Subject: [PATCH] Makefiles to compile standalone DDL decoder tester --- HLT/PHOS/Makefile | 58 +-- HLT/PHOS/Makefile.arch | 565 +++++++++++++++++++++++++++++ HLT/PHOS/Makefile.in | 783 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1379 insertions(+), 27 deletions(-) create mode 100644 HLT/PHOS/Makefile.arch create mode 100644 HLT/PHOS/Makefile.in diff --git a/HLT/PHOS/Makefile b/HLT/PHOS/Makefile index 07edc50e6d2..bba70913178 100755 --- a/HLT/PHOS/Makefile +++ b/HLT/PHOS/Makefile @@ -1,39 +1,43 @@ -ObjSuf = o -SrcSuf = cxx -HeadSuf = h +include Makefile.arch -ROOTLIBS = -L$(ROOTSYS)/lib -lNew -lCint \ - -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMinuit\ - -lPostscript -lTree -lASImage \ - -lCore -lEG -lFoam -lFumili -lGedOld -lGed \ - -lGeom -lGpad -lGraf -lGuiBld -lGui -lMatrix\ - -lRint -lRootAuth -lThread -lVMC +MAINO = testDecoder.$(ObjSuf) AliHLTAltroData.$(ObjSuf) AliHLTAltroBunch.$(ObjSuf) AliHLTDDLDecoder.$(ObjSuf) -PEAKFINDERTESTO = PeakFinderTest.$(ObjSuf) -PEAKFINDERTESTS = PeakFinderTest.$(SrcSuf) +MAINS = testDecoder.$(SrcSuf) AliHLTAltroData.$(SrcSuf) AliHLTAltroBunch.$(SrcSuf) AliHLTDDLDecoder.$(SrcSuf) -ALIHLTPHOSPULSEGENERATORO = AliHLTPHOSPulseGenerator.$(ObjSuf) -ALIHLTPHOSPULSEGENERATORS = AliHLTPHOSPulseGenerator.$(SrcSuf) -ALIHLTPHOSPULSEGENERATORH = AliHLTPHOSPulseGenerator.$(HeadSuf) +MAIN = testDecoder$(ExeSuf) -ALIHLTPHOSPEAKFINDERO = AliHLTPHOSPeakFinder.$(ObjSuf) -ALIHLTPHOSPEAKFINDERS = AliHLTPHOSPeakFinder.$(SrcSuf) -ALIHLTPHOSPEAKFINDERH = AliHLTPHOSPeakFinder.$(HeadSuf) -OBJS = $(PEAKFINDERTESTO) $(ALIHLTPHOSPULSEGENERATORO) $(ALIHLTPHOSPEAKFINDERO) +OBJS = $(MAINO) +PROGRAMS = $(MAIN) -pftest:$(OBJS) - g++ $(ROOTLIBS) $(ROOTGLIBS) $(OBJS) -o pftest -$(PEAKFINDERTESTO):$(PEAKFINDERTESTS) - g++ -I$(ROOTSYS)/include -c $(PEAKFINDERTESTS) +.SUFFIXES: .$(SrcSuf) .$(ObjSuf) .$(DllSuf) -$(ALIHLTPHOSPULSEGENERATORO):$(ALIHLTPHOSPULSEGENERATORS) $(ALIHLTPHOSPULSEGENERATORH) - g++ -I$(ROOTSYS)/include -c $(ALIHLTPHOSPULSEGENERATORS) +all: $(PROGRAMS) + + +$(MAIN): $(MAINO) + $(LD) $(LDFLAGS) $^ $(LIBS) $(GLIBS) -lTreePlayer -lMathCore -lThread -lpthread $(OutPutOpt)$(MAIN) + @echo "$@ done" -$(ALIHLTPHOSPEAKFINDERO):$(ALIHLTPHOSPEAKFINDERS) $(ALIHLTPHOSPEAKFINDERH) - g++ -I$(ROOTSYS)/include -c $(ALIHLTPHOSPEAKFINDERS) clean: - @rm -f *o *~ *# pftest + @rm -f $(OBJS) core + +distclean: clean + -@mv -f linearIO.root linearIO.roott + @rm -f $(PROGRAMS) $(EVENTSO) $(EVENTLIB) *Dict.* *.def *.exp \ + *.root *.ps *.so *.lib *.dll *.d .def so_locations + @rm -rf cxx_repository + -@mv -f linearIO.roott linearIO.root + -@cd RootShower && $(MAKE) distclean + +.SUFFIXES: .$(SrcSuf) + +AliHLTAltroData.$(ObjSuf): AliHLTAltroData.h +AliHLTDDLDecoder.$(ObjSuf): AliHLTDDLDecoder.h +testDecoder.$(ObjSuf): AliHLTAltroData.h AliHLTDDLDecoder.h + +.$(SrcSuf).$(ObjSuf): + $(CXX) $(CXXFLAGS) -c $< diff --git a/HLT/PHOS/Makefile.arch b/HLT/PHOS/Makefile.arch new file mode 100644 index 00000000000..7ba32252de8 --- /dev/null +++ b/HLT/PHOS/Makefile.arch @@ -0,0 +1,565 @@ +# -*- mode: makefile -*- +# +# Makefile containing platform dependencies for ROOT based projects. +# +# Copyright (c) 2000 Rene Brun and Fons Rademakers +# +# Author: Fons Rademakers, 29/2/2000 + +ROOTCONFIG := root-config + +ARCH := $(shell $(ROOTCONFIG) --arch) +PLATFORM := $(shell $(ROOTCONFIG) --platform) + +CXX = +ObjSuf = o +SrcSuf = cxx +ExeSuf = +DllSuf = so +OutPutOpt = -o # keep whitespace after "-o" + +ROOTCFLAGS := $(shell $(ROOTCONFIG) --cflags) +ROOTLDFLAGS := $(shell $(ROOTCONFIG) --ldflags) +ROOTLIBS := $(shell $(ROOTCONFIG) --libs) +ROOTGLIBS := $(shell $(ROOTCONFIG) --glibs) +HASTHREAD := $(shell $(ROOTCONFIG) --has-thread) + +ifeq ($(ARCH),linux) +# Linux with egcs, gcc 2.9x, gcc 3.x (>= RedHat 5.2) +CXX = g++ +#CXXFLAGS = -O9 -Wall -fPIC +CXXFLAGS = -O9 -Wall -fPIC -g +LD = g++ +LDFLAGS = -O +SOFLAGS = -shared +endif + +ifeq ($(ARCH),hpuxacc) +# HP-UX 10.x with aCC +CXX = aCC +CXXFLAGS = -O +Z +LD = aCC +LDFLAGS = -O -z +SOFLAGS = -b +endif + +ifeq ($(ARCH),hpuxia64acc) +# HP-UX 11i 1.5 (IA-64) with aCC +CXX = aCC +CXXFLAGS = +DD64 -O +Z +LD = aCC +LDFLAGS = +DD64 -O -z +SOFLAGS = -b +endif + +ifeq ($(ARCH),hpuxgcc) +# HP-UX 10.x with g++ +CXXFLAGS = -O -fPIC +CXX = g++ +LD = g++ +LDFLAGS = -O +SOFLAGS = -fPIC -shared +endif + +ifeq ($(ARCH),hurddeb) +# GNU/Hurd +CXX = g++ +CXXFLAGS = -O2 -Wall -fPIC +LD = g++ +LDFLAGS = -O2 +SOFLAGS = -shared +endif + +ifeq ($(ARCH),aix) +# IBM AIX xlC 4.x +CXX = xlC +CXXFLAGS = -O +LD = xlC +LDFLAGS = -O +SOFLAGS = +DllSuf = a +endif + +ifeq ($(ARCH),aix5) +# IBM AIX xlC 5.x +CXX = xlC +CXXFLAGS = -O +LD = xlC +LDFLAGS = -O +SOFLAGS = +DllSuf = a +endif + +ifeq ($(ARCH),aixgcc) +# IBM AIX with GCC +CXX = g++ +CXXFLAGS = -O +LD = g++ +LDFLAGS = -O +SOFLAGS = -shared +DllSuf = a +EXPLLINKLIBS = $(ROOTLIBS) $(ROOTGLIBS) +endif + +ifeq ($(ARCH),solaris) +# Solaris CC +CXX = /opt/SUNWspro/bin/CC +CXXFLAGS = -O -KPIC +LD = /opt/SUNWspro/bin/CC +LDFLAGS = -O +SOFLAGS = -G +endif + +ifeq ($(ARCH),solarisCC5) +# Solaris CC 5.0 +CXX = CC +CXXFLAGS = -O -KPIC +LD = CC +LDFLAGS = -O +SOFLAGS = -G +endif + +ifeq ($(ARCH),solarisgcc) +# Solaris gcc +CXX = g++ +CXXFLAGS = -O -fPIC +LD = g++ +LDFLAGS = -O +SOFLAGS = -shared +endif + +ifeq ($(ARCH),solariskcc) +# Solaris kcc +CXX = KCC --one_instantiation_per_object +CXXFLAGS = -O4 -KPIC +LD = KCC +LDFLAGS = -O4 +SOFLAGS = +endif + +ifeq ($(ARCH),solarisx86) +# Solaris CC on Intel +CXX = CC +CXXFLAGS = -O -KPIC +LD = CC +LDFLAGS = -O +SOFLAGS = -G +endif + +ifeq ($(ARCH),sgicc) +# SGI +CXX = CC -n32 -I/usr/include/CC.sgi +CXXFLAGS = -O +LD = CC -n32 -LANG:std -I/usr/include/CC.sgi +LDFLAGS = -O +SOFLAGS = -shared +endif + +ifeq ($(ARCH),sgicc64) +# SGI +CXX = CC -64 -I/usr/include/CC.sgi +CXXFLAGS = -O +LD = CC -64 -LANG:std -I/usr/include/CC.sgi +LDFLAGS = -O +SOFLAGS = -shared +endif + +ifeq ($(ARCH),sgigcc) +# SGI 6.x with gcc +CXX = g++ +CXXFLAGS = -O -Wall -fPIC +LD = g++ +LDFLAGS = -O -Wl,-u,__builtin_new -Wl,-u,__builtin_delete -Wl,-u,__nw__FUiPv +SOFLAGS = -shared +endif + +ifeq ($(ARCH),sgin32gcc) +# SGI 6.x with gcc for n32 ABI +CXX = g++ +CXXFLAGS = -O -Wall -fPIC +LD = g++ +LDFLAGS = -O -L/usr/lib32 -Wl,-woff,134 -lgen +SOFLAGS = -shared +endif + +ifeq ($(ARCH),sgikcc) +# SGI with KCC +CXX = KCC -n32 --one_instantiation_per_object +CXXFLAGS = -O +LD = KCC -n32 +LDFLAGS = -O +SOFLAGS = +endif + +ifeq ($(ARCH),alphagcc) +# Alpha/OSF with gcc +CXX = g++ +CXXFLAGS = -O2 -Wall -fPIC +LD = g++ +LDFLAGS = -O2 +SOFLAGS = -Wl,-expect_unresolved,* -shared +endif + +ifeq ($(ARCH),alphakcc) +# Alpha/OSF with kai compiler (not yet valid) +CXX = KCC --one_instantiation_per_object +CXXFLAGS = -O -fPIC +LD = KCC +LDFLAGS = -O +SOFLAGS = -Wl,-expect_unresolved,* -shared +endif + +ifeq ($(ARCH),alphacxx6) +# Alpha/OSF with cxx6 +CXX = cxx +CXXFLAGS = -O +LD = cxx +LDFLAGS = -O +SOFLAGS = -shared -nocxxstd -Wl,-expect_unresolved,*,-msym +endif + +ifeq ($(ARCH),linuxrh51) +# Linux with gcc 2.7.2.x +CXX = g++ +CXXFLAGS = -O2 -Wall -fPIC +LD = g++ +LDFLAGS = -O2 +SOFLAGS = -shared +endif + +ifeq ($(ARCH),linuxrh42) +# Linux with gcc 2.7.2.x (RedHat 4.2) +CXX = g++ +CXXFLAGS = -O2 -Wall -fPIC +LD = g++ +LDFLAGS = -O2 +SOFLAGS = -shared +endif + +ifeq ($(ARCH),linuxdeb) +# Linux with gcc 2.7.2.x +CXX = g++ +CXXFLAGS = -O1 -Wall -fPIC +LD = g++ +LDFLAGS = -O1 +SOFLAGS = -shared +endif + +ifeq ($(ARCH),linuxdeb2ppc) +# Debian/Linux on the PowerPC +CXX = g++ +CXXFLAGS = -O2 -Wall -fPIC +LD = g++ +LDFLAGS = -O2 +SOFLAGS = -shared +endif + +ifeq ($(ARCH),linuxsuse6) +# Linux with gcc 2.7.2.x +CXX = g++ +CXXFLAGS = -O2 -Wall -fPIC +LD = g++ +LDFLAGS = -O2 +SOFLAGS = -shared +endif + +ifeq ($(ARCH),linuxkcc) +# Linux with the KAI compiler +CXX = KCC --one_instantiation_per_object +CXXFLAGS = -O -fPIC +K0 +LD = KCC +LDFLAGS = -O $(shell $(ROOTCONFIG) --cflags) +SOFLAGS = +endif + +ifeq ($(ARCH),linuxicc) +# Linux with Intel icc compiler +ICC_MAJOR := $(shell icc -v 2>&1 | awk '{ if (NR==1) print $$2 }' | \ + cut -d'.' -f1) +ICC_MINOR := $(shell icc -v 2>&1 | awk '{ if (NR==1) print $$2 }' | \ + cut -d'.' -f2) +CXX = icc +CXXFLAGS = -O -fPIC -wd1476 +LD = icpc +LDFLAGS = -O +SOFLAGS = -shared +ifeq ($(ICC_MAJOR),8) +ifneq ($(ICC_MINOR),0) +CXXFLAGS += -wd1572 +endif +endif +endif + +ifeq ($(ARCH),linuxppcgcc) +# MkLinux with gcc and glibc +CXX = g++ +CXXFLAGS = -O2 -Wall -fPIC +LD = g++ +LDFLAGS = -O2 +SOFLAGS = -shared +endif + +ifeq ($(ARCH),linuxia64gcc) +# Itanium Linux with gcc 2.9x +CXX = g++ +CXXFLAGS = -O2 -Wall -fPIC +LD = g++ +LDFLAGS = -O2 +SOFLAGS = -shared +endif + +ifeq ($(ARCH),linuxia64sgi) +# Itanium Linux with sgiCC +CXX = sgiCC +CXXFLAGS = -O -Wall -fPIC +LD = gsgiCC +LDFLAGS = -O +SOFLAGS = -shared +endif + +ifeq ($(ARCH),linuxia64ecc) +# Itanium Linux with Intel icc (was ecc) +ICC_MAJOR := $(shell icc -v 2>&1 | awk '{ if (NR==1) print $$2 }' | \ + cut -d'.' -f1) +ICC_MINOR := $(shell icc -v 2>&1 | awk '{ if (NR==1) print $$2 }' | \ + cut -d'.' -f2) +CXX = icc +CXXFLAGS = -O -fPIC -wd1476 +LD = icpc +LDFLAGS = -O +SOFLAGS = -shared +ifeq ($(ICC_MAJOR),8) +ifneq ($(ICC_MINOR),0) +CXXFLAGS += -wd1572 +endif +endif +endif + +ifeq ($(ARCH),linuxx8664gcc) +# AMD Opteron and Intel EM64T (64 bit mode) Linux with gcc 3.x +CXX = g++ +CXXFLAGS = -O2 -Wall -fPIC +LD = g++ +LDFLAGS = -O2 +SOFLAGS = -shared +endif + +ifeq ($(ARCH),linuxppc64gcc) +# PPC64 Linux with gcc 3.x +CXX = g++ +CXXFLAGS = -O -Wall -fPIC +LD = g++ +LDFLAGS = -O +SOFLAGS = -shared +endif + +ifeq ($(ARCH),linuxx8664icc) +# AMD Opteron and Intel EM64T (64 bit mode) Linux with Intel icc compiler +CXX = icc +CXXFLAGS = -O -fPIC -wd1476 -wd1572 +LD = icpc +LDFLAGS = -O +SOFLAGS = -shared +endif + +ifeq ($(ARCH),linuxalphagcc) +# Alpha Linux with gcc +CXX = g++ +CXXFLAGS = -O2 -Wall -fPIC +LD = g++ +LDFLAGS = -O2 +SOFLAGS = -shared +endif + +ifeq ($(ARCH),linuxarm) +# ARM Linux with egcs +CXX = g++ +CXXFLAGS = -O -Wall -fPIC +LD = g++ +LDFLAGS = -O +SOFLAGS = -shared +endif + +ifeq ($(ARCH),mklinux) +# MkLinux with libc5 +CXX = g++ +CXXFLAGS = -O2 -Wall -fPIC +LD = g++ +LDFLAGS = -O2 +SOFLAGS = -shared +endif + +ifeq ($(ARCH),freebsd) +# FreeBSD with libc5 +CXX = g++ +CXXFLAGS = -O -pipe -W -Wall -fPIC +LD = g++ +LDFLAGS = -O +SOFLAGS = -shared -Wl,-x +endif + +ifeq ($(ARCH),freebsd4) +# FreeBSD with glibc +CXXFLAGS += -W -Wall -fPIC +LD = $(CXX) +SOFLAGS = -shared -Wl,-x +endif + +ifeq ($(ARCH),freebsd5) +# FreeBSD with glibc +CXXFLAGS += -W -Wall -fPIC +LD = $(CXX) +endif + +ifeq ($(ARCH),openbsd) +# OpenBSD with libc +CXX = g++ +CXXFLAGS = -O -pipe -W -Wall -fPIC +LD = g++ +LDFLAGS = -O +SOFLAGS = -shared -Wl,-x +endif + +ifeq ($(ARCH),macosx) +# MacOS X with cc (GNU cc 2.95.2 and gcc 3.3) +MACOSX_MINOR := $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2) +CXX = c++ +CXXFLAGS = -O2 -pipe -Wall -W -Woverloaded-virtual +LDFLAGS = -O2 -bind_at_load +# The SOFLAGS will be used to create the .dylib, +# the .so will be created separately +DllSuf = dylib +ifeq ($(MACOSX_MINOR),4) +UNDEFOPT = dynamic_lookup +LD = MACOSX_DEPLOYMENT_TARGET=10.4 c++ +else +ifeq ($(MACOSX_MINOR),3) +UNDEFOPT = dynamic_lookup +LD = MACOSX_DEPLOYMENT_TARGET=10.3 c++ +else +UNDEFOPT = suppress +LD = c++ +endif +endif +SOFLAGS = -dynamiclib -single_module -undefined $(UNDEFOPT) +endif + +ifeq ($(ARCH),macosxicc) +# MacOS X with Intel icc compiler +MACOSX_MINOR := $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2) +CXX = icc +CXXFLAGS = -O -fPIC -wd1476 +LDFLAGS = -O +# The SOFLAGS will be used to create the .dylib, +# the .so will be created separately +DllSuf = dylib +ifeq ($(MACOSX_MINOR),4) +LD = MACOSX_DEPLOYMENT_TARGET=10.4 icpc +endif +SOFLAGS = -dynamiclib -single_module -Xlinker -undefined dynamic_lookup +endif + +ifeq ($(ARCH),macosx64) +# MacOS X >= 10.4 with gcc 64 bit mode (GNU gcc 4.*) +# Only specific option (-m64) comes from root-config +MACOSX_MINOR := $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2) +CXX = c++ +CXXFLAGS = -O2 -pipe -Wall -W -Woverloaded-virtual +LDFLAGS = -O2 -bind_at_load +# The SOFLAGS will be used to create the .dylib, +# the .so will be created separately +DllSuf = dylib +LD = MACOSX_DEPLOYMENT_TARGET=10.4 c++ +SOFLAGS = -dynamiclib -single_module -undefined dynamic_lookup +endif + +ifeq ($(ARCH),macosxxlc) +# MacOS X with IBM xlC compiler +MACOSX_MINOR := $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2) +CXX = xlC +CXXFLAGS = -O +LDFLAGS = -O -Wl,-bind_at_load +# The SOFLAGS will be used to create the .dylib, +# the .so will be created separately +DllSuf = dylib +ifeq ($(MACOSX_MINOR),4) +UNDEFOPT = dynamic_lookup +LD = MACOSX_DEPLOYMENT_TARGET=10.4 xlC +else +ifeq ($(MACOSX_MINOR),3) +UNDEFOPT = dynamic_lookup +LD = MACOSX_DEPLOYMENT_TARGET=10.3 xlC +else +UNDEFOPT = suppress +LD = xlC +endif +endif +SOFLAGS = -qmkshrobj -single_module -undefined $(UNDEFOPT) +endif + +ifeq ($(ARCH),win32) +# Windows with the VC++ compiler +VC_MAJOR := $(shell unset VS_UNICODE_OUTPUT; cl.exe 2>&1 | awk '{ if (NR==1) print $$8 }' | \ + cut -d'.' -f1) +ObjSuf = obj +SrcSuf = cxx +ExeSuf = .exe +DllSuf = dll +OutPutOpt = -out: +CXX = cl +CXXOPT = -O2 +#CXXOPT = -Z7 +CXXFLAGS = $(CXXOPT) -nologo -I$(shell $(ROOTCONFIG) --incdir) -FIw32pragma.h +LD = link +LDOPT = -opt:ref +#LDOPT = -debug +LDFLAGS = $(LDOPT) -pdb:none -nologo +SOFLAGS = -DLL + +EXPLLINKLIBS = $(ROOTLIBS) $(ROOTGLIBS) +endif + +ifeq ($(ARCH),win32old) +# Windows with the VC++ compiler +ObjSuf = obj +SrcSuf = cxx +ExeSuf = .exe +DllSuf = dll +OutPutOpt = -out: +CXX = cl +CXXOPT = -O2 +#CXXOPT = -Z7 +CXXFLAGS = $(CXXOPT) -G5 -GR -GX -MD -DWIN32 -D_WINDOWS -nologo \ + -DVISUAL_CPLUSPLUS -D_X86_=1 -D_DLL +LD = link +LDOPT = -opt:ref +#LDOPT = -debug +LDFLAGS = $(LDOPT) -pdb:none -nologo +SOFLAGS = -DLL + +EXPLLINKLIBS = $(ROOTLIBS) $(ROOTGLIBS) +endif + +ifeq ($(ARCH),win32gcc) +# Windows with gcc +DllSuf = dll +ExeSuf = .exe +CXX = g++ +CXXFLAGS = -O -pipe -Wall -Woverloaded-virtual -I/usr/X11R6/include +LD = g++ +LDFLAGS = -O -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc \ + -L/usr/X11R6/lib +SOFLAGS = -shared -D_DLL -Wl,--export-all-symbols +EXPLLINKLIBS = $(ROOTLIBS) $(ROOTGLIBS) +endif + +ifeq ($(CXX),) +$(error $(ARCH) invalid architecture) +endif + +CXXFLAGS += $(ROOTCFLAGS) +LDFLAGS += $(ROOTLDFLAGS) +LIBS = $(ROOTLIBS) $(SYSLIBS) +GLIBS = $(ROOTGLIBS) $(SYSLIBS) + +GLIBS = $(ROOTGLIBS) $(SYSLIBS) diff --git a/HLT/PHOS/Makefile.in b/HLT/PHOS/Makefile.in new file mode 100644 index 00000000000..b3aa4f39101 --- /dev/null +++ b/HLT/PHOS/Makefile.in @@ -0,0 +1,783 @@ +# Makefile.in generated by automake 1.9.2 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# $Id$ +# Makefile template for the Alice HLT PHOS library + + +SOURCES = $(libAliHLTPHOS_la_SOURCES) $(nodist_libAliHLTPHOS_la_SOURCES) + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = .. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +DIST_COMMON = README $(pkginclude_HEADERS) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(top_srcdir)/make.dict +subdir = PHOS +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgincludedir)" +libLTLIBRARIES_INSTALL = $(INSTALL) +LTLIBRARIES = $(lib_LTLIBRARIES) +libAliHLTPHOS_la_DEPENDENCIES = \ + $(top_builddir)/BASE/util/libAliHLTUtil.la +am_libAliHLTPHOS_la_OBJECTS = AliHLTPHOSPulseGenerator.lo \ + AliHLTPHOSRawAnalyzerPeakFinder.lo \ + AliHLTPHOSRawAnalyzerCrude.lo AliHLTPHOSRawAnalyzerKLevel.lo \ + AliHLTPHOSRawAnalyzerLMS.lo \ + AliHLTPHOSRawAnalyzerChiSquareFit.lo AliHLTPHOSRawAnalyzer.lo \ + AliHLTPHOSEmcCalibData.lo AliHLTPHOSRawAnalyzerComponent.lo \ + AliHLTPHOSRawAnalyzerCrudeComponent.lo \ + AliHLTPHOSRawAnalyzerPeakFinderComponent.lo \ + AliHLTPHOSDefinitions.lo AliHLTPHOSModuleMergerComponent.lo \ + AliHLTPHOSFileWriterComponent.lo AliHLTPHOSFileWriter.lo \ + AliHLTPHOSDDLPackedFileWriter.lo \ + AliHLTPHOSCellEnergiesFileWriter.lo \ + AliHLTPHOSHistogramProducerComponent.lo \ + AliHLTPHOSRcuHistogramProducer.lo \ + AliHLTPHOSRcuHistogramProducerComponent.lo \ + AliHLTPHOSDDLDecoderComponent.lo AliHLTPHOSDataCorruptor.lo \ + AliHLTPHOSDataQualityMonitor.lo \ + AliHLTPHOSRcuDataQualityMonitorComponent.lo \ + AliHLTPHOSProcessor.lo AliHLTPHOSClusterizer.lo \ + AliHLTPHOSClusterizerComponent.lo \ + AliHLTPHOSPhysicsAnalyzerSpectrum.lo \ + AliHLTPHOSPhysicsAnalyzerSpectrumComponent.lo \ + AliHLTPHOSPhysicsAnalyzer.lo AliHLTPHOSPhysicsDefinitions.lo \ + AliHLTPHOSPhysicsAnalyzerPeakFitter.lo AliHLTDDLDecoder.lo \ + AliHLTAltroData.lo AliHLTAltroBunch.lo AliHLTPHOSMapper.lo \ + PeakFinderTest.lo +am__objects_1 = AliHLTPHOSCompileInfo.lo +am__objects_2 = AliHLTPHOS-DICT.lo +nodist_libAliHLTPHOS_la_OBJECTS = $(am__objects_1) $(am__objects_2) +libAliHLTPHOS_la_OBJECTS = $(am_libAliHLTPHOS_la_OBJECTS) \ + $(nodist_libAliHLTPHOS_la_OBJECTS) +DEFAULT_INCLUDES = -I. -I$(srcdir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) --mode=link --tag=CXX $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(libAliHLTPHOS_la_SOURCES) \ + $(nodist_libAliHLTPHOS_la_SOURCES) +DIST_SOURCES = $(libAliHLTPHOS_la_SOURCES) +pkgincludeHEADERS_INSTALL = $(INSTALL_HEADER) +HEADERS = $(pkginclude_HEADERS) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALICE_ROOT = @ALICE_ROOT@ +ALIROOTBINDIR = @ALIROOTBINDIR@ +ALIROOTLIBDIR = @ALIROOTLIBDIR@ +ALIROOT_CPPFLAGS = @ALIROOT_CPPFLAGS@ +ALIROOT_LDFLAGS = @ALIROOT_LDFLAGS@ +ALIROOT_LIBS = @ALIROOT_LIBS@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOGENERATED_WARNING = @AUTOGENERATED_WARNING@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DOT = @DOT@ +DOT_PATH = @DOT_PATH@ +DOXYGEN = @DOXYGEN@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EN_HLT_PHOS_FALSE = @EN_HLT_PHOS_FALSE@ +EN_HLT_PHOS_TRUE = @EN_HLT_PHOS_TRUE@ +EN_HLT_SAMPLE_FALSE = @EN_HLT_SAMPLE_FALSE@ +EN_HLT_SAMPLE_TRUE = @EN_HLT_SAMPLE_TRUE@ +EN_HLT_TPC_FALSE = @EN_HLT_TPC_FALSE@ +EN_HLT_TPC_TRUE = @EN_HLT_TPC_TRUE@ +EN_HLT_TRD_FALSE = @EN_HLT_TRD_FALSE@ +EN_HLT_TRD_TRUE = @EN_HLT_TRD_TRUE@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +HAVE_DOT = @HAVE_DOT@ +HAVE_DOXYGEN_FALSE = @HAVE_DOXYGEN_FALSE@ +HAVE_DOXYGEN_TRUE = @HAVE_DOXYGEN_TRUE@ +HAVE_ROOT_FALSE = @HAVE_ROOT_FALSE@ +HAVE_ROOT_TRUE = @HAVE_ROOT_TRUE@ +HLTBASE_CPPFLAGS = @HLTBASE_CPPFLAGS@ +HLTBASE_LDFLAGS = @HLTBASE_LDFLAGS@ +HOMER_BINDIR = @HOMER_BINDIR@ +HOMER_CPPFLAGS = @HOMER_CPPFLAGS@ +HOMER_LDFLAGS = @HOMER_LDFLAGS@ +HOMER_LIBDIR = @HOMER_LIBDIR@ +HOMER_LIBS = @HOMER_LIBS@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +NOALIROOT_LOGGING_FALSE = @NOALIROOT_LOGGING_FALSE@ +NOALIROOT_LOGGING_TRUE = @NOALIROOT_LOGGING_TRUE@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PERL = @PERL@ +RANLIB = @RANLIB@ +ROOTAUXCFLAGS = @ROOTAUXCFLAGS@ +ROOTAUXLIBS = @ROOTAUXLIBS@ +ROOTBINDIR = @ROOTBINDIR@ +ROOTCFLAGS = @ROOTCFLAGS@ +ROOTCINT = @ROOTCINT@ +ROOTCONF = @ROOTCONF@ +ROOTEXEC = @ROOTEXEC@ +ROOTGLIBS = @ROOTGLIBS@ +ROOTINCDIR = @ROOTINCDIR@ +ROOTLIBDIR = @ROOTLIBDIR@ +ROOTLIBS = @ROOTLIBS@ +ROOTRPATH = @ROOTRPATH@ +ROOTSYS = @ROOTSYS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STANDALONE_SAMPLELIB_FALSE = @STANDALONE_SAMPLELIB_FALSE@ +STANDALONE_SAMPLELIB_TRUE = @STANDALONE_SAMPLELIB_TRUE@ +STRIP = @STRIP@ +TPC_PAD_MAPPING_PATH = @TPC_PAD_MAPPING_PATH@ +USE_TPC_MAPPING_FALSE = @USE_TPC_MAPPING_FALSE@ +USE_TPC_MAPPING_TRUE = @USE_TPC_MAPPING_TRUE@ +VERSION = @VERSION@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +MODULE = AliHLTPHOS +EXTRA_DIST = AliHLTPHOSLinkDef.h +AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \ + -I@ALICE_ROOT@/PHOS \ + -I$(top_srcdir)/BASE \ + -I$(top_srcdir)/BASE/util + + +# library definition +lib_LTLIBRARIES = libAliHLTPHOS.la + +# library sources +libAliHLTPHOS_la_SOURCES = AliHLTPHOSPulseGenerator.cxx \ + AliHLTPHOSRawAnalyzerPeakFinder.cxx \ + AliHLTPHOSRawAnalyzerCrude.cxx \ + AliHLTPHOSRawAnalyzerKLevel.cxx \ + AliHLTPHOSRawAnalyzerLMS.cxx \ + AliHLTPHOSRawAnalyzerChiSquareFit.cxx \ + AliHLTPHOSRawAnalyzer.cxx \ + AliHLTPHOSEmcCalibData.cxx \ + AliHLTPHOSRawAnalyzerComponent.cxx \ + AliHLTPHOSRawAnalyzerCrudeComponent.cxx \ + AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx \ + AliHLTPHOSDefinitions.cxx \ + AliHLTPHOSModuleMergerComponent.cxx \ + AliHLTPHOSFileWriterComponent.cxx \ + AliHLTPHOSFileWriter.cxx \ + AliHLTPHOSDDLPackedFileWriter.cxx \ + AliHLTPHOSCellEnergiesFileWriter.cxx \ + AliHLTPHOSHistogramProducerComponent.cxx \ + AliHLTPHOSRcuHistogramProducer.cxx \ + AliHLTPHOSRcuHistogramProducerComponent.cxx \ + AliHLTPHOSDDLDecoderComponent.cxx \ + AliHLTPHOSDataCorruptor.cxx \ + AliHLTPHOSDataQualityMonitor.cxx \ + AliHLTPHOSRcuDataQualityMonitorComponent.cxx \ + AliHLTPHOSProcessor.cxx \ + AliHLTPHOSClusterizer.cxx \ + AliHLTPHOSClusterizerComponent.cxx \ + AliHLTPHOSPhysicsAnalyzerSpectrum.cxx \ + AliHLTPHOSPhysicsAnalyzerSpectrumComponent.cxx \ + AliHLTPHOSPhysicsAnalyzer.cxx \ + AliHLTPHOSPhysicsDefinitions.cxx \ + AliHLTPHOSPhysicsAnalyzerPeakFitter.cxx \ + AliHLTDDLDecoder.cxx \ + AliHLTAltroData.cxx \ + AliHLTAltroBunch.cxx \ + AliHLTPHOSMapper.cxx \ + PeakFinderTest.cxx + + +# class header files, the link definition for the root dictionary +# will be created from the names of the header files +CLASS_HDRS = AliHLTPHOSPulseGenerator.h \ + AliHLTPHOSRawAnalyzer.h \ + AliHLTPHOSRawAnalyzerPeakFinder.h \ + AliHLTPHOSRawAnalyzerCrude.h \ + AliHLTPHOSRawAnalyzerKLevel.h \ + AliHLTPHOSRawAnalyzerLMS.h \ + AliHLTPHOSRawAnalyzerChiSquareFit.h \ + AliHLTPHOSEmcCalibData.h \ + AliHLTPHOSRawAnalyzerComponent.h \ + AliHLTPHOSRawAnalyzerCrudeComponent.h \ + AliHLTPHOSRawAnalyzerPeakFinderComponent.h \ + AliHLTPHOSModuleMergerComponent.h \ + AliHLTPHOSFileWriterComponent.h \ + AliHLTPHOSFileWriter.h \ + AliHLTPHOSDDLPackedFileWriter.h \ + AliHLTPHOSCellEnergiesFileWriter.h \ + AliHLTPHOSRcuHistogramProducer.h \ + AliHLTPHOSRcuHistogramProducerComponent.h \ + AliHLTPHOSHistogramProducerComponent.h \ + AliHLTPHOSDDLDecoderComponent.h \ + AliHLTPHOSDataCorruptor.h \ + AliHLTPHOSDataQualityMonitor.h \ + AliHLTPHOSRcuDataQualityMonitorComponent.h \ + AliHLTPHOSProcessor.h \ + AliHLTPHOSClusterizer.h \ + AliHLTPHOSClusterizerComponent.h \ + AliHLTPHOSPhysicsAnalyzerSpectrum.h \ + AliHLTPHOSPhysicsAnalyzerSpectrumComponent.h \ + AliHLTPHOSPhysicsAnalyzer.h \ + AliHLTPHOSPhysicsDefinitions.h \ + AliHLTPHOSPhysicsAnalyzerPeakFitter.h \ + AliHLTDDLDecoder.h \ + AliHLTAltroData.h \ + AliHLTPHOSMapper.h \ + AliHLTPHOSMapper.h + +pkginclude_HEADERS = $(CLASS_HDRS) \ + AliHLTPHOSCommonDefs.h \ + AliHLTPHOSDefinitions.h \ + AliHLTPHOSModuleCellEnergyDataStruct.h\ + AliHLTPHOSRcuCellEnergyDataStruct.h \ + AliHLTPHOSValidCellDataStruct.h\ + AliHLTPHOSDataHeaderStruct.h \ + AliHLTPHOSModuleCellAccumulatedEnergyDataStruct.h \ + AliHLTPHOSModuleCellAverageEnergyDataStruct.h \ + AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h \ + AliHLTPHOSRcuCellAverageEnergyDataStruct.h \ + AliHLTPHOSRcuChannelDataStruct.h \ + AliHLTPHOSValidChannelDataStruct.h + + +# version info and linking flags for the library +libAliHLTPHOS_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la +libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \ + @ROOTLIBS@ \ + @ALIROOT_LDFLAGS@ \ + @ALIROOT_LIBS@ \ + -lRAWDatasim \ + -lPHOSbase \ + -lPHOSsim \ + -lPHOSrec \ + -version-info 0:0:0 + + +# automatic generation of data and time of library build +COMPILE_INFO = AliHLTPHOSCompileInfo.cxx + +# set the file name for the generated root dictionary +DICTCPP = AliHLTPHOS-DICT.cxx +# add additional include files which are necessary for the compilation of the +# dictionary files and which are not part of the CLASS_HDRS +DICTINCLUDE = +nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \ + $(DICTCPP) + +CLEANFILES = $(COMPILE_INFO) $(DICTFILES) + +# Makefile template for ROOT dictionary generation +# +# usage: +# 1. set variable CLASS_HDRS to the class header files +# 2. set DICTCPP variable to dictionary c++ file name +# e.g. -DICT.cxx ( replaced by your module name) +# 3. add the source file name to the list of generated sources +# nodist_lib_la_SOURCES = $(DICTCPP) +# 4. add additional include files which are necessary for the compilation +# of the dictionary files and which are not part of the CLASS_HDRS to +# the DICTINCLUDE variable +# 5. include this file from your Makefile(.am) +# e.g. include ../make.dict +# +# Author: Matthias.Richter@ift.uib.no +# +DICTDEF = $(MODULE)-LinkDef.h +DICTFILES = $(DICTCPP) $(DICTCPP:.cxx=.h) $(DICTDEF) +DICTHEADERS = $(CLASS_HDRS) +all: all-am + +.SUFFIXES: +.SUFFIXES: .cxx .lo .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/make.dict $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu PHOS/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu PHOS/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f=$(am__strip_dir) \ + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ + $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + +uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + p=$(am__strip_dir) \ + echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ + $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ + done + +clean-libLTLIBRARIES: + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +libAliHLTPHOS.la: $(libAliHLTPHOS_la_OBJECTS) $(libAliHLTPHOS_la_DEPENDENCIES) + $(CXXLINK) -rpath $(libdir) $(libAliHLTPHOS_la_LDFLAGS) $(libAliHLTPHOS_la_OBJECTS) $(libAliHLTPHOS_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTAltroBunch.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTAltroData.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTDDLDecoder.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOS-DICT.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSCellEnergiesFileWriter.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSClusterizer.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSClusterizerComponent.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSCompileInfo.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSDDLDecoderComponent.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSDDLPackedFileWriter.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSDataCorruptor.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSDataQualityMonitor.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSDefinitions.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSEmcCalibData.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSFileWriter.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSFileWriterComponent.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSHistogramProducerComponent.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSMapper.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSModuleMergerComponent.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSPhysicsAnalyzer.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSPhysicsAnalyzerPeakFitter.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSPhysicsAnalyzerSpectrum.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSPhysicsAnalyzerSpectrumComponent.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSPhysicsDefinitions.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSProcessor.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSPulseGenerator.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSRawAnalyzer.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSRawAnalyzerChiSquareFit.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSRawAnalyzerComponent.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSRawAnalyzerCrude.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSRawAnalyzerCrudeComponent.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSRawAnalyzerKLevel.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSRawAnalyzerLMS.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSRawAnalyzerPeakFinder.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSRawAnalyzerPeakFinderComponent.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSRcuDataQualityMonitorComponent.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSRcuHistogramProducer.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AliHLTPHOSRcuHistogramProducerComponent.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PeakFinderTest.Plo@am__quote@ + +.cxx.o: +@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< + +.cxx.obj: +@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cxx.lo: +@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: +install-pkgincludeHEADERS: $(pkginclude_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(pkgincludedir)" || $(mkdir_p) "$(DESTDIR)$(pkgincludedir)" + @list='$(pkginclude_HEADERS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(pkgincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgincludedir)/$$f'"; \ + $(pkgincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgincludedir)/$$f"; \ + done + +uninstall-pkgincludeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(pkginclude_HEADERS)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(pkgincludedir)/$$f'"; \ + rm -f "$(DESTDIR)$(pkgincludedir)/$$f"; \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(mkdir_p) $(distdir)/.. + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(HEADERS) +installdirs: + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgincludedir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ + mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-libtool distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-pkgincludeHEADERS + +install-exec-am: install-libLTLIBRARIES + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \ + uninstall-pkgincludeHEADERS + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-libLTLIBRARIES clean-libtool ctags distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-exec \ + install-exec-am install-info install-info-am \ + install-libLTLIBRARIES install-man install-pkgincludeHEADERS \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags uninstall uninstall-am \ + uninstall-info-am uninstall-libLTLIBRARIES \ + uninstall-pkgincludeHEADERS + + AliHLTPHOSClusterDataStruct.h \ + AliHLTPHOSRecPointDataStruct.h \ + AliHLTPHOSPhysicsDefinitions.h \ + AliHLTPHOSRecPointListDataStruct.h \ + PhosConst.h + +$(DICTCPP:.cxx=.h): $(DICTCPP) + if test $@ ; then : ; else rm -f $< ; $(MAKE) $(MAKEFLAGS) $< ; fi + +$(DICTCPP): $(DICTHEADERS:%=$(srcdir)/%) $(DICTDEF) + if [ -x $(ROOTCINT) ]; then $(ROOTCINT) -f $@ -c $(CPPFLAGS) $(AM_CPPFLAGS) $(DEFS) $(foreach i, $(DICTINCLUDE), $(i)) $^ ; fi +$(DICTDEF): Makefile.am $(PKGDEF) + @echo '//automatically generated ROOT DICT definition' > $@ + @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@ + @echo '//add further class definitions to the CLASS_HDRS variable in Makefile.am' >> $@ + @echo '#ifdef __CINT__' >> $@ + @echo '#pragma link off all globals;' >> $@ + @echo '#pragma link off all classes;' >> $@ + @echo '#pragma link off all functions;' >> $@ + $(foreach i, $(DICTHEADERS:.h=), \ + echo "#pragma link C++ class "`echo $(i)| sed -e 's|.*/||'`";" >> $@ ;) + @echo '#endif' >> $@ + +$(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am + @echo '//automatically generated compilation info' > $@ + @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@ + @echo '//add changes in Makefile.am' >> $@ + @echo '#include ' >> $@ + @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@ + @echo '{date=__DATE__; time=__TIME__; return;}' >> $@ + @echo >> $@ + @echo 'void __init()'>> $@ + @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@ +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: -- 2.43.0