xref: /haiku/src/tests/kits/opengl/glinfo/Jamfile (revision 2510baa4685f8f570c607ceedfd73473d69342c4)
1SubDir HAIKU_TOP src tests kits opengl glinfo ;
2SubDirSysHdrs $(HAIKU_GLU_HEADERS) ;
3SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
4
5# For GCC2
6if $(HAIKU_GCC_VERSION[1]) < 3 {
7	SubDirC++Flags --no-warnings ;
8}
9
10UsePrivateHeaders interface ;
11
12
13local sources =
14	OpenGLApp.cpp
15	OpenGLWindow.cpp
16	OpenGLView.cpp
17	CapabilitiesView.cpp
18	ExtensionsView.cpp
19	InfoView.cpp
20	GearsView.cpp
21;
22
23Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
24	# Dependency needed to trigger downloading/unzipping the package before
25	# compiling the files.
26
27Preference GLInfo :
28	$(sources)
29	:
30	be GL libglut.so
31	translation libcolumnlistview.a $(HAIKU_LOCALE_LIBS)
32	$(TARGET_LIBSUPC++)
33	:
34	GLInfo.rdef
35;
36
37DoCatalogs GLInfo :
38    x-vnd.Haiku-GLInfo
39	:
40	CapabilitiesView.cpp
41	ExtensionsView.cpp
42	InfoView.cpp
43	OpenGLView.cpp
44	OpenGLWindow.cpp
45;
46