summaryrefslogtreecommitdiffstats
path: root/xrdp/makefile_lib
diff options
context:
space:
mode:
Diffstat (limited to 'xrdp/makefile_lib')
-rw-r--r--xrdp/makefile_lib21
1 files changed, 21 insertions, 0 deletions
diff --git a/xrdp/makefile_lib b/xrdp/makefile_lib
new file mode 100644
index 00000000..77ae095e
--- /dev/null
+++ b/xrdp/makefile_lib
@@ -0,0 +1,21 @@
+
+XRDPOBJ = ../common/os_calls.o \
+ xrdp_tcp.o xrdp_iso.o xrdp_mcs.o xrdp_sec.o \
+ xrdp_rdp.o xrdp_process.o xrdp_orders.o \
+ xrdp_bitmap.o xrdp_wm.o xrdp_painter.o xrdp_list.o \
+ xrdp_region.o xrdp_cache.o xrdp_font.o funcs.o \
+ xrdp_file.o xrdp_bitmap_compress.o \
+ xrdp_interface.o
+
+CFLAGS = -Wall -O2 -I../common -DXRDP_LIB
+LDFLAGS = -L /usr/gnu/lib -shared
+LIBS = -lcrypto
+CC = gcc
+
+all: xrdp
+
+xrdp: $(XRDPOBJ)
+ $(CC) $(LDFLAGS) -o libxrdp.so $(XRDPOBJ) $(LIBS)
+
+clean:
+ rm -f $(XRDPOBJ) xrdp