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