Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / lib / libglut / Makefile
blobdd4a70b18345400bb9087ce3090b042df2245c39
1 # $NetBSD: Makefile,v 1.7 2010/11/22 21:05:29 mrg Exp $
3 .include <bsd.own.mk>
5 LIB= glut
7 .PATH: ${X11SRCDIR.MesaGLUT}/src/glut/glx
8 SRCS= \
9 glut_8x13.c \
10 glut_9x15.c \
11 glut_bitmap.c \
12 glut_bwidth.c \
13 glut_cindex.c \
14 glut_cmap.c \
15 glut_cursor.c \
16 glut_dials.c \
17 glut_dstr.c \
18 glut_event.c \
19 glut_ext.c \
20 glut_fcb.c \
21 glut_fullscrn.c \
22 glut_gamemode.c \
23 glut_get.c \
24 glut_glxext.c \
25 glut_hel10.c \
26 glut_hel12.c \
27 glut_hel18.c \
28 glut_init.c \
29 glut_input.c \
30 glut_joy.c \
31 glut_key.c \
32 glut_keyctrl.c \
33 glut_keyup.c \
34 glut_menu.c \
35 glut_menu2.c \
36 glut_mesa.c \
37 glut_modifier.c \
38 glut_mroman.c \
39 glut_overlay.c \
40 glut_ppm.c \
41 glut_roman.c \
42 glut_shapes.c \
43 glut_space.c \
44 glut_stroke.c \
45 glut_swap.c \
46 glut_swidth.c \
47 glut_tablet.c \
48 glut_teapot.c \
49 glut_tr10.c \
50 glut_tr24.c \
51 glut_util.c \
52 glut_vidresize.c \
53 glut_warp.c \
54 glut_win.c \
55 glut_winmisc.c \
56 layerutil.c
58 CPPFLAGS+= -I${X11SRCDIR.MesaGLUT}/include -I${X11SRCDIR.MesaLib}/include
59 CFLAGS+= -fno-strict-aliasing -fexceptions
61 .PATH: ${X11SRCDIR.MesaGLUT}/include/GL
62 INCS= glut.h glutf90.h
63 INCSDIR=${X11INCDIR}/GL
65 LIBDPLIBS= Xi ${.CURDIR}/../libXi \
66 Xmu ${.CURDIR}/../libXmu \
67 Xt ${.CURDIR}/../libXt \
68 X11 ${.CURDIR}/../libX11/dynamic \
69 GL ${.CURDIR}/../libGL \
70 GLU ${.CURDIR}/../libGLU
72 LDADD+= -lm
73 DPADD+= ${LIBM}
75 PKGCONFIG= glut
76 PKGDIST.glut= ${X11SRCDIR.MesaGLUT}/src/glut/glx
77 .include "${.CURDIR}/../libGL/mesa-ver.mk"
78 PKGCONFIG_VERSION.glut= ${MESA_VER}
80 .include <bsd.x11.mk>
81 .include <bsd.lib.mk>