Compilation on Windows/Cygwin
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Mar 2008 07:43:15 +0000 (07:43 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Mar 2008 07:43:15 +0000 (07:43 +0000)
HERWIG/libherwig.pkg
PMD/PMDbaseLinkDef.h
PMD/PMDsimLinkDef.h
PMD/libPMDbase.pkg
PMD/libPMDrec.pkg
PMD/libPMDsim.pkg
THerwig/libTHerwig.pkg
ZDC/libZDCbase.pkg
ZDC/libZDCrec.pkg
ZDC/libZDCsim.pkg
build/module.dep

index bbef6c0..181a50f 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS:=AliHerwigRndm.cxx
 
 HDRS= $(SRCS:.cxx=.h) 
@@ -89,3 +91,8 @@ jimmy/jimmy/jmsnfn.F \
 jimmy/jimmy/jmxs1.F \
 jimmy/jimmy/qcdres.F 
 
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -llhapdf
+endif
+
index 0f0f7b0..d2bc533 100644 (file)
@@ -20,4 +20,5 @@
 #pragma link C++ class  AliPMDPreprocessor+;
 #pragma link C++ class  AliPMDRawToSDigits+;
 #pragma link C++ class  AliPMDPedestal+;
+#pragma link C++ class  AliPMDsdigit+;
 #endif
index e80456c..7acf1e0 100644 (file)
@@ -13,7 +13,6 @@
 #pragma link C++ class  AliPMDv1+;
 #pragma link C++ class  AliPMDhit+;
 #pragma link C++ class  AliPMDcell+;
-#pragma link C++ class  AliPMDsdigit+;
 #pragma link C++ class  AliPMDDigitizer+;
 #pragma link C++ class  AliPMDDDLRawData+;
 #endif
index 559b7e5..9c99fc9 100644 (file)
@@ -1,10 +1,15 @@
 #-*- Mode: Makefile -*-
 # $Id$
 
-SRCS:= AliPMDLoader.cxx AliPMDdigit.cxx AliPMDBlockHeader.cxx AliPMDDspHeader.cxx AliPMDPatchBusHeader.cxx AliPMDddldata.cxx AliPMDRawStream.cxx AliPMDCalibData.cxx AliPMDCalibrator.cxx AliPMDPreprocessor.cxx AliPMDRawToSDigits.cxx AliPMDPedestal.cxx
+SRCS:= AliPMDLoader.cxx AliPMDdigit.cxx AliPMDBlockHeader.cxx AliPMDDspHeader.cxx AliPMDPatchBusHeader.cxx AliPMDddldata.cxx AliPMDRawStream.cxx AliPMDCalibData.cxx AliPMDCalibrator.cxx AliPMDPreprocessor.cxx AliPMDRawToSDigits.cxx AliPMDPedestal.cxx AliPMDsdigit.cxx
 
 HDRS:= $(SRCS:.cxx=.h) 
 
 DHDR:=PMDbaseLinkDef.h
 
 EINCLUDE:=RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lSTEER -lCDB -lSTEERBase -lRAWDatarec -lRAWDatabase
+endif
index 1f24d0c..9f73071 100644 (file)
@@ -8,3 +8,9 @@ HDRS:= $(SRCS:.cxx=.h) AliPMDClustering.h AliPMDDiscriminator.h AliPMDcludata.h
 DHDR:=PMDrecLinkDef.h
 
 EINCLUDE:=RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lPMDbase -lSTEER -lCDB -lESD -lSTEERBase \
+                         -lRAWDatarec
+endif
index 0e141c5..94efbcb 100644 (file)
@@ -1,10 +1,17 @@
 #-*- Mode: Makefile -*-
 # $Id$
 
-SRCS:= AliPMD.cxx AliPMDv0.cxx AliPMDv1.cxx AliPMDhit.cxx AliPMDcell.cxx AliPMDsdigit.cxx AliPMDDigitizer.cxx AliPMDDDLRawData.cxx
+SRCS:= AliPMD.cxx AliPMDv0.cxx AliPMDv1.cxx AliPMDhit.cxx AliPMDcell.cxx AliPMDDigitizer.cxx AliPMDDDLRawData.cxx
 
 HDRS:= $(SRCS:.cxx=.h) 
 
 DHDR:=PMDsimLinkDef.h
 
 EINCLUDE:=RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lPMDbase -lSTEER -lCDB -lSTEERBase \
+                         -lRAWDatasim -lRAWDatabase \
+                         -L$(shell root-config --libdir) -lVMC -lGeom 
+endif
index 3d462a1..1b8025e 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS= THerwig6.cxx AliGenHerwig.cxx
 
 HDRS= THerwig6.h AliGenHerwig.h
@@ -6,4 +8,10 @@ DHDR:=THerwigLinkDef.h
 
 EXPORT:=THerwig6.h
 
-EINCLUDE:=HERWIG
\ No newline at end of file
+EINCLUDE:=HERWIG
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lEVGEN -lSTEER -lherwig \
+                         -L$(shell root-config --libdir) -lEG
+endif
index 2d29ea9..99ac9b1 100644 (file)
@@ -10,3 +10,8 @@ HDRS= $(SRCS:.cxx=.h)
 DHDR:=ZDCbaseLinkDef.h
 
 EINCLUDE:=RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lSTEER -lCDB -lSTEERBase -lRAWDatarec
+endif
index f53af03..0265282 100644 (file)
@@ -8,3 +8,9 @@ HDRS= $(SRCS:.cxx=.h)
 DHDR:=ZDCrecLinkDef.h
 
 EINCLUDE:=RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lSTEER -lCDB -lSTEERBase -lZDCbase
+
+endif
index dc9a584..6eefebc 100644 (file)
@@ -11,3 +11,9 @@ HDRS= $(SRCS:.cxx=.h)
 DHDR:=ZDCsimLinkDef.h
 
 EINCLUDE:=RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lSTEER -lCDB -lSTEERBase -lZDCbase -lRAWDatabase \
+                         -L$(shell root-config --libdir) -lVMC -lEG -lGeom
+endif
index fa551e3..1c100cc 100644 (file)
@@ -65,12 +65,14 @@ $(LIBPATH)/libAOD.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT)
 $(LIBPATH)/libCDB.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT)
 $(LIBPATH)/libESD.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT)
 $(LIBPATH)/libRAWDatabase.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT)
+$(LIBPATH)/libherwig.$(SOEXT): $(LIBPATH)/liblhapdf.$(SOEXT)
 $(LIBPATH)/libRAWDatarec.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT) $(LIBPATH)/libESD.$(SOEXT)
 $(LIBPATH)/libSTEER.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libAOD.$(SOEXT) $(LIBPATH)/libESD.$(SOEXT)
 $(LIBPATH)/libEVGEN.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libFASTSIM.$(SOEXT) $(LIBPATH)/libESD.$(SOEXT)
 $(LIBPATH)/libpythia6.$(SOEXT): $(LIBPATH)/libmicrocern.$(SOEXT) $(LIBPATH)/liblhapdf.$(SOEXT)
 $(LIBPATH)/libAliPythia6.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libFASTSIM.$(SOEXT) $(LIBPATH)/libpythia6.$(SOEXT) $(LIBPATH)/libEVGEN.$(SOEXT)
 $(LIBPATH)/libTHijing.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libhijing.$(SOEXT) $(LIBPATH)/libEVGEN.$(SOEXT)
+$(LIBPATH)/libTHerwig.$(SOEXT): $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libherwig.$(SOEXT) $(LIBPATH)/libEVGEN.$(SOEXT)
 $(LIBPATH)/libSTRUCT.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT)
 $(LIBPATH)/libMUONcore.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT)
 $(LIBPATH)/libMUONmapping.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libMUONcore.$(SOEXT)
@@ -84,9 +86,9 @@ $(LIBPATH)/libMUONrec.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libC
 $(LIBPATH)/libMUONshuttle.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libMUONmapping.$(SOEXT) $(LIBPATH)/libMUONgeometry.$(SOEXT) $(LIBPATH)/libMUONcalib.$(SOEXT) $(LIBPATH)/libMUONbase.$(SOEXT) $(LIBPATH)/libMUONcore.$(SOEXT)
 $(LIBPATH)/libMUONevaluation.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libESD.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libMUONmapping.$(SOEXT) $(LIBPATH)/libMUONgeometry.$(SOEXT) $(LIBPATH)/libMUONtrigger.$(SOEXT) $(LIBPATH)/libMUONbase.$(SOEXT) $(LIBPATH)/libMUONsim.$(SOEXT) $(LIBPATH)/libMUONrec.$(SOEXT) $(LIBPATH)/libMUONcore.$(SOEXT)
 $(LIBPATH)/libMUONgraphics.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libMUONmapping.$(SOEXT) $(LIBPATH)/libMUONgeometry.$(SOEXT) $(LIBPATH)/libMUONbase.$(SOEXT) $(LIBPATH)/libMUONcalib.$(SOEXT) $(LIBPATH)/libMUONcore.$(SOEXT)  $(LIBPATH)/libRAWDatasim.$(SOEXT) $(LIBPATH)/libMUONrec.$(SOEXT) $(LIBPATH)/libMUONraw.$(SOEXT)
-$(LIBPATH)/libPMDbase.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatasim.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT) 
-$(LIBPATH)/libPMDsim.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatasim.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT) $(LIBPATH)/libPMDbase.$(SOEXT)
-$(LIBPATH)/libPMDrec.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libESD.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatasim.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT) $(LIBPATH)/libPMDbase.$(SOEXT)
+$(LIBPATH)/libPMDbase.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT) 
+$(LIBPATH)/libPMDsim.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatasim.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT) $(LIBPATH)/libPMDbase.$(SOEXT)
+$(LIBPATH)/libPMDrec.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libESD.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT) $(LIBPATH)/libPMDbase.$(SOEXT)
 $(LIBPATH)/libHMPIDbase.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatasim.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT)
 $(LIBPATH)/libHMPIDsim.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatasim.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT) $(LIBPATH)/libHMPIDbase.$(SOEXT)
 $(LIBPATH)/libHMPIDrec.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libESD.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatasim.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT) $(LIBPATH)/libHMPIDbase.$(SOEXT)