SubDir HAIKU_TOP src preferences screensaver ; UseHeaders [ FDirName $(HAIKU_TOP) headers os add-ons screen_saver ] : true ; # we also need our headers when build for BeOS UsePrivateHeaders screen_saver ; SubDirSysHdrs $(SUBDIR) ; Preference ScreenSaver : ScreenSaverApp.cpp ScreenSaverWindow.cpp PasswordWindow.cpp PreviewView.cpp ScreenCornerSelector.cpp ScreenSaver.cpp # needed for some old/broken screen saver add-ons that do not # link against libscreensaver.so : be game libscreensaver.so localestub tracker [ TargetLibstdc++ ] [ BuildFeatureAttribute mesa : library ] : ScreenSaver.rdef ; SEARCH on [ FGristFiles ScreenSaver.cpp ] = [ FDirName $(HAIKU_TOP) src kits screensaver ] ; DoCatalogs ScreenSaver : x-vnd.Haiku-ScreenSaver : PasswordWindow.cpp PreviewView.cpp ScreenSaverWindow.cpp ;