* The HEADERS_DEPENDENCY isn't needed for GLU as Mesa is a dependency and requires GLU to build * I actually didn't break the build, we were however using the Mesa GLU headers with the external GLU lib which could be bad
46 lines
831 B
Plaintext
46 lines
831 B
Plaintext
SubDir HAIKU_TOP src tests kits opengl glinfo ;
|
|
SubDirSysHdrs $(HAIKU_GLU_HEADERS) ;
|
|
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
|
|
|
|
# For GCC2
|
|
if $(HAIKU_GCC_VERSION[1]) < 3 {
|
|
SubDirC++Flags --no-warnings ;
|
|
}
|
|
|
|
UsePrivateHeaders interface ;
|
|
|
|
|
|
local sources =
|
|
OpenGLApp.cpp
|
|
OpenGLWindow.cpp
|
|
OpenGLView.cpp
|
|
CapabilitiesView.cpp
|
|
ExtensionsView.cpp
|
|
InfoView.cpp
|
|
GearsView.cpp
|
|
;
|
|
|
|
Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
|
|
# Dependency needed to trigger downloading/unzipping the package before
|
|
# compiling the files.
|
|
|
|
Preference GLInfo :
|
|
$(sources)
|
|
:
|
|
be GL libglut.so
|
|
translation libcolumnlistview.a $(HAIKU_LOCALE_LIBS)
|
|
$(TARGET_LIBSUPC++)
|
|
:
|
|
GLInfo.rdef
|
|
;
|
|
|
|
DoCatalogs GLInfo :
|
|
x-vnd.Haiku-GLInfo
|
|
:
|
|
CapabilitiesView.cpp
|
|
ExtensionsView.cpp
|
|
InfoView.cpp
|
|
OpenGLView.cpp
|
|
OpenGLWindow.cpp
|
|
;
|