BTRFS: Reimplement TreeIterator, add some error checks and remove redundancies.
[haiku.git] / src / libs / glut / Jamfile
blob2cdb02e6e428129fe35616703533c3cec5db799b
1 SubDir HAIKU_TOP src libs glut ;
3 UseLibraryHeaders glut ;
5 SetSubDirSupportedPlatformsBeOSCompatible ;
7 local sourcesCc =
8         # C sources
9         glut_8x13.c
10         glut_9x15.c
11         glut_bitmap.c
12         glut_bwidth.c
13         glut_hel10.c
14         glut_hel12.c
15         glut_hel18.c
16         glut_tr10.c
17         glut_tr24.c
18         glut_mroman.c
19         glut_roman.c
20         glut_stroke.c
21         glut_swidth.c
22         glut_shapes.c
23         glut_teapot.c
24         glut_vidresize.c
25         glut_util.c
26         glut_ext.c
30 local sourcesCpp =
31         glutBlocker.cpp
32         glutInit.cpp
33         glutWindow.cpp
34         glutEvent.cpp
35         glutCallback.cpp
36         glutOverlay.cpp
37         glutGet.cpp
38         glutColor.cpp
39         glutCursor.cpp
40         glutMenu.cpp
41         glutDstr.cpp
42         glutGameMode.cpp
43         beos_x11.cpp
47 local architectureObject ;
48 for architectureObject in [ MultiArchSubDirSetup ] {
49         on $(architectureObject) {
50                 local architecture = $(TARGET_PACKAGING_ARCH) ;
52                 UseBuildFeatureHeaders glu ;
53                 UseBuildFeatureHeaders mesa ;
55                 # For GCC2
56                 if $(architecture) = x86_gcc2 {
57                         SubDirC++Flags --no-warnings ;
58                 }
60                 # Ensure Mesa dependency is met
61                 Includes [ FGristFiles $(sourcesCc) $(sourcesCpp) ] :
62                         [ BuildFeatureAttribute glu : headers ]
63                         [ BuildFeatureAttribute mesa : headers ]
64                         ;
66                 SharedLibrary [ MultiArchDefaultGristFiles libglut.so ] :
67                         $(sourcesCpp)
68                         $(sourcesCc)
69                         :
70                         game be [ TargetLibstdc++ ]
71                         [ BuildFeatureAttribute mesa : library ]
72                         [ BuildFeatureAttribute glu : library ]
73                         ;
74         }