summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/glxgears/Makefile17
-rw-r--r--app/glxinfo/Makefile16
2 files changed, 33 insertions, 0 deletions
diff --git a/app/glxgears/Makefile b/app/glxgears/Makefile
new file mode 100644
index 000000000..fbeddea39
--- /dev/null
+++ b/app/glxgears/Makefile
@@ -0,0 +1,17 @@
+# $Xenocara$
+.include <bsd.own.mk>
+X11BASE?= /usr/X11R6
+DIST= ${XENOCARA_TOP}/dist/Mesa
+GLXGEARS= ${DIST}/progs/xdemos
+MANDIR= ${X11BASE}/man/cat
+
+PROG= glxgears
+
+CPPFLAGS+= -I${X11BASE}/include
+LDADD+= -L${X11BASE}/lib -lGL -lXext -lX11 -lm
+
+.include <bsd.prog.mk>
+.include <bsd.xorg.mk>
+
+.PATH: ${GLXGEARS}
+
diff --git a/app/glxinfo/Makefile b/app/glxinfo/Makefile
new file mode 100644
index 000000000..66b52ddb2
--- /dev/null
+++ b/app/glxinfo/Makefile
@@ -0,0 +1,16 @@
+# $Xenocara$
+.include <bsd.own.mk>
+X11BASE?= /usr/X11R6
+DIST= ${XENOCARA_TOP}/dist/Mesa
+GLXINFO= ${DIST}/progs/xdemos
+MANDIR= ${X11BASE}/man/cat
+
+PROG= glxinfo
+
+CPPFLAGS+= -I${X11BASE}/include
+LDADD+= -L${X11BASE}/lib -lGL -lXext -lX11 -lm
+
+.include <bsd.prog.mk>
+.include <bsd.xorg.mk>
+
+.PATH: ${GLXINFO}