1SubDir HAIKU_TOP src apps haiku3d ; 2UseBuildFeatureHeaders mesa ; 3UseBuildFeatureHeaders glu ; 4 5SEARCH_SOURCE += [ FDirName $(SUBDIR) mesh ] ; 6SEARCH_SOURCE += [ FDirName $(SUBDIR) texture ] ; 7 8# For GCC2 9if $(TARGET_GCC_VERSION_$(TARGET_PACKAGING_ARCH)[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) ] : 34 [ BuildFeatureAttribute glu : headers ] 35 [ BuildFeatureAttribute mesa : headers ] 36 ; 37 38Application Haiku3d : 39 $(sources) 40 : 41 be game media translation [ TargetLibstdc++ ] 42 [ BuildFeatureAttribute glu : library ] 43 [ BuildFeatureAttribute mesa : library ] 44 : Haiku3d.rdef 45; 46