From 154bf097e6d7df311e0a7e38ef17f9ba9b17c78a Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Thu, 3 Nov 2005 03:33:23 +0000 Subject: [PATCH] rdp module --- Makefile | 3 +++ instfiles/xrdp.ini | 1 + rdp/Makefile | 7 +++++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 180be7fa..e5ffd8ed 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,14 @@ world: make -C vnc make -C libxrdp make -C xrdp + make -C rdp make -C sesman clean: make -C vnc clean make -C libxrdp clean make -C xrdp clean + make -C rdp clean make -C sesman clean install: @@ -33,3 +35,4 @@ install: install instfiles/xrdpstart.sh $(DESTDIR)/xrdpstart.sh install instfiles/pam.d/sesman /etc/pam.d/sesman install xrdp/rsakeys.ini $(DESTDIR)/rsakeys.ini + install rdp/librdp.so $(DESTDIR)/librdp.so diff --git a/instfiles/xrdp.ini b/instfiles/xrdp.ini index cdb4b399..8c664951 100644 --- a/instfiles/xrdp.ini +++ b/instfiles/xrdp.ini @@ -31,3 +31,4 @@ password=ask name=rdp-any lib=./librdp.so ip=ask +port=ask3389 diff --git a/rdp/Makefile b/rdp/Makefile index 28e5eb4d..c4f8ba4d 100644 --- a/rdp/Makefile +++ b/rdp/Makefile @@ -1,11 +1,11 @@ -RDPOBJ = os_calls.o rdp.o rdp_tcp.o rdp_iso.o rdp_mcs.o rdp_sec.o \ +RDPOBJ = ssl_calls.o os_calls.o rdp.o rdp_tcp.o rdp_iso.o rdp_mcs.o rdp_sec.o \ rdp_orders.o rdp_bitmap.o rdp_rdp.o rdp_lic.o CFLAGS = -Wall -O2 -I../common -fPIC #CFLAGS += -DXRDP_DEBUG C_OS_FLAGS = $(CFLAGS) -c LDFLAGS = -shared -LIBS = -ldl +LIBS = -ldl -lcrypto CC = gcc all: rdp @@ -18,3 +18,6 @@ clean: os_calls.o: $(CC) $(C_OS_FLAGS) ../common/os_calls.c + +ssl_calls.o: + $(CC) $(C_OS_FLAGS) ../common/ssl_calls.c