From: hristov Date: Wed, 16 Apr 2008 16:24:34 +0000 (+0000) Subject: Compilation on Windows/Cygwin X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=bc7c004cc10849ac6151b4fd9681bbb8d408e795;hp=03b0e43d957ed1c56dfd45dab7b2c76b4016dd3a Compilation on Windows/Cygwin --- diff --git a/ACORDE/ACORDEbaseLinkDef.h b/ACORDE/ACORDEbaseLinkDef.h index 4567a301d81..e95c731f387 100644 --- a/ACORDE/ACORDEbaseLinkDef.h +++ b/ACORDE/ACORDEbaseLinkDef.h @@ -8,7 +8,6 @@ #pragma link C++ enum ECRMode; -#pragma link C++ class AliACORDE+; #pragma link C++ class AliACORDEConstants+; #pragma link C++ class AliACORDELoader+; #pragma link C++ class AliGenACORDE+; diff --git a/ACORDE/ACORDEsimLinkDef.h b/ACORDE/ACORDEsimLinkDef.h index 04d5f09019a..7fa0efe5fc9 100644 --- a/ACORDE/ACORDEsimLinkDef.h +++ b/ACORDE/ACORDEsimLinkDef.h @@ -8,6 +8,7 @@ #pragma link off all classes; #pragma link off all functions; +#pragma link C++ class AliACORDE+; #pragma link C++ class AliACORDEv1+; #pragma link C++ class AliACORDEhit+; #pragma link C++ class AliACORDEDigitizer+; diff --git a/ACORDE/libACORDEbase.pkg b/ACORDE/libACORDEbase.pkg index 783db5f4558..11606602ed3 100644 --- a/ACORDE/libACORDEbase.pkg +++ b/ACORDE/libACORDEbase.pkg @@ -1,7 +1,14 @@ -SRCS = AliACORDE.cxx AliACORDEConstants.cxx AliACORDECalibData.cxx \ +#-*-Mode: Makefile-*- + +SRCS = AliACORDEConstants.cxx AliACORDECalibData.cxx \ AliGenACORDE.cxx AliACORDELoader.cxx AliACORDEPreprocessor.cxx AliACORDEdigit.cxx AliACORDEDataDCS.cxx HDRS:= $(SRCS:.cxx=.h) DHDR:=ACORDEbaseLinkDef.h +ifeq (win32gcc,$(ALICE_TARGET)) +PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \ + -lSTEER -lCDB -lSTEERBase \ +# -L$(shell root-config --libdir) -lGeom +endif diff --git a/ACORDE/libACORDErec.pkg b/ACORDE/libACORDErec.pkg index b37b4857496..df254192560 100644 --- a/ACORDE/libACORDErec.pkg +++ b/ACORDE/libACORDErec.pkg @@ -1,3 +1,5 @@ +#-*-Mode: Makefile-*- + SRCS = AliACORDERawStream.cxx HDRS:= $(SRCS:.cxx=.h) @@ -5,3 +7,8 @@ HDRS:= $(SRCS:.cxx=.h) DHDR:=ACORDErecLinkDef.h EINCLUDE := RAW + +ifeq (win32gcc,$(ALICE_TARGET)) +PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \ + -lSTEERBase -lRAWDatarec -lRAWDatabase +endif diff --git a/ACORDE/libACORDEsim.pkg b/ACORDE/libACORDEsim.pkg index d8aef6ec259..167a61ed123 100644 --- a/ACORDE/libACORDEsim.pkg +++ b/ACORDE/libACORDEsim.pkg @@ -1,4 +1,6 @@ -SRCS = AliACORDEv1.cxx AliACORDEhit.cxx \ +#-*-Mode: Makefile-*- + +SRCS = AliACORDE.cxx AliACORDEv1.cxx AliACORDEhit.cxx \ AliACORDEDigitizer.cxx AliACORDETrigger.cxx \ AliACORDERawData.cxx @@ -8,3 +10,9 @@ HDRS:= $(SRCS:.cxx=.h) DHDR:=ACORDEsimLinkDef.h +ifeq (win32gcc,$(ALICE_TARGET)) +PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \ + -lACORDEbase -lACORDErec -lSTEER -lCDB -lSTEERBase \ + -lRAWDatabase \ + -L$(shell root-config --libdir) -lVMC -lGeom +endif