summaryrefslogtreecommitdiffstats
path: root/win/winvnc/Makefile.am
blob: da555fe3436838114ab7eab942a461eb24b720fd (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
bin_PROGRAMS = winvnc4

HDRS = AddNewClientDialog.h ControlPanel.h JavaViewer.h ManagedListener.h \
	QueryConnectDialog.h STrayIcon.h VNCServerService.h VNCServerWin32.h \
	resource.h

winvnc4_SOURCES = $(HDRS) buildTime.cxx ControlPanel.cxx JavaViewer.cxx \
	ManagedListener.cxx QueryConnectDialog.cxx STrayIcon.cxx \
	VNCServerService.cxx VNCServerWin32.cxx winvnc.cxx

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

winvnc4_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 \
	-lole32 -lcomctl32 -lversion

winvnc4_LDFLAGS = -mwindows

EXTRA_DIST = winvnc.rc winvnc.ico connected.ico icon_dis.ico connecte.ico \
	winvnc4.exe.manifest winvnc.bmp

resources.o: winvnc.rc
	$(WINDRES) $^ -o $@