Fixed building libGL.so for non haiku targets.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15100 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2005-11-24 05:21:04 +00:00
parent 49af301b35
commit b8c43bc75e
3 changed files with 24 additions and 2 deletions
+10 -2
View File
@@ -4,6 +4,12 @@ SetSubDirSupportedPlatformsBeOSCompatible ;
UsePrivateHeaders opengl ;
if $(TARGET_PLATFORM) != haiku {
UseHeaders [ FDirName $(HAIKU_TOP) headers os opengl ] : true ;
# We need the public GL headers also when not compiling for Haiku.
}
UseHeaders [ FDirName $(SUBDIR) mesa ] ;
UseHeaders [ FDirName $(SUBDIR) mesa main ] ;
UseHeaders [ FDirName $(SUBDIR) mesa glapi ] ;
@@ -43,9 +49,11 @@ SharedLibrary libGL.so :
# GLUT API is included in libGL.so under Haiku, not a separate libglut.so library
<opengl>glut.o
libbe.so
libgame.so # BWindowScreen needed by BGLScreen stub class
libmesa.a # For GL API dispatching, mostly
# External libs:
be
game # BWindowScreen needed by BGLScreen stub class
;
Package haiku-opengl-cvs :
+7
View File
@@ -1,5 +1,12 @@
SubDir HAIKU_TOP src kits opengl glu ;
SetSubDirSupportedPlatformsBeOSCompatible ;
if $(TARGET_PLATFORM) != haiku {
UseHeaders [ FDirName $(HAIKU_TOP) headers os opengl ] : true ;
# We need the public GL headers also when not compiling for Haiku.
}
UseHeaders [ FDirName $(SUBDIR) include ] ;
UseHeaders [ FDirName $(SUBDIR) libnurbs interface ] ;
UseHeaders [ FDirName $(SUBDIR) libnurbs internals ] ;
+7
View File
@@ -1,5 +1,12 @@
SubDir HAIKU_TOP src kits opengl mesa ;
SetSubDirSupportedPlatformsBeOSCompatible ;
if $(TARGET_PLATFORM) != haiku {
UseHeaders [ FDirName $(HAIKU_TOP) headers os opengl ] : true ;
# We need the public GL headers also when not compiling for Haiku.
}
UsePrivateHeaders opengl ;
UseHeaders [ FDirName $(SUBDIR) main ] ;