Commit 7cbb340a authored by Alexandre Julliard's avatar Alexandre Julliard

Don't build d3d8 if we don't have OpenGL support.

parent a56a16ee
...@@ -8,7 +8,7 @@ VPATH = @srcdir@ ...@@ -8,7 +8,7 @@ VPATH = @srcdir@
# special configure-dependent targets # special configure-dependent targets
GLU32FILES = glu32 GLU32FILES = glu32
OPENGLFILES = opengl32 OPENGLFILES = d3d8 opengl32
XFILES = ddraw x11drv XFILES = ddraw x11drv
EXTRADIRS = @GLU32FILES@ @OPENGLFILES@ @XFILES@ EXTRADIRS = @GLU32FILES@ @OPENGLFILES@ @XFILES@
...@@ -23,7 +23,6 @@ BASEDIRS = \ ...@@ -23,7 +23,6 @@ BASEDIRS = \
commdlg \ commdlg \
crtdll \ crtdll \
crypt32 \ crypt32 \
d3d8 \
dciman32 \ dciman32 \
devenum \ devenum \
dinput \ dinput \
...@@ -110,6 +109,7 @@ BASEDIRS = \ ...@@ -110,6 +109,7 @@ BASEDIRS = \
SUBDIRS = \ SUBDIRS = \
$(BASEDIRS) \ $(BASEDIRS) \
d3d8 \
ddraw \ ddraw \
glu32 \ glu32 \
opengl32 \ opengl32 \
...@@ -137,7 +137,6 @@ all: \ ...@@ -137,7 +137,6 @@ all: \
compobj.dll$(DLLEXT) \ compobj.dll$(DLLEXT) \
crtdll.dll$(DLLEXT) \ crtdll.dll$(DLLEXT) \
crypt32.dll$(DLLEXT) \ crypt32.dll$(DLLEXT) \
d3d8.dll$(DLLEXT) \
dciman32.dll$(DLLEXT) \ dciman32.dll$(DLLEXT) \
ddeml.dll$(DLLEXT) \ ddeml.dll$(DLLEXT) \
devenum.dll$(DLLEXT) \ devenum.dll$(DLLEXT) \
......
...@@ -35,6 +35,7 @@ my %special_dlls = ...@@ -35,6 +35,7 @@ my %special_dlls =
"ddraw" => "XFILES", "ddraw" => "XFILES",
"glu32" => "GLU32FILES", "glu32" => "GLU32FILES",
"opengl32" => "OPENGLFILES", "opengl32" => "OPENGLFILES",
"d3d8" => "OPENGLFILES",
"x11drv" => "XFILES" "x11drv" => "XFILES"
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment