From e2fe4c02ce449b26159a9b910004856b0b5917d4 Mon Sep 17 00:00:00 2001 From: fca Date: Wed, 17 May 2000 06:54:41 +0000 Subject: [PATCH] Streamlining of CodeAnalysis. .ii files are kept for reverse engineering --- ALIFAST/Makefile | 2 ++ ALIROOT/Makefile | 26 ++------------------------ CASTOR/Makefile | 10 ++-------- EVGEN/Makefile | 10 ++-------- FMD/Makefile | 10 ++-------- GEODB/Makefile | 2 ++ ITS/Makefile | 10 ++-------- MUON/Makefile | 11 ++--------- PHOS/Makefile | 10 ++-------- PMD/Makefile | 10 ++-------- RALICE/Makefile | 10 ++-------- RICH/Makefile | 10 ++-------- START/Makefile | 11 ++--------- STEER/Makefile | 17 ++--------------- STRUCT/Makefile | 10 ++-------- TGeant3/Makefile | 10 ++-------- TOF/Makefile | 10 ++-------- TPC/Makefile | 4 +++- TRD/Makefile | 9 ++------- ZDC/Makefile | 11 ++--------- conf/GeneralMacros | 8 ++++++++ 21 files changed, 49 insertions(+), 162 deletions(-) diff --git a/ALIFAST/Makefile b/ALIFAST/Makefile index 58fbb76b408..8303b51640a 100644 --- a/ALIFAST/Makefile +++ b/ALIFAST/Makefile @@ -59,6 +59,8 @@ depend: $(SRCS) TOCLEAN = $(OBJS) *Cint.h *Cint.cxx +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros diff --git a/ALIROOT/Makefile b/ALIROOT/Makefile index ef9bd72f044..6853241b7da 100644 --- a/ALIROOT/Makefile +++ b/ALIROOT/Makefile @@ -74,6 +74,8 @@ LIBS = $(ALILIBS) $(G3LIBS) $(CLIBS) $(GLIBS) -lEG -lEGPythia -lpythia -lpdf TOCLEAN = $(PROGRAM) $(OBJS) $(COBJS) $(FOBJS) +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -86,27 +88,3 @@ include $(ALICE_ROOT)/conf/GeneralMacros - - - - - - - - - - -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) - - - - - - - diff --git a/CASTOR/Makefile b/CASTOR/Makefile index e6a38a8af8e..c4fd5e7df29 100644 --- a/CASTOR/Makefile +++ b/CASTOR/Makefile @@ -58,6 +58,8 @@ depend: $(SRCS) TOCLEAN = $(OBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -66,14 +68,6 @@ include $(ALICE_ROOT)/conf/GeneralMacros -include tgt_$(ALICE_TARGET)/Make-depend -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) - diff --git a/EVGEN/Makefile b/EVGEN/Makefile index 2d14f13f4b4..d38840f21fc 100644 --- a/EVGEN/Makefile +++ b/EVGEN/Makefile @@ -63,6 +63,8 @@ HEADERS = $(filter-out %LinkDef.h,$(HDRS)) TOCLEAN = $(OBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -71,14 +73,6 @@ include $(ALICE_ROOT)/conf/GeneralMacros -include tgt_$(ALICE_TARGET)/Make-depend -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) - diff --git a/FMD/Makefile b/FMD/Makefile index 2c323e7806c..60fb38d01de 100644 --- a/FMD/Makefile +++ b/FMD/Makefile @@ -62,18 +62,12 @@ TOCLEAN = $(OBJS) *Cint.cxx *Cint.h include $(ALICE_ROOT)/conf/GeneralMacros +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################ Dependencies ##################################### -include tgt_$(ALICE_TARGET)/Make-depend -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) - diff --git a/GEODB/Makefile b/GEODB/Makefile index 3328a49c886..6e5e5ddde07 100644 --- a/GEODB/Makefile +++ b/GEODB/Makefile @@ -62,6 +62,8 @@ depend: $(SRCS) TOCLEAN = $(OBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros diff --git a/ITS/Makefile b/ITS/Makefile index 88527e60335..164afaaa709 100644 --- a/ITS/Makefile +++ b/ITS/Makefile @@ -65,6 +65,8 @@ depend: $(SRCS) $(FSRCS) TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -72,11 +74,3 @@ include $(ALICE_ROOT)/conf/GeneralMacros ############################ Dependencies ##################################### -include tgt_$(ALICE_TARGET)/Make-depend - -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) diff --git a/MUON/Makefile b/MUON/Makefile index eadf6f01546..4b395ca008e 100644 --- a/MUON/Makefile +++ b/MUON/Makefile @@ -67,6 +67,8 @@ depend: $(SRCS) TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -74,13 +76,4 @@ include $(ALICE_ROOT)/conf/GeneralMacros ############################ Dependencies ##################################### -include tgt_$(ALICE_TARGET)/Make-depend - - -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) diff --git a/PHOS/Makefile b/PHOS/Makefile index 67bbf4a5147..35a005243c1 100644 --- a/PHOS/Makefile +++ b/PHOS/Makefile @@ -56,6 +56,8 @@ depend: $(SRCS) TOCLEAN = $(OBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -64,14 +66,6 @@ include $(ALICE_ROOT)/conf/GeneralMacros -include tgt_$(ALICE_TARGET)/Make-depend -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) - diff --git a/PMD/Makefile b/PMD/Makefile index 7abb978e3c7..4aa818a15c1 100644 --- a/PMD/Makefile +++ b/PMD/Makefile @@ -58,6 +58,8 @@ depend: $(SRCS) TOCLEAN = $(OBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -66,14 +68,6 @@ include $(ALICE_ROOT)/conf/GeneralMacros -include tgt_$(ALICE_TARGET)/Make-depend -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) - diff --git a/RALICE/Makefile b/RALICE/Makefile index da380ea13b3..e33388f4354 100644 --- a/RALICE/Makefile +++ b/RALICE/Makefile @@ -62,6 +62,8 @@ depend: $(SRCS) TOCLEAN = $(OBJS) *Cint.h *Cint.cxx +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -70,14 +72,6 @@ include $(ALICE_ROOT)/conf/GeneralMacros -include tgt_$(ALICE_TARGET)/Make-depend -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) - diff --git a/RICH/Makefile b/RICH/Makefile index 77a695fac96..eb7c65beee7 100644 --- a/RICH/Makefile +++ b/RICH/Makefile @@ -62,6 +62,8 @@ depend: $(SRCS) TOCLEAN = $(OBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -70,14 +72,6 @@ include $(ALICE_ROOT)/conf/GeneralMacros -include tgt_$(ALICE_TARGET)/Make-depend -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) - diff --git a/START/Makefile b/START/Makefile index cacafa10c47..e1f58684356 100644 --- a/START/Makefile +++ b/START/Makefile @@ -58,6 +58,8 @@ depend: $(SRCS) TOCLEAN = $(OBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -65,13 +67,4 @@ include $(ALICE_ROOT)/conf/GeneralMacros ############################ Dependencies ##################################### -include tgt_$(ALICE_TARGET)/Make-depend - - -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) diff --git a/STEER/Makefile b/STEER/Makefile index fa612b25b72..98a55ea1c14 100644 --- a/STEER/Makefile +++ b/STEER/Makefile @@ -65,6 +65,8 @@ HEADERS = $(filter-out %LinkDef.h,$(HDRS) AliConst.h AliCallf77.h \ TOCLEAN = $(OBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -79,18 +81,3 @@ include $(ALICE_ROOT)/conf/GeneralMacros - -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) - - - - - - - diff --git a/STRUCT/Makefile b/STRUCT/Makefile index be3e545c7c2..658a19b83ca 100644 --- a/STRUCT/Makefile +++ b/STRUCT/Makefile @@ -63,6 +63,8 @@ depend: $(SRCS) TOCLEAN = $(OBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -71,14 +73,6 @@ include $(ALICE_ROOT)/conf/GeneralMacros -include tgt_$(ALICE_TARGET)/Make-depend -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) - diff --git a/TGeant3/Makefile b/TGeant3/Makefile index 01a52bf2d8e..ac28a712414 100644 --- a/TGeant3/Makefile +++ b/TGeant3/Makefile @@ -104,6 +104,8 @@ depend: $(GSRCS) $(FSRCS) TOCLEAN = $(GOBJS) $(JOBJS) $(DOBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(GSRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -112,14 +114,6 @@ include $(ALICE_ROOT)/conf/GeneralMacros -include tgt_$(ALICE_TARGET)/Make-depend -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(GSRCS)) - -check: $(CHECKS) - diff --git a/TOF/Makefile b/TOF/Makefile index 5fcd970ea4d..610b6790a89 100644 --- a/TOF/Makefile +++ b/TOF/Makefile @@ -58,6 +58,8 @@ depend: $(SRCS) TOCLEAN = $(OBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -65,11 +67,3 @@ include $(ALICE_ROOT)/conf/GeneralMacros ############################ Dependencies ##################################### -include tgt_$(ALICE_TARGET)/Make-depend - -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) diff --git a/TPC/Makefile b/TPC/Makefile index 5abb456d973..b8c0e7c37b9 100644 --- a/TPC/Makefile +++ b/TPC/Makefile @@ -67,12 +67,14 @@ depend: $(SRCS) TOCLEAN = $(OBJS) *Cint.h *Cint.cxx +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros ############################ Dependencies ##################################### -include tgt_$(ALICE_TARGET)/Make-depend +-include tgt_$(ALICE_TARGET)/Make-depend diff --git a/TRD/Makefile b/TRD/Makefile index e300505c38a..3f651e34be2 100644 --- a/TRD/Makefile +++ b/TRD/Makefile @@ -71,6 +71,8 @@ depend: $(SRCS) TOCLEAN = $(OBJS) *Cint.h *Cint.cxx +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -79,13 +81,6 @@ include $(ALICE_ROOT)/conf/GeneralMacros -include tgt_$(ALICE_TARGET)/Make-depend -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) diff --git a/ZDC/Makefile b/ZDC/Makefile index 164ea882f08..3f39582edc9 100644 --- a/ZDC/Makefile +++ b/ZDC/Makefile @@ -72,6 +72,8 @@ depend: $(SRCS) $(FSRCS) TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h +CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) + ############################### General Macros ################################ include $(ALICE_ROOT)/conf/GeneralMacros @@ -81,15 +83,6 @@ include $(ALICE_ROOT)/conf/GeneralMacros -include tgt_$(ALICE_TARGET)/Make-depend -### Target check creates violation reports (.viol), which depend on -### stripped files (.ii), which in turn depend on preprocessed -### files (.i). Dependences are in conf/GeneralDef. - -CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) - -check: $(CHECKS) - - diff --git a/conf/GeneralMacros b/conf/GeneralMacros index 3ef88a46476..5796d0c0433 100644 --- a/conf/GeneralMacros +++ b/conf/GeneralMacros @@ -44,3 +44,11 @@ tgt_$(ALICE_TARGET)/Make-depend: macroclean: @rm -f $(TOCLEAN) *~ \#* + +### Target check creates violation reports (.viol), which depend on +### stripped files (.ii), which in turn depend on preprocessed +### files (.i). Dependences are in GeneralDef. + +check: $(CHECKS) + +.SECONDARY: $(CHECKS:%.viol=%.ii) \ No newline at end of file -- 2.39.3