]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/binreve.pkg
New files; macros to demonstrate non-linear projections.
[u/mrichter/AliRoot.git] / EVE / binreve.pkg
index 1118c15c2e732b133105c076d4a2f4a7e328e5e4..69971e9c6af1b437e8b80692e985ff029c9bfecb 100644 (file)
@@ -5,12 +5,13 @@ EINCLUDE :=
 ELIBSDIR :=
 ELIBS    := Reve
 
-PACKBLIBS := $(ROOTCLIBS) -lTreePlayer -lGeomPainter -lGed -lRGL $(SYSLIBS)
+PACKBLIBS := $(ROOTCLIBS) -lTreePlayer -lGeomPainter -lGed \
+            -L$(shell root-config --libdir)/$(dir $(shell root-config --version)) -lRGL \
+            $(SYSLIBS)
 
 ifeq (macosx,$(ALICE_TARGET))
 
-PACKLDFLAGS:=$(LDFLAGS) $(ELIBSCPP:%=-Wl,-u,_G__cpp_setupG__%)
-# On Mac OS X gcc we need GL
-ELIBS+=GL
+# On Mac OS X gcc we need GL and GLU
+ELIBS+=GL GLU
 ELIBSDIR+=/usr/X11R6/lib/
 endif