1 SubDir HAIKU_TOP src libs glut ;
3 UseLibraryHeaders glut ;
5 SetSubDirSupportedPlatformsBeOSCompatible ;
47 local architectureObject ;
48 for architectureObject in [ MultiArchSubDirSetup ] {
49 on $(architectureObject) {
50 local architecture = $(TARGET_PACKAGING_ARCH) ;
52 UseBuildFeatureHeaders glu ;
53 UseBuildFeatureHeaders mesa ;
56 if $(architecture) = x86_gcc2 {
57 SubDirC++Flags --no-warnings ;
60 # Ensure Mesa dependency is met
61 Includes [ FGristFiles $(sourcesCc) $(sourcesCpp) ] :
62 [ BuildFeatureAttribute glu : headers ]
63 [ BuildFeatureAttribute mesa : headers ]
66 SharedLibrary [ MultiArchDefaultGristFiles libglut.so ] :
70 game be [ TargetLibstdc++ ]
71 [ BuildFeatureAttribute mesa : library ]
72 [ BuildFeatureAttribute glu : library ]