summaryrefslogtreecommitdiffstats
path: root/vncterm/Makefile.am
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2009-10-02 14:44:10 +0200
committerJohannes Schindelin <johannes.schindelin@gmx.de>2009-10-02 16:54:38 +0200
commita92f7f46a675a3533a0a89b6fe2d509e43a2aa8f (patch)
treef411e78a3f33d32c1b09e89f7f707be6d4b77c61 /vncterm/Makefile.am
parent65b68e668284eb4aa18614db21cd8d393e37d0c0 (diff)
downloadlibtdevnc-a92f7f46a675a3533a0a89b6fe2d509e43a2aa8f.tar.gz
libtdevnc-a92f7f46a675a3533a0a89b6fe2d509e43a2aa8f.zip
mingw32 crosscompile fixes.
SOCKET is redefined in winsock2.h so #undef it where winsock2.h is included. The changes in rfbproto.c circumvent crosscompiler errors like 'S_IFMT' undeclared ...', the Makefile.am changes avoid building linux specific stuff for a win32 host target. Also added configure option to specify sdl-config. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'vncterm/Makefile.am')
-rw-r--r--vncterm/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/vncterm/Makefile.am b/vncterm/Makefile.am
index f5811a4..3ad36a3 100644
--- a/vncterm/Makefile.am
+++ b/vncterm/Makefile.am
@@ -7,9 +7,11 @@ noinst_HEADERS=VNConsole.h vga.h
LDADD=../libvncserver/libvncserver.la @WSOCKLIB@
if LINUX
+if ! MINGW
bin_PROGRAMS=LinuxVNC
LinuxVNC_SOURCES=LinuxVNC.c $(CONSOLE_SRCS)
endif
+endif
if ! MINGW
VNCOMMAND=VNCommand