summaryrefslogtreecommitdiffstats
path: root/libxrdp/makefile_win32
diff options
context:
space:
mode:
Diffstat (limited to 'libxrdp/makefile_win32')
-rwxr-xr-xlibxrdp/makefile_win3242
1 files changed, 42 insertions, 0 deletions
diff --git a/libxrdp/makefile_win32 b/libxrdp/makefile_win32
new file mode 100755
index 00000000..4ab297ef
--- /dev/null
+++ b/libxrdp/makefile_win32
@@ -0,0 +1,42 @@
+# borland windows makefile
+#
+# this assumes openssl and borland free command line tools are installed
+# this assumes c:\windows is windows directory
+#
+# run 'set PATH=c:\borland\bcc55\bin' and run 'make -f makefile_win32 all'
+#
+
+XRDPOBJ = libxrdp.obj xrdp_tcp.obj xrdp_iso.obj xrdp_mcs.obj \
+ xrdp_sec.obj xrdp_rdp.obj xrdp_orders.obj \
+ xrdp_bitmap_compress.obj \
+ list.obj \
+ file.obj \
+ os_calls.obj \
+ ssl_calls.obj
+
+CFLAGS = -w- -O2 -I../common -Ic:/borland/bcc55/include -Ic:/openssl/include
+LDFLAGS = -Lc:/borland/bcc55/lib
+
+xrdp: $(XRDPOBJ)
+ $(CC) $(LDFLAGS) -WD -exrdp.dll libeay32.lib $(XRDPOBJ)
+
+all: lib xrdp
+
+clean:
+ del $(XRDPOBJ) xrdp.dll
+
+lib:
+ implib -a -w libeay32.lib c:/windows/system32/libeay32.dll
+
+list.obj:
+ $(CC) $(CFLAGS) -c ../common/list.c
+
+file.obj:
+ $(CC) $(CFLAGS) -c ../common/file.c
+
+os_calls.obj:
+ $(CC) $(CFLAGS) -c ../common/os_calls.c
+
+ssl_calls.obj:
+ $(CC) $(CFLAGS) -c ../common/ssl_calls.c
+