diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | hw/xwin/Makefile.am | 14 | ||||
-rw-r--r-- | hw/xwin/winclipboard/Makefile.am | 15 | ||||
-rw-r--r-- | hw/xwin/winclipboard/textconv.c (renamed from hw/xwin/winclipboardtextconv.c) | 0 | ||||
-rw-r--r-- | hw/xwin/winclipboard/thread.c (renamed from hw/xwin/winclipboardthread.c) | 2 | ||||
-rw-r--r-- | hw/xwin/winclipboard/winclipboard.h (renamed from hw/xwin/winclipboard.h) | 5 | ||||
-rw-r--r-- | hw/xwin/winclipboard/wndproc.c (renamed from hw/xwin/winclipboardwndproc.c) | 0 | ||||
-rw-r--r-- | hw/xwin/winclipboard/xevents.c (renamed from hw/xwin/winclipboardxevents.c) | 0 | ||||
-rw-r--r-- | hw/xwin/winclipboardinit.c | 2 |
9 files changed, 27 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac index 9d58a3ff5..1662eaf4b 100644 --- a/configure.ac +++ b/configure.ac @@ -2605,6 +2605,7 @@ hw/xwin/Makefile hw/xwin/glx/Makefile hw/xwin/man/Makefile hw/xwin/wmutil/Makefile +hw/xwin/winclipboard/Makefile hw/xquartz/Makefile hw/xquartz/GL/Makefile hw/xquartz/bundle/Makefile diff --git a/hw/xwin/Makefile.am b/hw/xwin/Makefile.am index df0b50ff6..9102cd5e7 100644 --- a/hw/xwin/Makefile.am +++ b/hw/xwin/Makefile.am @@ -3,12 +3,9 @@ bin_PROGRAMS = XWin if XWIN_CLIPBOARD SRCS_CLIPBOARD = \ winclipboardinit.c \ - winclipboardtextconv.c \ - winclipboardthread.c \ - winclipboardwndproc.c \ - winclipboardwrappers.c \ - winclipboardxevents.c + winclipboardwrappers.c DEFS_CLIPBOARD = -DXWIN_CLIPBOARD +CLIPBOARD_LIBS = $(top_builddir)/hw/xwin/winclipboard/libXWinclipboard.la endif if XWIN_GLX_WINDOWS @@ -111,7 +108,6 @@ SRCS = InitInput.c \ winwindow.c \ winwndproc.c \ ddraw.h \ - winclipboard.h \ winconfig.h \ win.h \ winglobals.h \ @@ -162,6 +158,7 @@ XWin_DEPENDENCIES = \ $(MULTIWINDOWEXTWM_LIBS) \ $(XWIN_GLX_LIBS) \ $(XWIN_LIBS) \ + $(CLIPBOARD_LIBS) \ $(XSERVER_LIBS) XWin_LDADD = \ @@ -169,6 +166,7 @@ XWin_LDADD = \ $(MULTIWINDOWEXTWM_LIBS) \ $(XWIN_GLX_LIBS) \ $(XWIN_LIBS) \ + $(CLIPBOARD_LIBS) \ $(XSERVER_LIBS) \ $(XWIN_GLX_SYS_LIBS) \ $(XSERVER_SYS_LIBS) \ @@ -211,5 +209,5 @@ EXTRA_DIST = \ relink: $(AM_V_at)rm -f XWin$(EXEEXT) && $(MAKE) XWin$(EXEEXT) -SUBDIRS = man $(GLX_DIR) wmutil . -DIST_SUBDIRS = man glx wmutil . +SUBDIRS = man $(GLX_DIR) wmutil winclipboard . +DIST_SUBDIRS = man glx wmutil winclipboard . diff --git a/hw/xwin/winclipboard/Makefile.am b/hw/xwin/winclipboard/Makefile.am new file mode 100644 index 000000000..91cc11607 --- /dev/null +++ b/hw/xwin/winclipboard/Makefile.am @@ -0,0 +1,15 @@ +noinst_LTLIBRARIES = libXWinclipboard.la + +libXWinclipboard_la_SOURCES = \ + winclipboard.h \ + textconv.c \ + thread.c \ + wndproc.c \ + xevents.c + +libXWinclipboard_la_CFLAGS = -DHAVE_XWIN_CONFIG_H \ + $(DIX_CFLAGS) \ + $(XWINMODULES_CFLAGS) \ + -I$(top_srcdir) -I$(top_srcdir)/miext/rootless -I$(srcdir)/.. + +libXWinclipboard_la_LDFLAGS = -static -no-undefined diff --git a/hw/xwin/winclipboardtextconv.c b/hw/xwin/winclipboard/textconv.c index 7b8eb9826..7b8eb9826 100644 --- a/hw/xwin/winclipboardtextconv.c +++ b/hw/xwin/winclipboard/textconv.c diff --git a/hw/xwin/winclipboardthread.c b/hw/xwin/winclipboard/thread.c index 02c9ec462..5678d77ed 100644 --- a/hw/xwin/winclipboardthread.c +++ b/hw/xwin/winclipboard/thread.c @@ -253,7 +253,7 @@ winClipboardProc(char *szDisplay) } /* Pre-flush X events */ - /* + /* * NOTE: Apparently you'll freeze if you don't do this, * because there may be events in local data structures * already. diff --git a/hw/xwin/winclipboard.h b/hw/xwin/winclipboard/winclipboard.h index f12368de8..bb5dccb60 100644 --- a/hw/xwin/winclipboard.h +++ b/hw/xwin/winclipboard/winclipboard.h @@ -1,5 +1,3 @@ -#ifndef _WINCLIPBOARD_H_ -#define _WINCLIPBOARD_H_ /* *Copyright (C) 2003-2004 Harold L Hunt II All Rights Reserved. * @@ -30,6 +28,9 @@ * Authors: Harold L Hunt II */ +#ifndef _WINCLIPBOARD_H_ +#define _WINCLIPBOARD_H_ + /* Standard library headers */ #include <assert.h> #include <stdio.h> diff --git a/hw/xwin/winclipboardwndproc.c b/hw/xwin/winclipboard/wndproc.c index c6826bce9..c6826bce9 100644 --- a/hw/xwin/winclipboardwndproc.c +++ b/hw/xwin/winclipboard/wndproc.c diff --git a/hw/xwin/winclipboardxevents.c b/hw/xwin/winclipboard/xevents.c index 05b26735a..05b26735a 100644 --- a/hw/xwin/winclipboardxevents.c +++ b/hw/xwin/winclipboard/xevents.c diff --git a/hw/xwin/winclipboardinit.c b/hw/xwin/winclipboardinit.c index d16c121c6..2e400f65b 100644 --- a/hw/xwin/winclipboardinit.c +++ b/hw/xwin/winclipboardinit.c @@ -36,7 +36,7 @@ #include <pthread.h> #include "os.h" -#include "winclipboard.h" +#include "winclipboard/winclipboard.h" #include "windisplay.h" #define WIN_CLIPBOARD_RETRIES 40 |