aboutsummaryrefslogtreecommitdiffstats
path: root/win/vncviewer
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-10 08:28:37 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-10 08:28:37 +0000
commitf5206181a9a099cc1df783c2a24a4d25fb498454 (patch)
treedf6896dde27849e7d4b981f9057372a577be750e /win/vncviewer
parentb22dbef3c3c4ec299ca5eb7a3f0ad4c59f326ce3 (diff)
downloadtigervnc-f5206181a9a099cc1df783c2a24a4d25fb498454.tar.gz
tigervnc-f5206181a9a099cc1df783c2a24a4d25fb498454.zip
MinGW: Compile resource file and link with it.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3346 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/vncviewer')
-rw-r--r--win/vncviewer/Makefile.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/win/vncviewer/Makefile.am b/win/vncviewer/Makefile.am
index ff6a6d69..6a035931 100644
--- a/win/vncviewer/Makefile.am
+++ b/win/vncviewer/Makefile.am
@@ -42,9 +42,14 @@ vncviewer_SOURCES = $(HDRS) \
vncviewer_CPPFLAGS = -I$(COMMON_DIR) -I$(top_srcdir)
-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 -lws2_32 -lgdi32 -luser32 -lcomctl32 -lversion -lcomdlg32
+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 \
+ resources.o -lws2_32 -lgdi32 -luser32 -lcomctl32 -lversion -lcomdlg32
vncviewer_LDFLAGS = -I$(top_srcdir)/win
-
+resources.o: vncviewer.rc
+ i386-mingw32msvc-windres $^ -o $@