1SubDir HAIKU_TOP src add-ons screen_savers gravity ; 2UseBuildFeatureHeaders glu ; 3UseBuildFeatureHeaders mesa ; 4UsePrivateHeaders shared ; 5 6# For GCC2 7if $(TARGET_CC_IS_LEGACY_GCC_$(TARGET_PACKAGING_ARCH)) = 1 { 8 SubDirC++Flags --no-warnings ; 9} 10 11AddResources Gravity : Gravity.rdef ; 12 13local sources = 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 shared localestub [ TargetLibstdc++ ] 34 [ BuildFeatureAttribute glu : library ] 35 [ BuildFeatureAttribute mesa : library ] 36; 37 38DoCatalogs Gravity : 39 x-vnd.Haiku-GravityScreensaver 40 : 41 $(sources) 42; 43