]> source.dussan.org Git - tigervnc.git/commitdiff
MinGW: Compile resource file and link with it.
authorPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 08:28:37 +0000 (08:28 +0000)
committerPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 08:28:37 +0000 (08:28 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3346 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/vncviewer/Makefile.am

index ff6a6d693d2c7015a2e2a6fdf2e375f86b3524ab..6a0359318d91a268ce42f72f044070fc36278d51 100644 (file)
@@ -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 $@