summaryrefslogtreecommitdiffstats
path: root/libxrdp/Makefile
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-06-28 03:11:35 +0000
committerjsorg71 <jsorg71>2005-06-28 03:11:35 +0000
commit992dbfa7b3fa568ee480aa3fe3242084d33c518f (patch)
treec46af888c75e214fa2c1f18606c4d21ef83526e5 /libxrdp/Makefile
parent41df89c7f2da57650948967a78afa352a3dfc4b6 (diff)
downloadxrdp-proprietary-992dbfa7b3fa568ee480aa3fe3242084d33c518f.tar.gz
xrdp-proprietary-992dbfa7b3fa568ee480aa3fe3242084d33c518f.zip
moved a bunch of files around
Diffstat (limited to 'libxrdp/Makefile')
-rw-r--r--libxrdp/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/libxrdp/Makefile b/libxrdp/Makefile
new file mode 100644
index 00000000..e19b0c80
--- /dev/null
+++ b/libxrdp/Makefile
@@ -0,0 +1,25 @@
+
+LIBXRDPOBJ = libxrdp.o xrdp_tcp.o xrdp_iso.o xrdp_mcs.o \
+ xrdp_sec.o xrdp_rdp.o xrdp_orders.o \
+ xrdp_bitmap_compress.o \
+ ../common/os_calls.o \
+ ../common/ssl_calls.o
+
+CFLAGS = -Wall -O2 -I../common -fPIC
+LDFLAGS = -shared
+LIBS = -ldl -lcrypto
+CC = gcc
+
+all: libxrdp
+
+static: $(LIBXRDPOBJ)
+ $(AR) rvu libxrdp.a $(LIBXRDPOBJ)
+ ranlib libxrdp.a
+
+libxrdp: $(LIBXRDPOBJ)
+ $(CC) $(LDFLAGS) -o libxrdp.so $(LIBXRDPOBJ) $(LIBS)
+ strip libxrdp.so
+
+clean:
+ rm -f $(LIBXRDPOBJ) libxrdp.a libxrdp.so
+