Commit Graph

11 Commits (488ad8a60969222eb0d417955820bac00982abb5)

Author SHA1 Message Date
Christian Beier a92f7f46a6 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>
16 years ago
dscho 3d2eab575e clean up build flags
The flag handling (both compiler options and include paths) are a mess at
the moment.  There is no point in forcing "-O2 -g" when these are already
the defaults, and if someone changes the defaults, chances are good they
don't want you clobbering their choices.

The -Wall flag should be handled in configure and thrown into CFLAGS once
rather than every Makefile.am.  Plus, this way we can control which
compilers the flag actually gets used with.

Finally, the INCLUDES variable is for -I paths, not AM_CFLAGS.  Nor should
it contain -I. as this is already in the default includes setup.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
dscho ca805667e6 Build shared libraries per default
Thanks to Guillaume Rousse, we now use libtool to build shared libraries.
18 years ago
runge 347c4a9847 fix some build issues WRT ultravnc code. 19 years ago
dscho 658b65ad0c support MinGW32! 21 years ago
dscho 876868553d move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
dscho bdc365a09c inherit CFLAGS 21 years ago
dscho 98b9663e29 the correct way to include rfb.h is now "#include <rfb/rfb.h>" 22 years ago
dscho 73d943b394 fixed dependecy to libvncserver.a; if the lib is newer, the programs are relinked 22 years ago
dscho 0552ea2e6e support for OS X is better now 22 years ago
dscho 23f45bc764 included vncterm 22 years ago