xref: /haiku/src/preferences/screensaver/Jamfile (revision b617a7b410c05275effb95f4b2f5608359d9b7b9)
1SubDir HAIKU_TOP src preferences screensaver ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5UseHeaders [ FDirName $(HAIKU_TOP) headers os add-ons screen_saver ] : true ;
6	# we also need our headers when build for BeOS
7
8UsePrivateHeaders screen_saver ;
9SubDirSysHdrs $(SUBDIR) ;
10
11Preference ScreenSaver :
12	ScreenSaverApp.cpp
13	ScreenSaverWindow.cpp
14	PasswordWindow.cpp
15	PreviewView.cpp
16	ScreenCornerSelector.cpp
17
18	ScreenSaver.cpp
19		# needed for some old/broken screen saver add-ons that do not
20		# link against libscreensaver.so
21
22	: tracker libscreensaver.so be $(TARGET_LIBSTDC++) localestub
23	: ScreenSaver.rdef
24	;
25
26SEARCH on [ FGristFiles
27		ScreenSaver.cpp
28	] = [ FDirName $(HAIKU_TOP) src kits screensaver ] ;
29
30DoCatalogs ScreenSaver :
31	x-vnd.Haiku-ScreenSaver
32	:
33	PasswordWindow.cpp
34	ScreenSaverWindow.cpp
35	;
36