summaryrefslogtreecommitdiffstats
path: root/win/vncviewer/Makefile.am
blob: d618738a78735c0d5059811c16c7880228927f5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
bin_PROGRAMS = vncviewer

HDRS = \
  CConn.h \
  CConnOptions.h \
  CConnThread.h \
  ConnectingDialog.h \
  ConnectionDialog.h \
  DesktopWindow.h \
  InfoDialog.h \
  ListenServer.h \
  ListenTrayIcon.h \
  MRU.h \
  OptionsDialog.h \
  resource.h \
  UserPasswdDialog.h \
  ViewerToolBar.h 

vncviewer_SOURCES = $(HDRS) \
  buildTime.cxx \
  CConn.cxx \
  CConnOptions.cxx \
  CConnThread.cxx \
  ConnectingDialog.cxx \
  ConnectionDialog.cxx \
  DesktopWindow.cxx \
  InfoDialog.cxx \
  OptionsDialog.cxx \
  UserPasswdDialog.cxx \
  ViewerToolBar.cxx \
  vncviewer.cxx

vncviewer_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/win

vncviewer_LDADD = $(top_builddir)/common/rfb/librfb.la \
    $(top_builddir)/win/rfb_win32/librfb_win32.la \
    $(top_builddir)/common/Xregion/libXregion.la \
    $(top_builddir)/common/network/libnetwork.la \
    $(top_builddir)/common/rdr/librdr.la \
    resources.o -lws2_32 -lgdi32 -luser32 -lcomctl32 -lversion -lcomdlg32

vncviewer_LDFLAGS = -I$(top_srcdir)/win -mwindows

EXTRA_DIST = vncviewer.rc vncviewer.ico cursor1.cur vncviewer.exe.manifest \
	vncviewer.exe.manifest64 vncviewer.bmp toolbar.bmp CMakeLists.txt

resources.o: vncviewer.rc
	$(WINDRES) -I$(top_builddir)/win $^ -o $@