From eda089682f1f2feb23a746ef12736b0516f4071a Mon Sep 17 00:00:00 2001 From: kir Date: Fri, 28 May 2004 11:31:36 +0000 Subject: [PATCH] root-condif is in use --- RICH/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/RICH/Makefile b/RICH/Makefile index 16c3f4b04ab..59a8f268a61 100644 --- a/RICH/Makefile +++ b/RICH/Makefile @@ -4,17 +4,18 @@ include lib$(Module).pkg Sources :=$(SRCS) -OutputDir :=$(KIR_DIR)/$(Module) -SoLib :=$(KIR_DIR)/lib$(Module).so +RootTarget :=$(shell root-config --arch) +OutputDir :=$(KIR_DIR)/tgt_$(RootTarget)/$(Module) +SoLib :=$(KIR_DIR)/tgt_$(RootTarget)/lib$(Module).so -ifeq ($(shell root-config --arch),linuxicc) +ifeq ($(RootTarget),linuxicc) Compiler :=icc CompilerOptions:=-O0 -fpstkchk -I$(shell root-config --incdir) -I$(ALICE_ROOT)/include SoOptions := -Wl,-soname,lib$(Module).so -shared -O -g else Compiler :=g++ - CompilerOptions:=-O -g -W -Wall -fPIC -pipe -fmessage-length=0 -I$(shell root-config --incdir) -I$(ALICE_ROOT)/include - SoOptions := -Wl,-soname,lib$(Module).so -shared -O -g + CompilerOptions:=-g -W -Wall -Werror -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi -I$(shell root-config --incdir) -I$(ALICE_ROOT)/include + SoOptions :=-O -g -shared -Wl,-soname,lib$(Module).so endif ifdef ALIVERBOSE -- 2.43.0