xref: /haiku/src/add-ons/screen_savers/gravity/Jamfile (revision 529cd177b573aaba391c8adc9c9f5ad76a14bf81)
1SubDir HAIKU_TOP src add-ons screen_savers gravity ;
2UseBuildFeatureHeaders glu ;
3UseBuildFeatureHeaders mesa ;
4
5# For GCC2
6if $(TARGET_GCC_VERSION_$(TARGET_PACKAGING_ARCH)[1]) < 3 {
7    SubDirC++Flags --no-warnings ;
8}
9
10AddResources Gravity : Gravity.rdef ;
11
12local sources =
13	ConfigView.cpp
14	Gravity.cpp
15	GravitySource.cpp
16	GravityView.cpp
17	Particle.cpp
18	main.cpp
19;
20
21Includes [ FGristFiles $(sources) ] :
22	[ BuildFeatureAttribute glu : headers ]
23	[ BuildFeatureAttribute mesa : headers ]
24	;
25    # Dependency needed to trigger downloading/unzipping the package before
26    # compiling the files.
27
28ScreenSaver Gravity :
29	$(sources)
30	:
31	be screensaver localestub [ TargetLibstdc++ ]
32	[ BuildFeatureAttribute glu : library ]
33	[ BuildFeatureAttribute mesa : library ]
34;
35
36DoCatalogs Gravity :
37	x-vnd.Haiku-GravityScreensaver
38	:
39	$(sources)
40;
41