CPPFLAGS="$CPPFLAGS -DWINVER=0x0500 -D_WIN32_IE=0x0500"
CXXFLAGS="$CXXFLAGS -mthreads"
BUILD_WIN=yes
+ AC_CHECK_TOOL([WINDRES], windres, [AC_MSG_ERROR(windres not found)])
;;
esac
AM_CONDITIONAL([BUILD_WIN], [test "x$BUILD_WIN" = xyes])
unix/vncviewer/Makefile
unix/vncconfig/Makefile
unix/vncpasswd/Makefile
+win/Makefile
+win/vncviewer/Makefile
+win/rfb_win32/Makefile
])
-SUBDIRS = ../common rfb_win32 vncviewer
+SUBDIRS = rfb_win32 vncviewer
+++ /dev/null
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ([2.57])
-AC_INIT([tigervnc], [0.0.91], [http://www.tigervnc.org])
-AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2])
-
-AC_SUBST([COMMON_DIR], ['$(top_srcdir)/../common'])
-
-AC_CONFIG_SUBDIRS([../common])
-
-dnl Checks for programs.
-AC_PROG_CC
-AC_PROG_CXX
-AC_PROG_LIBTOOL
-AC_CHECK_TOOL([WINDRES], windres, [AC_MSG_ERROR(windres not found)])
-AC_LANG([C++])
-
-if test "$GCC" = yes; then
- CFLAGS="$CFLAGS -Wall"
-fi
-if test "$GXX" = yes; then
- CXXFLAGS="$CXXFLAGS -Wall"
-fi
-
-CPPFLAGS="$CPPFLAGS -DWINVER=0x0500 -D_WIN32_IE=0x0500"
-CXXFLAGS="$CXXFLAGS -mthreads"
-
-AC_PATH_XTRA
-
-AC_OUTPUT(Makefile
- vncviewer/Makefile
- rfb_win32/Makefile
-)
WMShatter.cxx \
WMWindowCopyRect.cxx
-librfb_win32_la_CPPFLAGS = -I$(top_srcdir) -I$(COMMON_DIR)
+librfb_win32_la_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/win
librfb_win32_la_LIBADD =
ViewerToolBar.cxx \
vncviewer.cxx
-vncviewer_CPPFLAGS = -I$(COMMON_DIR) -I$(top_srcdir)
+vncviewer_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/win
-vncviewer_LDADD = $(COMMON_DIR)/rfb/librfb.la \
- $(top_srcdir)/rfb_win32/librfb_win32.la \
- $(COMMON_DIR)/Xregion/libXregion.la \
- $(COMMON_DIR)/network/libnetwork.la \
- $(COMMON_DIR)/rdr/librdr.la \
+vncviewer_LDADD = $(top_srcdir)/common/rfb/librfb.la \
+ $(top_srcdir)/win/rfb_win32/librfb_win32.la \
+ $(top_srcdir)/common/Xregion/libXregion.la \
+ $(top_srcdir)/common/network/libnetwork.la \
+ $(top_srcdir)/common/rdr/librdr.la \
resources.o -lws2_32 -lgdi32 -luser32 -lcomctl32 -lversion -lcomdlg32
vncviewer_LDFLAGS = -I$(top_srcdir)/win -mwindows