Move the building of -sgl into the block of OpenGL targets

This commit is contained in:
Jeff Teunissen 2000-10-26 18:22:57 +00:00
parent 75778143ee
commit 76b53d780f

View file

@ -1057,12 +1057,6 @@ if test "x$HAVE_SDL" = xyes -a "x$ENABLE_SDL" = xyes; then
TARGETS="$TARGETS qf-client-sdl\$(EXEEXT)" TARGETS="$TARGETS qf-client-sdl\$(EXEEXT)"
CL_TARGETS="$CL_TARGETS SDL" CL_TARGETS="$CL_TARGETS SDL"
fi fi
if test "x$HAVE_SGL" = xyes; then
if test "x$HAVE_GLX" = xyes -a "x$ENABLE_SGL" = xyes; then
TARGETS="$TARGETS qf-client-sgl\$(EXEEXT)"
CL_TARGETS="$CL_TARGETS SDL-GL"
fi
fi
if test "x$HAVE_SVGA" = xyes -a "x$ENABLE_SVGA" = xyes; then if test "x$HAVE_SVGA" = xyes -a "x$ENABLE_SVGA" = xyes; then
TARGETS="$TARGETS qf-client-svga\$(EXEEXT)" TARGETS="$TARGETS qf-client-svga\$(EXEEXT)"
CL_TARGETS="$CL_TARGETS SVGAlib" CL_TARGETS="$CL_TARGETS SVGAlib"
@ -1077,6 +1071,12 @@ if test "x$HAVE_X" = xyes; then
CL_TARGETS="$CL_TARGETS GLX" CL_TARGETS="$CL_TARGETS GLX"
fi fi
fi fi
if test "x$HAVE_SGL" = xyes; then
if test "x$HAVE_GLX" = xyes -a "x$ENABLE_SGL" = xyes; then
TARGETS="$TARGETS qf-client-sgl\$(EXEEXT)"
CL_TARGETS="$CL_TARGETS SDL-GL"
fi
fi
if test "x$HAVE_TDFXGL" = xyes -a "x$ENABLE_3DFX" = xyes; then if test "x$HAVE_TDFXGL" = xyes -a "x$ENABLE_3DFX" = xyes; then
TARGETS="$TARGETS qf-client-3dfx\$(EXEEXT)" TARGETS="$TARGETS qf-client-3dfx\$(EXEEXT)"
CL_TARGETS="$CL_TARGETS 3dfx" CL_TARGETS="$CL_TARGETS 3dfx"