Compilation on Windows/Cygwin
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Apr 2008 14:27:31 +0000 (14:27 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Apr 2008 14:27:31 +0000 (14:27 +0000)
16 files changed:
HLT/BASE/HOMER/AliHLTHOMERReader.cxx
HLT/TPCLib/AliHLTTPCVertexFinderComponent.cxx
HLT/libAliHLTComp.pkg
HLT/libAliHLTITS.pkg
HLT/libAliHLTMUON.pkg
HLT/libAliHLTPHOS.pkg
HLT/libAliHLTRCU.pkg
HLT/libAliHLTSample.pkg
HLT/libAliHLTTPC.pkg
HLT/libAliHLTTRD.pkg
HLT/libAliHLTTrigger.pkg
HLT/libAliHLTUtil.pkg
HLT/libHLTinterface.pkg
HLT/libHLTrec.pkg
HLT/libHLTshuttle.pkg
HLT/libHLTsim.pkg

index ec33945..180832c 100644 (file)
@@ -57,7 +57,9 @@ extern int h_errno;
 //#include <netinet/in.h>
 //#include <netinet/tcp.h>
 #include <unistd.h>
+#ifndef __CYGWIN__
 #include <rpc/types.h>
+#endif
 #include <fcntl.h>
 #include <sys/stat.h>
 #include <netinet/in.h>
index 6878c6f..e5ceb15 100644 (file)
@@ -49,6 +49,10 @@ using namespace std;
 #include <cstdlib>
 #include <cerrno>
 
+#ifndef ECANCELED 
+#define ECANCELED   125
+#endif
+
 /** ROOT macro for the implementation of ROOT specific class methods */
 ClassImp(AliHLTTPCVertexFinderComponent);
 
index a95499e..6662b13 100644 (file)
@@ -36,3 +36,8 @@ PACKCXXFLAGS := ${HLTCXXFLAGS}
 PACKCFLAGS   := ${HLTCLFAGS}
 PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
 
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase -lCDB
+endif
+
index 058e28e..766d8db 100644 (file)
@@ -26,3 +26,8 @@ PACKCFLAGS   := ${HLTCLFAGS}
 PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
 
 EINCLUDE := HLT/BASE HLT/ITS HLT/MUON/src TPC ITS MUON STEER RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lITSrec -lITSbase -lESD -lSTEER -lSTEERBase
+endif
index a2a15bc..788caab 100644 (file)
@@ -65,3 +65,10 @@ PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
 EINCLUDE :=    HLT/BASE HLT/MUON HLT/MUON/utils HLT/MUON/OnlineAnalysis \
                HLT/MUON/OfflineInterface MUON MUON/mapping STEER RAW
 
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase -lMUONmapping -lMUONbase -lMUONevaluation \
+                         -lMUONsim -lMUONcore -lMUONcalib -lMUONgeometry -lMUONraw \
+                         -lCDB -lSTEER -lSTEERBase -lRAWDatarec \
+                         -L$(shell root-config --libdir) -lMinuit
+endif
index 26e2432..9e496d9 100644 (file)
@@ -106,3 +106,8 @@ CINTHDRS:=$(patsubst %,PHOS/%,$(CLASS_HDRS))
 HDRS:=$(patsubst %,PHOS/%,$(MODULE_HDRS))
 DHDR:=$(patsubst %,PHOS/%,$(MODULE_DHDR))
 CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase -lPHOSbase -lSTEER -lRAWDatarec -lESD
+endif
index f077448..45065fd 100644 (file)
@@ -26,3 +26,8 @@ PACKCFLAGS   := ${HLTCLFAGS}
 PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
 
 EINCLUDE := HLT/BASE RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase -lRAWDatarec
+endif
index 957f37e..556a20a 100644 (file)
@@ -55,3 +55,8 @@ CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS))
 HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS))
 DHDR:=$(patsubst %,SampleLib/%,$(MODULE_DHDR))
 CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase -lCDB -lSTEERBase
+endif
index d312c0e..e6a51a9 100644 (file)
@@ -130,3 +130,10 @@ EINCLUDE   := HLT/TPCLib \
                   TPC \
                   RAW \
                   STEER
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase -lAliHLTRCU -lAliHLTUtil \
+                         -lCDB -lESD -lSTEER -lSTEERBase -lTPCrec -lTPCbase \
+                         -lRAWDatarec
+endif
index e5d5a2f..b6c917d 100644 (file)
@@ -54,3 +54,9 @@ CINTHDRS:=$(patsubst %,TRD/%,$(CLASS_HDRS))
 HDRS:=$(patsubst %,TRD/%,$(MODULE_HDRS))
 DHDR:=$(patsubst %,TRD/%,$(MODULE_DHDR))
 CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase -lAliHLTUtil -lESD -lCDB -lTRDrec -lTRDbase \
+                         -lSTEER -lSTEERBase -lRAWDatarec 
+endif
index b021cff..fb7bd44 100644 (file)
@@ -55,3 +55,8 @@ EDEFINE      := ${HLTDEFS}
 PACKCXXFLAGS := ${HLTCXXFLAGS}
 PACKCFLAGS   := ${HLTCLFAGS}
 PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase
+endif
index d828858..25a3325 100644 (file)
@@ -32,3 +32,8 @@ PACKCFLAGS   := ${HLTCLFAGS}
 PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
 
 EINCLUDE := HLT/BASE HLT/BASE/util STEER RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase -lSTEER -lSTEERBase
+endif
index 9ed3c2d..336ab7d 100644 (file)
@@ -25,3 +25,8 @@ PACKCFLAGS   := ${HLTCLFAGS}
 PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
 
 EINCLUDE := HLT/BASE/interface HLT/BASE
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase
+endif
index 9cb2887..4441f61 100644 (file)
@@ -32,3 +32,8 @@ PACKCFLAGS   := ${HLTCLFAGS}
 PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
 
 EINCLUDE := HLT/rec HLT/BASE HLT/BASE/HOMER STEER RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase -lCDB -lESD -lSTEERbase -lSTEER -lRAWDatarec -lRAWDatabase
+endif
index a53ce85..15029c2 100644 (file)
@@ -25,3 +25,8 @@ PACKCFLAGS   := ${HLTCLFAGS}
 PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
 
 EINCLUDE := HLT/shuttle HLT/BASE STEER
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase -lCDB
+endif
index 538f0da..29831d8 100644 (file)
@@ -27,3 +27,8 @@ PACKCFLAGS   := ${HLTCLFAGS}
 PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
 
 EINCLUDE := HLT/sim HLT/BASE HLT/BASE/HOMER STEER RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lHLTbase -lSTEERbase -lCDB -lSTEER -lRAWDatarec -lRAWDatabase
+endif