diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-11-26 11:24:34 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-11-26 11:24:34 +0000 |
commit | 612df57d1b528619b936fd3c842c751d8ec5efcd (patch) | |
tree | a2a145be990b15ddd8dc81f30f817029711f70ed /app | |
parent | d0bc8d96d970d51086819e5c75a32c2096a2bf3c (diff) |
Makefiles for GL programs
Diffstat (limited to 'app')
-rw-r--r-- | app/glxgears/Makefile | 17 | ||||
-rw-r--r-- | app/glxinfo/Makefile | 16 |
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} |