summaryrefslogtreecommitdiffstats
path: root/vnc/Makefile
diff options
context:
space:
mode:
authorilsimo <ilsimo>2007-03-25 12:18:44 +0000
committerilsimo <ilsimo>2007-03-25 12:18:44 +0000
commitb1eface57f4424638402cbde5051670cb8041d92 (patch)
treec02e5ca4541fa94dc5e161c2b1e7d733e4dc6968 /vnc/Makefile
parent831ef476b76959ed185fefeea552d01b51765771 (diff)
downloadxrdp-proprietary-b1eface57f4424638402cbde5051670cb8041d92.tar.gz
xrdp-proprietary-b1eface57f4424638402cbde5051670cb8041d92.zip
added use of libscp
Diffstat (limited to 'vnc/Makefile')
-rw-r--r--vnc/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/vnc/Makefile b/vnc/Makefile
index cff86210..7c1ed0a5 100644
--- a/vnc/Makefile
+++ b/vnc/Makefile
@@ -1,5 +1,7 @@
# libvnc makefile
-VNCOBJ = vnc.o os_calls.o d3des.o
+LIBSCPOBJ = libscp_v0.o tcp.o
+
+VNCOBJ = vnc.o os_calls.o d3des.o $(LIBSCPOBJ)
DESTDIR = /usr/local/xrdp
CFGDIR = /etc/xrdp
@@ -10,7 +12,7 @@ DOCDIR = /usr/doc/xrdp
DEFINES =
CFLAGS = -Wall -O2 -I../common -fPIC $(DEFINES)
-C_OS_FLAGS = $(CFLAGS) -c
+C_OS_FLAGS = $(CFLAGS) -c -g
LDFLAGS = -shared
LIBS = -ldl
CC = gcc
@@ -34,3 +36,9 @@ install:
installdeb:
install libvnc.so $(DESTDIRDEB)/usr/lib/xrdp/libvnc.so
+
+libscp_v0.o:
+ $(CC) $(C_OS_FLAGS) ../sesman/libscp_v0.c
+
+tcp.o:
+ $(CC) $(C_OS_FLAGS) -DLIBSCP_CLIENT ../sesman/tcp.c \ No newline at end of file