1SubDir HAIKU_TOP src add-ons screen_savers glife ; 2SubDirSysHdrs $(HAIKU_GLU_HEADERS) ; 3SubDirSysHdrs $(HAIKU_MESA_HEADERS) ; 4 5SetSubDirSupportedPlatformsBeOSCompatible ; 6 7# For GCC2 8#if $(HAIKU_GCC_VERSION[1]) < 3 { 9 SubDirC++Flags --no-warnings ; 10#} 11 12UsePrivateHeaders screen_saver ; 13 # For BuildScreenSaverDefaultSettingsView 14 15local sources = 16 GLifeSaver.cpp 17 GLifeView.cpp 18 GLifeGrid.cpp 19 GLifeConfig.cpp 20; 21 22Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ; 23 # Dependency needed to trigger downloading/unzipping the package before 24 # compiling the files. 25 26AddResources GLife : GLife.rdef ; 27 28ScreenSaver GLife : 29 $(sources) : 30 be screensaver GL $(HAIKU_LOCALE_LIBS) $(TARGET_LIBSUPC++) 31; 32 33DoCatalogs GLife : 34 x-vnd.Haiku-GLifeScreensaver 35 : 36 $(sources) 37; 38