summaryrefslogtreecommitdiffstats
path: root/libxrdp
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2008-05-02 23:41:31 +0000
committerjsorg71 <jsorg71>2008-05-02 23:41:31 +0000
commitd245b7d05b9184022bb5155cbf5c271e15002e3e (patch)
treec6e4f2c6e31968f394f762b74917359daf83cae1 /libxrdp
parent97dfb2c19b2afed66f70e09ef75354bd7803a29e (diff)
downloadxrdp-proprietary-d245b7d05b9184022bb5155cbf5c271e15002e3e.tar.gz
xrdp-proprietary-d245b7d05b9184022bb5155cbf5c271e15002e3e.zip
fix for target and added CFGDIR
Diffstat (limited to 'libxrdp')
-rw-r--r--libxrdp/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/libxrdp/Makefile b/libxrdp/Makefile
index b8b1f3d3..07647eba 100644
--- a/libxrdp/Makefile
+++ b/libxrdp/Makefile
@@ -5,6 +5,7 @@ LIBXRDPOBJ = libxrdp.o xrdp_tcp.o xrdp_iso.o xrdp_mcs.o \
xrdp_bitmap_compress.o xrdp_channel.o \
os_calls.o ssl_calls.o file.o
+CFGDIR = /etc/xrdp
LIBDIR = /usr/local/lib/xrdp
DEFINES = -DXRDP_CFG_FILE=\"$(CFGDIR)/xrdp.ini\" \
@@ -18,13 +19,13 @@ LIBS = -ldl
LIBS += -lcrypto
CC = gcc
-all: libxrdp
+all: libxrdp.so
static: $(LIBXRDPOBJ)
$(AR) rvu libxrdp.a $(LIBXRDPOBJ)
ranlib libxrdp.a
-libxrdp: $(LIBXRDPOBJ)
+libxrdp.so: $(LIBXRDPOBJ)
$(CC) $(LDFLAGS) -o libxrdp.so $(LIBXRDPOBJ) $(LIBS)
clean:
@@ -39,6 +40,5 @@ file.o: ../common/file.c
os_calls.o: ../common/os_calls.c
$(CC) $(C_OS_FLAGS) ../common/os_calls.c
-
ssl_calls.o: ../common/ssl_calls.c
$(CC) $(C_OS_FLAGS) ../common/ssl_calls.c