Compilation of EVE on Mac
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 May 2006 15:34:20 +0000 (15:34 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 May 2006 15:34:20 +0000 (15:34 +0000)
EVE/binreve.pkg
build/Makefile.macosx

index aeb53a9a308d86c19809ba5097ab18ff9e95295d..1118c15c2e732b133105c076d4a2f4a7e328e5e4 100644 (file)
@@ -6,3 +6,11 @@ ELIBSDIR :=
 ELIBS    := Reve
 
 PACKBLIBS := $(ROOTCLIBS) -lTreePlayer -lGeomPainter -lGed -lRGL $(SYSLIBS)
+
+ifeq (macosx,$(ALICE_TARGET))
+
+PACKLDFLAGS:=$(LDFLAGS) $(ELIBSCPP:%=-Wl,-u,_G__cpp_setupG__%)
+# On Mac OS X gcc we need GL
+ELIBS+=GL
+ELIBSDIR+=/usr/X11R6/lib/
+endif
index c2546eec274c8ef0ea0f8a63bf086314fca7dc25..52846122f24896400bc5b7a6364a3e37351e4b26 100644 (file)
@@ -42,7 +42,7 @@ CLIBCOPT      =
 CLIBFOPT      = $(CLIBDEFS)
 
 # Compiler flags
-CXXFLAGS      = $(CXXOPT)   -Wall -W -Wno-long-double -pipe -fbounds-check -fsigned-char -fno-common -fmessage-length=0 -I$(FINK_ROOT)/include -Woverloaded-virtual #-Weffc++ 
+CXXFLAGS      = $(CXXOPT)   -Wall -W -Wno-long-double -pipe -fbounds-check -fsigned-char -fno-common -fmessage-length=0 -I/usr/X11R6/include -I$(FINK_ROOT)/include -Woverloaded-virtual #-Weffc++ 
 
 ifeq (g95,$(findstring g95,$(ROOTBUILD)))
 CXXFLAGS+=-DFORTRAN_G95