2008-04-20 17:35:42 +02:00
|
|
|
bin_PROGRAMS = XWin
|
|
|
|
|
|
|
|
if XWIN_CLIPBOARD
|
|
|
|
SRCS_CLIPBOARD = \
|
|
|
|
winclipboardinit.c \
|
|
|
|
winclipboardtextconv.c \
|
|
|
|
winclipboardthread.c \
|
|
|
|
winclipboardunicode.c \
|
|
|
|
winclipboardwndproc.c \
|
|
|
|
winclipboardwrappers.c \
|
|
|
|
winclipboardxevents.c
|
|
|
|
DEFS_CLIPBOARD = -DXWIN_CLIPBOARD
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XWIN_GLX_WINDOWS
|
|
|
|
SRCS_GLX_WINDOWS = \
|
|
|
|
winpriv.c
|
|
|
|
DEFS_GLX_WINDOWS = -DXWIN_GLX_WINDOWS
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XWIN_MULTIWINDOW
|
|
|
|
SRCS_MULTIWINDOW = \
|
|
|
|
winmultiwindowshape.c \
|
|
|
|
winmultiwindowwindow.c \
|
|
|
|
winmultiwindowwm.c \
|
|
|
|
winmultiwindowwndproc.c
|
|
|
|
DEFS_MULTIWINDOW = -DXWIN_MULTIWINDOW
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XWIN_MULTIWINDOWEXTWM
|
|
|
|
SRCS_MULTIWINDOWEXTWM = \
|
|
|
|
winwin32rootless.c \
|
|
|
|
winwin32rootlesswindow.c \
|
|
|
|
winwin32rootlesswndproc.c \
|
|
|
|
winwindowswm.c
|
|
|
|
DEFS_MULTIWINDOWEXTWM = -DXWIN_MULTIWINDOWEXTWM
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XWIN_NATIVEGDI
|
|
|
|
SRCS_NATIVEGDI = \
|
|
|
|
winclip.c \
|
|
|
|
winfillsp.c \
|
|
|
|
winfont.c \
|
|
|
|
wingc.c \
|
|
|
|
wingetsp.c \
|
|
|
|
winnativegdi.c \
|
|
|
|
winpixmap.c \
|
|
|
|
winpolyline.c \
|
|
|
|
winrop.c \
|
|
|
|
winsetsp.c
|
|
|
|
DEFS_NATIVEGDI = -DXWIN_NATIVEGDI
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XWIN_PRIMARYFB
|
|
|
|
SRCS_PRIMARYFB = \
|
|
|
|
winpfbdd.c
|
|
|
|
DEFS_PRIMARYFB = -DXWIN_PRIMARYFB
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XWIN_RANDR
|
|
|
|
SRCS_RANDR = \
|
|
|
|
winrandr.c
|
|
|
|
DEFS_RANDR = -DXWIN_RANDR
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XWIN_XV
|
|
|
|
SRCS_XV = \
|
|
|
|
winvideo.c
|
|
|
|
DEFS_XV = -DXWIN_XV
|
|
|
|
endif
|
|
|
|
|
|
|
|
SRCS = InitInput.c \
|
|
|
|
InitOutput.c \
|
|
|
|
winallpriv.c \
|
|
|
|
winauth.c \
|
|
|
|
winblock.c \
|
|
|
|
wincmap.c \
|
|
|
|
winconfig.c \
|
|
|
|
wincreatewnd.c \
|
|
|
|
wincursor.c \
|
|
|
|
windialogs.c \
|
|
|
|
winengine.c \
|
|
|
|
winerror.c \
|
|
|
|
winglobals.c \
|
|
|
|
winkeybd.c \
|
|
|
|
winkeyhook.c \
|
|
|
|
winmisc.c \
|
|
|
|
winmouse.c \
|
|
|
|
winmsg.c \
|
|
|
|
winmultiwindowclass.c \
|
|
|
|
winmultiwindowicons.c \
|
|
|
|
winprefs.c \
|
|
|
|
winprefsyacc.y \
|
|
|
|
winprefslex.l \
|
|
|
|
winprocarg.c \
|
|
|
|
winregistry.c \
|
|
|
|
winscrinit.c \
|
|
|
|
winshaddd.c \
|
|
|
|
winshadddnl.c \
|
|
|
|
winshadgdi.c \
|
|
|
|
wintrayicon.c \
|
|
|
|
winvalargs.c \
|
|
|
|
winwakeup.c \
|
|
|
|
winwindow.c \
|
|
|
|
winwndproc.c \
|
|
|
|
ddraw.h \
|
|
|
|
winclipboard.h \
|
|
|
|
winconfig.h \
|
|
|
|
win.h \
|
|
|
|
winkeybd.h \
|
|
|
|
winkeymap.h \
|
|
|
|
winkeynames.h \
|
|
|
|
winlayouts.h \
|
|
|
|
winmessages.h \
|
|
|
|
winmsg.h \
|
|
|
|
winms.h \
|
|
|
|
winmultiwindowclass.h \
|
|
|
|
winprefs.h \
|
|
|
|
winpriv.h \
|
|
|
|
winresource.h \
|
|
|
|
winwindow.h \
|
2008-11-02 19:27:09 +01:00
|
|
|
XWin.rc \
|
2008-11-02 19:27:15 +01:00
|
|
|
$(top_srcdir)/Xext/dpmsstubs.c \
|
2008-11-02 19:27:09 +01:00
|
|
|
$(top_srcdir)/Xi/stubs.c \
|
2008-04-20 17:35:42 +02:00
|
|
|
$(top_srcdir)/mi/miinitext.c \
|
2008-11-02 19:27:09 +01:00
|
|
|
$(top_srcdir)/fb/fbcmap_mi.c \
|
2008-04-20 17:35:42 +02:00
|
|
|
$(SRCS_CLIPBOARD) \
|
|
|
|
$(SRCS_GLX_WINDOWS) \
|
|
|
|
$(SRCS_MULTIWINDOW) \
|
|
|
|
$(SRCS_MULTIWINDOWEXTWM) \
|
|
|
|
$(SRCS_NATIVEGDI) \
|
|
|
|
$(SRCS_PRIMARYFB) \
|
|
|
|
$(SRCS_RANDR) \
|
|
|
|
$(SRCS_XV)
|
|
|
|
|
|
|
|
DEFS = $(DEFS_CLIPBOARD) \
|
|
|
|
$(DEFS_GLX_WINDOWS) \
|
|
|
|
$(DEFS_MULTIWINDOW) \
|
|
|
|
$(DEFS_MULTIWINDOWEXTWM) \
|
|
|
|
$(DEFS_NATIVEGDI) \
|
|
|
|
$(DEFS_PRIMARYFB) \
|
|
|
|
$(DEFS_RANDR) \
|
|
|
|
$(DEFS_XV)
|
|
|
|
|
|
|
|
XWin_SOURCES = $(SRCS)
|
|
|
|
|
2008-11-02 19:27:09 +01:00
|
|
|
INCLUDES = -I$(top_srcdir)/miext/rootless
|
2008-04-20 17:35:42 +02:00
|
|
|
|
|
|
|
XWin_DEPENDENCIES = $(XWIN_LIBS)
|
2008-11-02 19:27:09 +01:00
|
|
|
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)\"
|
2008-04-20 17:35:42 +02:00
|
|
|
|
|
|
|
XWin_LDFLAGS = -mwindows -static
|
|
|
|
|
|
|
|
winprefsyacc.h: winprefsyacc.c
|
|
|
|
winprefslex.c: winprefslex.l winprefsyacc.c winprefsyacc.h
|
|
|
|
|
|
|
|
BUILT_SOURCES = winprefsyacc.h winprefsyacc.c winprefslex.c
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
AM_YFLAGS = -d
|
|
|
|
AM_LFLAGS = -i
|
|
|
|
AM_CFLAGS = -DHAVE_XWIN_CONFIG_H $(DIX_CFLAGS) \
|
2008-11-02 19:27:09 +01:00
|
|
|
$(XWINMODULES_CFLAGS) \
|
|
|
|
-DXFree86Server
|
2008-04-20 17:35:42 +02:00
|
|
|
|
|
|
|
dist_man1_MANS = XWin.man XWinrc.man
|
|
|
|
|
2008-05-21 18:34:07 +02:00
|
|
|
GLX_EXTRAS = \
|
2008-07-20 16:30:24 +02:00
|
|
|
glx/ChangeLog \
|
|
|
|
glx/glwindows.h \
|
|
|
|
glx/glwrap.c \
|
|
|
|
glx/indirect.c
|
2008-05-21 18:34:07 +02:00
|
|
|
|
2008-04-20 17:35:42 +02:00
|
|
|
EXTRA_DIST = \
|
2008-05-21 18:34:07 +02:00
|
|
|
$(GLX_EXTRAS) \
|
2008-04-20 17:35:42 +02:00
|
|
|
_usr_X11R6_lib_X11_system.XWinrc \
|
|
|
|
X-boxed.ico \
|
|
|
|
X.ico \
|
|
|
|
XWin.rc \
|
|
|
|
xlaunch/config.cc \
|
|
|
|
xlaunch/COPYING \
|
|
|
|
xlaunch/main.cc \
|
|
|
|
xlaunch/resources/dialog.rc \
|
|
|
|
xlaunch/resources/fullscreen.bmp \
|
|
|
|
xlaunch/resources/images.rc \
|
|
|
|
xlaunch/resources/multiwindow.bmp \
|
|
|
|
xlaunch/resources/nodecoration.bmp \
|
|
|
|
xlaunch/resources/resources.h \
|
|
|
|
xlaunch/resources/resources.rc \
|
|
|
|
xlaunch/resources/strings.rc \
|
|
|
|
xlaunch/resources/windowed.bmp \
|
|
|
|
xlaunch/window/dialog.cc \
|
|
|
|
xlaunch/window/dialog.h \
|
|
|
|
xlaunch/window/util.cc \
|
|
|
|
xlaunch/window/util.h \
|
|
|
|
xlaunch/window/window.cc \
|
|
|
|
xlaunch/window/window.h \
|
|
|
|
xlaunch/window/wizard.cc \
|
|
|
|
xlaunch/window/wizard.h
|
|
|
|
|
|
|
|
relink:
|
2008-11-02 19:27:09 +01:00
|
|
|
rm -f XWin$(EXEEXT) && $(MAKE) XWin$(EXEEXT)
|