mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-11 23:43:06 +00:00
Cygwin/X: build machinery fixes
The Cygwin/X build has been broken for a long time, probably since modular X This patch fixes up configure/makefile and some general build issues (#18568) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
7aa29b9d66
commit
6e85a8304b
7 changed files with 29 additions and 30 deletions
|
|
@ -119,8 +119,10 @@ SRCS = InitInput.c \
|
|||
winpriv.h \
|
||||
winresource.h \
|
||||
winwindow.h \
|
||||
XWin.rc \
|
||||
$(top_srcdir)/Xi/stubs.c \
|
||||
$(top_srcdir)/mi/miinitext.c \
|
||||
$(top_srcdir)/fb/fbcmap.c \
|
||||
$(top_srcdir)/fb/fbcmap_mi.c \
|
||||
$(SRCS_CLIPBOARD) \
|
||||
$(SRCS_GLX_WINDOWS) \
|
||||
$(SRCS_MULTIWINDOW) \
|
||||
|
|
@ -141,15 +143,13 @@ SRCS = InitInput.c \
|
|||
|
||||
XWin_SOURCES = $(SRCS)
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/miext/rootless \
|
||||
-I$(top_srcdir)/miext/rootless/safeAlpha
|
||||
|
||||
XWIN_LIBS = \
|
||||
$(top_builddir)/fb/libfb.la \
|
||||
$(XSERVER_LIBS)
|
||||
INCLUDES = -I$(top_srcdir)/miext/rootless
|
||||
|
||||
XWin_DEPENDENCIES = $(XWIN_LIBS)
|
||||
XWin_LDADD = $(XWIN_LIBS) $(XSERVER_SYS_LIBS) $(XWIN_SYS_LIBS)
|
||||
XWin_LDADD = $(XWIN_LIBS) $(XSERVER_LIBS) $(XSERVER_SYS_LIBS) $(XWIN_SYS_LIBS)
|
||||
|
||||
.rc.o:
|
||||
$(WINDRES) --use-temp-file -i $< --input-format=rc -o $@ -O coff -DPROJECT_NAME=\"$(VENDOR_NAME_SHORT)\"
|
||||
|
||||
XWin_LDFLAGS = -mwindows -static
|
||||
|
||||
|
|
@ -162,7 +162,8 @@ CLEANFILES = $(BUILT_SOURCES)
|
|||
AM_YFLAGS = -d
|
||||
AM_LFLAGS = -i
|
||||
AM_CFLAGS = -DHAVE_XWIN_CONFIG_H $(DIX_CFLAGS) \
|
||||
$(XWINMODULES_CFLAGS)
|
||||
$(XWINMODULES_CFLAGS) \
|
||||
-DXFree86Server
|
||||
|
||||
dist_man1_MANS = XWin.man XWinrc.man
|
||||
|
||||
|
|
@ -200,4 +201,4 @@ EXTRA_DIST = \
|
|||
xlaunch/window/wizard.h
|
||||
|
||||
relink:
|
||||
rm -f XWin && $(MAKE) XWin
|
||||
rm -f XWin$(EXEEXT) && $(MAKE) XWin$(EXEEXT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue