From 41f6cf69ca344f6038e8faae9b3e4a9f8d74f7ab Mon Sep 17 00:00:00 2001 From: fca Date: Fri, 30 Jul 1999 15:28:34 +0000 Subject: [PATCH] Added the entry for the IRST code checking utility --- ALIROOT/Makefile | 29 +++++++++++++++++++++++++++++ CASTOR/Makefile | 15 +++++++++++++++ EVGEN/Makefile | 15 +++++++++++++++ FMD/Makefile | 15 +++++++++++++++ ITS/Makefile | 15 +++++++++++++++ MUON/Makefile | 9 +++++++++ Makefile | 16 ++++++++++++++++ PHOS/Makefile | 15 +++++++++++++++ PMD/Makefile | 15 +++++++++++++++ RALICE/Makefile | 15 +++++++++++++++ RICH/Makefile | 15 +++++++++++++++ STEER/Makefile | 22 ++++++++++++++++++++++ STRUCT/Makefile | 15 +++++++++++++++ TGeant3/Makefile | 15 +++++++++++++++ TOF/Makefile | 15 +++++++++++++++ TPC/Makefile | 15 +++++++++++++++ TRD/Makefile | 15 +++++++++++++++ ZDC/Makefile | 15 +++++++++++++++ 18 files changed, 286 insertions(+) diff --git a/ALIROOT/Makefile b/ALIROOT/Makefile index 88e3bfacaab..ef9bd72f044 100644 --- a/ALIROOT/Makefile +++ b/ALIROOT/Makefile @@ -81,3 +81,32 @@ 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/CASTOR/Makefile b/CASTOR/Makefile index 371315a2c3f..e6a38a8af8e 100644 --- a/CASTOR/Makefile +++ b/CASTOR/Makefile @@ -65,3 +65,18 @@ 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/EVGEN/Makefile b/EVGEN/Makefile index dc5599f2a19..da81197b86e 100644 --- a/EVGEN/Makefile +++ b/EVGEN/Makefile @@ -69,3 +69,18 @@ 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/FMD/Makefile b/FMD/Makefile index ac637fb4fcf..2c323e7806c 100644 --- a/FMD/Makefile +++ b/FMD/Makefile @@ -65,3 +65,18 @@ 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/ITS/Makefile b/ITS/Makefile index 493028e15ab..223cd36cc22 100644 --- a/ITS/Makefile +++ b/ITS/Makefile @@ -71,3 +71,18 @@ 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 6b50e4ad04e..eadf6f01546 100644 --- a/MUON/Makefile +++ b/MUON/Makefile @@ -75,3 +75,12 @@ 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/Makefile b/Makefile index 7faf000eca9..e7a6bd459bc 100644 --- a/Makefile +++ b/Makefile @@ -143,3 +143,19 @@ libclean: FORCE done allclean: libclean clean + +# IRST coding rule check +CHECK_DIRS = $(ALIROOT_DIRS) ALIROOT +check: + @for i in $(CHECK_DIRS) ; do \ + echo "Checking $$i" ; \ + ${MAKE} -C $$i check ; \ + done + + + + + + + + diff --git a/PHOS/Makefile b/PHOS/Makefile index a1096bfeed5..79ed10d879b 100644 --- a/PHOS/Makefile +++ b/PHOS/Makefile @@ -89,3 +89,18 @@ 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/PMD/Makefile b/PMD/Makefile index c0360b384d2..7abb978e3c7 100644 --- a/PMD/Makefile +++ b/PMD/Makefile @@ -65,3 +65,18 @@ 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/RALICE/Makefile b/RALICE/Makefile index fef19cd0eae..3c939f6b1e6 100644 --- a/RALICE/Makefile +++ b/RALICE/Makefile @@ -68,3 +68,18 @@ 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/RICH/Makefile b/RICH/Makefile index c763196b595..2c020427232 100644 --- a/RICH/Makefile +++ b/RICH/Makefile @@ -68,3 +68,18 @@ 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 f4825c38add..8d1a7567d24 100644 --- a/STEER/Makefile +++ b/STEER/Makefile @@ -71,3 +71,25 @@ 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/STRUCT/Makefile b/STRUCT/Makefile index 115726f5fa7..0f3a99ffa36 100644 --- a/STRUCT/Makefile +++ b/STRUCT/Makefile @@ -70,3 +70,18 @@ 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/TGeant3/Makefile b/TGeant3/Makefile index b10c6dcd54a..204892162ee 100644 --- a/TGeant3/Makefile +++ b/TGeant3/Makefile @@ -110,3 +110,18 @@ 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,$(GSRCS)) + +check: $(CHECKS) + + + + + + + diff --git a/TOF/Makefile b/TOF/Makefile index 9017eca9168..0425811f2a7 100644 --- a/TOF/Makefile +++ b/TOF/Makefile @@ -65,3 +65,18 @@ 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 1fbb0573bbe..02ae0a064fb 100644 --- a/TPC/Makefile +++ b/TPC/Makefile @@ -66,3 +66,18 @@ 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/TRD/Makefile b/TRD/Makefile index 200103b100f..7d86e70f210 100644 --- a/TRD/Makefile +++ b/TRD/Makefile @@ -67,3 +67,18 @@ 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/ZDC/Makefile b/ZDC/Makefile index 8da209ab015..164ea882f08 100644 --- a/ZDC/Makefile +++ b/ZDC/Makefile @@ -80,3 +80,18 @@ 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) + + + + + + + -- 2.39.3