# Keep track of files we don't install: # Common list: NOT_INSTALLED := \ dri/usr/include/GL/glfbdev.h \ dri/usr/include/GL/glu.h \ dri/usr/include/GL/glu_mangle.h \ dri/usr/include/GL/mesa_wgl.h \ dri/usr/include/GL/osmesa.h \ dri/usr/include/GL/vms_x_fix.h \ dri/usr/include/GL/wglext.h \ dri/usr/include/GL/wmesa.h \ dri/usr/lib/*/libGL.so \ dri/usr/lib/*/pkgconfig/gl.pc \ usr/include/GL/glext.h \ usr/include/GL/glfbdev.h \ usr/include/GL/gl.h \ usr/include/GL/gl_mangle.h \ usr/include/GL/GLwDrawAP.h \ usr/include/GL/GLwMDrawAP.h \ usr/include/GL/glxext.h \ usr/include/GL/glx.h \ usr/include/GL/glx_mangle.h \ usr/include/GL/mesa_wgl.h \ usr/include/GL/vms_x_fix.h \ usr/include/GL/wglext.h \ usr/include/GL/wmesa.h # Architecture-specific additional files: NOT_INSTALLED_i386 = \ usr/lib/*/i686/cmov/libGL.so \ usr/lib/*/i686/cmov/libGLU.so \ usr/lib/*/i686/cmov/libGLU.so.1 \ usr/lib/*/i686/cmov/libGLU.so.1.* \ usr/lib/*/i686/cmov/libGLw.so \ usr/lib/*/i686/cmov/libGLw.so.1 \ usr/lib/*/i686/cmov/libGLw.so.1.* \ usr/lib/*/i686/cmov/pkgconfig/glw.pc \ usr/lib/*/i686/cmov/pkgconfig/glu.pc \ usr/lib/*/i686/cmov/pkgconfig/gl.pc # Same for linux, kfreebsd, and hurd on i386: NOT_INSTALLED_kfreebsd-i386 = $(NOT_INSTALLED_i386) NOT_INSTALLED_hurd-i386 = $(NOT_INSTALLED_i386) # Detect the current architecture and add the files if any: DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) NOT_INSTALLED += $(NOT_INSTALLED_$(DEB_HOST_ARCH)) # Additional files which may or may not be there (depending on # whether it's from a tarball or from a git snapshot): NOT_INSTALLED_EITHER = \ dri/usr/include/GL/glutf90.h \ dri/usr/include/GL/glut.h \ usr/include/GL/glutf90.h \ usr/include/GL/glut.h