Compile fix for --without-x.
This commit is contained in:
parent
a4ecb41e49
commit
2941a2126c
|
@ -84,12 +84,16 @@ LINTS = $(C_SRCS:.c=.ln)
|
||||||
|
|
||||||
# DLL list
|
# DLL list
|
||||||
|
|
||||||
|
X_DLLS = \
|
||||||
|
ddraw \
|
||||||
|
x11drv
|
||||||
|
|
||||||
DLLS = \
|
DLLS = \
|
||||||
|
@X_DLLS@ \
|
||||||
avifil32 \
|
avifil32 \
|
||||||
comctl32 \
|
comctl32 \
|
||||||
comdlg32 \
|
comdlg32 \
|
||||||
dciman32 \
|
dciman32 \
|
||||||
ddraw \
|
|
||||||
dinput \
|
dinput \
|
||||||
dplayx \
|
dplayx \
|
||||||
dsound \
|
dsound \
|
||||||
|
@ -138,8 +142,7 @@ DLLS = \
|
||||||
winmm \
|
winmm \
|
||||||
winspool.drv \
|
winspool.drv \
|
||||||
wnaspi32 \
|
wnaspi32 \
|
||||||
wsock32 \
|
wsock32
|
||||||
x11drv
|
|
||||||
|
|
||||||
# Implicit rules
|
# Implicit rules
|
||||||
|
|
||||||
|
|
|
@ -117,8 +117,10 @@ AC_CHECK_HEADERS(dlfcn.h,
|
||||||
LIBEXT="a"
|
LIBEXT="a"
|
||||||
)
|
)
|
||||||
AC_SUBST(XLIB)
|
AC_SUBST(XLIB)
|
||||||
AC_SUBST(X_SRCS)
|
AC_SUBST(X_DLLS)
|
||||||
X_SRCS=""
|
X_DLLS=""
|
||||||
|
AC_SUBST(XFILES)
|
||||||
|
XFILES=""
|
||||||
AC_SUBST(DGA_SRCS)
|
AC_SUBST(DGA_SRCS)
|
||||||
DGA_SRCS=""
|
DGA_SRCS=""
|
||||||
AC_SUBST(MESA_SRCS)
|
AC_SUBST(MESA_SRCS)
|
||||||
|
@ -247,7 +249,8 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CPPFLAGS="$ac_save_CPPFLAGS"
|
CPPFLAGS="$ac_save_CPPFLAGS"
|
||||||
X_SRCS='$(X_SRCS)'
|
X_DLLS='$(X_DLLS)'
|
||||||
|
XFILES='$(XFILES)'
|
||||||
else
|
else
|
||||||
XLIB=""
|
XLIB=""
|
||||||
X_CFLAGS=""
|
X_CFLAGS=""
|
||||||
|
|
|
@ -3,12 +3,16 @@ TOPOBJDIR = ..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
|
||||||
|
XFILES = \
|
||||||
|
ddraw/libddraw.@LIBEXT@ \
|
||||||
|
x11drv/libx11drv.@LIBEXT@
|
||||||
|
|
||||||
DLLFILES = \
|
DLLFILES = \
|
||||||
|
@XFILES@ \
|
||||||
avifil32/libavifil32.@LIBEXT@ \
|
avifil32/libavifil32.@LIBEXT@ \
|
||||||
comctl32/libcomctl32.@LIBEXT@ \
|
comctl32/libcomctl32.@LIBEXT@ \
|
||||||
commdlg/libcomdlg32.@LIBEXT@ \
|
commdlg/libcomdlg32.@LIBEXT@ \
|
||||||
dciman32/libdciman32.@LIBEXT@ \
|
dciman32/libdciman32.@LIBEXT@ \
|
||||||
ddraw/libddraw.@LIBEXT@ \
|
|
||||||
dinput/libdinput.@LIBEXT@ \
|
dinput/libdinput.@LIBEXT@ \
|
||||||
dplayx/libdplayx.@LIBEXT@ \
|
dplayx/libdplayx.@LIBEXT@ \
|
||||||
dsound/libdsound.@LIBEXT@ \
|
dsound/libdsound.@LIBEXT@ \
|
||||||
|
@ -57,8 +61,7 @@ DLLFILES = \
|
||||||
winmm/wavemap/libmsacm.drv.@LIBEXT@ \
|
winmm/wavemap/libmsacm.drv.@LIBEXT@ \
|
||||||
winmm/wineoss/libwineoss.drv.@LIBEXT@ \
|
winmm/wineoss/libwineoss.drv.@LIBEXT@ \
|
||||||
winsock/libwsock32.@LIBEXT@ \
|
winsock/libwsock32.@LIBEXT@ \
|
||||||
winspool/libwinspool.drv.@LIBEXT@ \
|
winspool/libwinspool.drv.@LIBEXT@
|
||||||
x11drv/libx11drv.@LIBEXT@
|
|
||||||
|
|
||||||
# extra names for dlls containing multiple spec files
|
# extra names for dlls containing multiple spec files
|
||||||
EXTRADLLNAMES = \
|
EXTRADLLNAMES = \
|
||||||
|
|
|
@ -26,7 +26,7 @@ DGA_SRCS = \
|
||||||
dsurface/dga.c \
|
dsurface/dga.c \
|
||||||
dga.c
|
dga.c
|
||||||
|
|
||||||
X_SRCS = \
|
XFILES = \
|
||||||
@DGA_SRCS@ \
|
@DGA_SRCS@ \
|
||||||
@MESA_SRCS@ \
|
@MESA_SRCS@ \
|
||||||
ddraw/x11.c \
|
ddraw/x11.c \
|
||||||
|
@ -35,7 +35,7 @@ X_SRCS = \
|
||||||
x11.c
|
x11.c
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
@X_SRCS@ \
|
@XFILES@ \
|
||||||
convert.c \
|
convert.c \
|
||||||
d3ddevice/main.c \
|
d3ddevice/main.c \
|
||||||
dclipper/main.c \
|
dclipper/main.c \
|
||||||
|
|
Loading…
Reference in New Issue