graphics: minor change to Makefile and configure

This splits and groups DEPSRCS better so errors are not seen trying to
include files that are not present with no intention to build that
source file.
This commit is contained in:
Darryl L. Miles
2025-10-03 23:42:55 +01:00
parent ed7c18b873
commit bb51ae3deb
2 changed files with 19 additions and 14 deletions
+2 -2
View File
@@ -1384,7 +1384,7 @@ if test $usingTcl ; then
AC_DEFINE(THREE_D)
gr_dflags="$gr_dflags -DOGL"
gr_libs="$gr_libs -lGL ${use_libglu} ${use_libxi} ${use_libxmu} ${use_libxext} -lm"
gr_srcs="$gr_srcs \${TOGL_SRCS}"
gr_srcs="$gr_srcs \${TOGL_GL_SRCS} \${TOGL_GLU_SRCS} \${THREE_D_GL_SRCS}"
if ! test $usingX11 ; then
usingX11=1
gr_dflags="$gr_dflags -DXLIB"
@@ -1411,7 +1411,7 @@ else
if test $usingOGL ; then
gr_dflags="$gr_dflags -DOGL"
gr_libs="$gr_libs -lGL ${use_libglu} ${use_libxi} ${use_libxmu} ${use_libxext} -lm"
gr_srcs="$gr_srcs \${OGL_SRCS}"
gr_srcs="$gr_srcs \${OGL_GL_SRCS} \${OGL_GLU_SRCS}"
if ! test $usingX11 ; then
usingX11=1
gr_libs="$gr_libs -lX11"