[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/libcallgl Makefile
From: |
Janne V. Kujala |
Subject: |
[Gzz-commits] gzz/gfx/libcallgl Makefile |
Date: |
Sat, 12 Oct 2002 16:13:28 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Janne V. Kujala <address@hidden> 02/10/12 16:13:28
Modified files:
gfx/libcallgl : Makefile
Log message:
cleanup
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libcallgl/Makefile.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
Patches:
Index: gzz/gfx/libcallgl/Makefile
diff -c gzz/gfx/libcallgl/Makefile:1.13 gzz/gfx/libcallgl/Makefile:1.14
*** gzz/gfx/libcallgl/Makefile:1.13 Sat Oct 12 10:59:54 2002
--- gzz/gfx/libcallgl/Makefile Sat Oct 12 16:13:28 2002
***************
*** 15,33 ****
# gltokens.c is currently in cvs to prevent potential problems
# with different OpenGL headers.
! # To enable automatic gltokens.c regeneration, remove the XXX_'s below
# and check that CPPFLAGS specifies the correct OpenGL include directories.
- XXX_gltokens.dep:
- echo '#include <GL/gl.h>' | \
- cpp $(CPPFLAGS) -DGL_GLEXT_PROTOTYPES - -M | \
- sed -e 's/^-/gltokens.c gltokens.dep/' > gltokens.dep
-
- include XXX_gltokens.dep
-
XXX_gltokens.c:
echo '#include <GL/gl.h>' | \
! cpp $(CPPFLAGS) -DGL_GLEXT_PROTOTYPES - -dM | \
grep -h '#define GL_\w\+[[:space:]]\+\w\+' | \
grep -v 'OFFSET_TEXTURE_2D_[BMS]' | cut -c12- | \
awk '{print "{\"" $$1 "\", " $$2 "},"}' | \
LC_COLLATE=C sort | uniq > gltokens.c
--- 15,33 ----
# gltokens.c is currently in cvs to prevent potential problems
# with different OpenGL headers.
! # To enable automatic gltokens.c regeneration, remove the XXX_ below
# and check that CPPFLAGS specifies the correct OpenGL include directories.
XXX_gltokens.c:
echo '#include <GL/gl.h>' | \
! $(CXX) -E $(CPPFLAGS) -DGL_GLEXT_PROTOTYPES - -dM | \
grep -h '#define GL_\w\+[[:space:]]\+\w\+' | \
grep -v 'OFFSET_TEXTURE_2D_[BMS]' | cut -c12- | \
awk '{print "{\"" $$1 "\", " $$2 "},"}' | \
LC_COLLATE=C sort | uniq > gltokens.c
+
+ gltokens.dep:
+ echo '#include <GL/gl.h>' | \
+ $(CXX) -E $(CPPFLAGS) -DGL_GLEXT_PROTOTYPES - -M | \
+ sed -e 's/^-/gltokens.c gltokens.dep/' > gltokens.dep
+
+ include gltokens.dep