SubDir HAIKU_TOP src add-ons screen_savers gravity ; UseBuildFeatureHeaders glu ; UseBuildFeatureHeaders mesa ; UsePrivateHeaders shared ; # For GCC2 if $(TARGET_CC_IS_LEGACY_GCC_$(TARGET_PACKAGING_ARCH)) = 1 { SubDirC++Flags --no-warnings ; } AddResources Gravity : Gravity.rdef ; local sources = ConfigView.cpp Gravity.cpp GravitySource.cpp GravityView.cpp Particle.cpp RainbowItem.cpp main.cpp ; Includes [ FGristFiles $(sources) ] : [ BuildFeatureAttribute glu : headers ] [ BuildFeatureAttribute mesa : headers ] ; # Dependency needed to trigger downloading/unzipping the package before # compiling the files. ScreenSaver Gravity : $(sources) : be screensaver shared localestub [ TargetLibstdc++ ] [ BuildFeatureAttribute glu : library ] [ BuildFeatureAttribute mesa : library ] ; DoCatalogs Gravity : x-vnd.Haiku-GravityScreensaver : $(sources) ;