Sync usage with man page.
[netbsd-mini2440.git] / external / mit / xorg / lib / libOSMesa / Makefile
blob5ccf725256e12c2c50f58506c7e666e4a72116de
1 # $NetBSD: Makefile,v 1.4 2008/11/18 17:03:58 cube Exp $
3 .include <bsd.own.mk>
5 LIB= OSMesa
7 MESA_SRC_MODULES= main math vbo tnl shader swrast slang glapi common \
8 osmesa ss
10 .PATH: ${X11SRCDIR.MesaLib}/include/GL
11 INCS= osmesa.h
12 INCSDIR= ${X11INCDIR}/GL
14 CPPFLAGS+= ${X11FLAGS.THREADLIB} \
15 -DPTHREADS -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31 \
16 -D_NETBSD_SOURCE -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS
17 CFLAGS+= -pthread
19 .include "libmesa.mk"
21 .include <bsd.x11.mk>
22 .include <bsd.lib.mk>