Changeset 886 for trunk/config/sys


Ignore:
Timestamp:
Nov 19, 2008, 2:41:24 PM (16 years ago)
Author:
garnier
Message:

change and better Leopard check on Mac OSX

Location:
trunk/config/sys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/sys/Darwin-g++.gmk

    r875 r886  
    6464  endif
    6565  ifndef OGLLIBS
    66     OGLLIBS   := -L$(OGLHOME)/lib -lGLU -lGL
    67     ifeq ($(G4SYSTEM),Darwin-g++)
    68           # the following lines are for building on MacOSX 10.5 "Leopard"
     66    ifeq ($(shell uname -r | sed 's/\([0-9]*\).[0-9]*.[0-9]*/\1/'),9)
     67      # the following lines are for building on MacOSX 10.5 "Leopard"
    6968      OGLLIBS   := $(shell test -f /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib && echo " -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib")
    70       endif
     69    else
     70      OGLLIBS   := -L$(OGLHOME)/lib -lGLU -lGL
     71    endif
    7172  endif
    7273  ifndef QTHOME
     
    9394    endif
    9495  endif
    95 
    9696  ifndef QTLIBPATH
    9797    ifeq ($(QT_VERSION),3)
  • trunk/config/sys/Linux-g++.gmk

    r875 r886  
    7272  ifndef QTFLAGS
    7373    ifeq ($(QT_VERSION),4)
    74       QTFLAGS   := -I $(QTHOME)/include/qt$(QT_VERSION)/QtCore
     74      QTFLAGS   += -I$(QTHOME)/include/qt$(QT_VERSION)
     75      QTFLAGS   += -I $(QTHOME)/include/qt$(QT_VERSION)/QtCore
    7576      QTFLAGS   += -I $(QTHOME)/include/qt$(QT_VERSION)/QtGui
    7677      QTFLAGS   += -I $(QTHOME)/include/qt$(QT_VERSION)/QtOpenGL
Note: See TracChangeset for help on using the changeset viewer.