xref: /haiku/src/preferences/screensaver/Jamfile (revision 323b65468e5836bb27a5e373b14027d902349437)
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++) $(HAIKU_LOCALE_LIBS)
23	: ScreenSaver.rdef
24	;
25
26SEARCH on [ FGristFiles
27		ScreenSaver.cpp
28	] = [ FDirName $(HAIKU_TOP) src kits screensaver ] ;
29
30Package haiku-screensaverkit-cvs :
31	ScreenSaver :
32	boot home Desktop haiku-screensaverkit ;
33
34DoCatalogs ScreenSaver :
35	x-vnd.Haiku-ScreenSaver
36	:
37	PasswordWindow.cpp
38	ScreenSaverWindow.cpp
39	;
40