1SubDir HAIKU_TOP src add-ons screen_savers gravity ; 2UseBuildFeatureHeaders glu ; 3UseBuildFeatureHeaders mesa ; 4 5# For GCC2 6if $(TARGET_GCC_VERSION_$(TARGET_PACKAGING_ARCH)[1]) < 3 { 7 SubDirC++Flags --no-warnings ; 8} 9 10AddResources Gravity : Gravity.rdef ; 11 12local sources = 13 ColorItem.cpp 14 ConfigView.cpp 15 Gravity.cpp 16 GravitySource.cpp 17 GravityView.cpp 18 Particle.cpp 19 RainbowItem.cpp 20 main.cpp 21; 22 23Includes [ FGristFiles $(sources) ] : 24 [ BuildFeatureAttribute glu : headers ] 25 [ BuildFeatureAttribute mesa : headers ] 26 ; 27 # Dependency needed to trigger downloading/unzipping the package before 28 # compiling the files. 29 30ScreenSaver Gravity : 31 $(sources) 32 : 33 be screensaver localestub [ TargetLibstdc++ ] 34 [ BuildFeatureAttribute glu : library ] 35 [ BuildFeatureAttribute mesa : library ] 36; 37 38DoCatalogs Gravity : 39 x-vnd.Haiku-GravityScreensaver 40 : 41 $(sources) 42; 43