|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../mesa-demos/mesa-demos.conf |
|
|
|
|
# Copyright (C) 2009 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
@ -14,11 +15,14 @@
|
|
|
|
|
|
|
|
|
|
mesa_install() |
|
|
|
|
{ |
|
|
|
|
local x= |
|
|
|
|
|
|
|
|
|
cd progs/xdemos/ |
|
|
|
|
# the makefile would need hackery for single builds :-( |
|
|
|
|
$CC -L$libdir glxinfo.c -lglut -lGLU -lGL -lm -o glxinfo |
|
|
|
|
$CC -L$libdir glxgears.c -lglut -lGLU -lGL -lm -o glxgears |
|
|
|
|
install -m 755 glxinfo glxgears $root$bindir/ |
|
|
|
|
for x in glxinfo glxgears; do |
|
|
|
|
$CC "-L$root$libdir" "-I$root$includedir" $x.c -lglut -lGLU -lGL -lm -o $x |
|
|
|
|
install -m 755 $x "$root$bindir/" |
|
|
|
|
done |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
makeopt= |
|
|
|
|