1SubDir HAIKU_TOP src apps haiku3d ; 2SubDirSysHdrs $(HAIKU_MESA_HEADERS) ; 3 4SEARCH_SOURCE += [ FDirName $(SUBDIR) mesh ] ; 5SEARCH_SOURCE += [ FDirName $(SUBDIR) texture ] ; 6 7# For GCC2 8if $(HAIKU_GCC_VERSION[1]) < 3 { 9 SubDirC++Flags --no-warnings ; 10} 11 12UsePrivateHeaders shared ; 13 14local sources = 15 App.cpp 16 Camera.cpp 17 MainWindow.cpp 18 MathUtils.cpp 19 Mesh.cpp 20 MeshInstance.cpp 21 RenderView.cpp 22 Texture.cpp 23 24 # mesh 25 StaticMesh.cpp 26 27 # texture 28 BitmapTexture.cpp 29 VideoFileTexture.cpp 30; 31 32Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ; 33 34Application Haiku3d : 35 $(sources) 36 : be game GL media translation $(TARGET_LIBSTDC++) 37 : Haiku3d.rdef 38; 39