diff options
Diffstat (limited to 'libxrdp')
-rw-r--r-- | libxrdp/Makefile | 44 | ||||
-rw-r--r-- | libxrdp/Makefile.osx | 48 | ||||
-rwxr-xr-x | libxrdp/makefile_win32 | 42 |
3 files changed, 0 insertions, 134 deletions
diff --git a/libxrdp/Makefile b/libxrdp/Makefile deleted file mode 100644 index 07647eba..00000000 --- a/libxrdp/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# libxrdp makefile - -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 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\" \ - -DXRDP_KEY_FILE=\"$(CFGDIR)/rsakeys.ini\" - -CFLAGS = -Wall -O2 -I../common -fPIC $(DEFINES) -#CFLAGS += -DXRDP_DEBUG -C_OS_FLAGS = $(CFLAGS) -c -LDFLAGS = -shared -LIBS = -ldl -LIBS += -lcrypto -CC = gcc - -all: libxrdp.so - -static: $(LIBXRDPOBJ) - $(AR) rvu libxrdp.a $(LIBXRDPOBJ) - ranlib libxrdp.a - -libxrdp.so: $(LIBXRDPOBJ) - $(CC) $(LDFLAGS) -o libxrdp.so $(LIBXRDPOBJ) $(LIBS) - -clean: - rm -f $(LIBXRDPOBJ) libxrdp.a libxrdp.so - -install: - install libxrdp.so $(LIBDIR)/libxrdp.so - -file.o: ../common/file.c - $(CC) $(C_OS_FLAGS) ../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 diff --git a/libxrdp/Makefile.osx b/libxrdp/Makefile.osx deleted file mode 100644 index 68691baf..00000000 --- a/libxrdp/Makefile.osx +++ /dev/null @@ -1,48 +0,0 @@ -# libxrdp makefile -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 xrdp_channel.o \ - os_calls.o ssl_calls.o file.o - -DESTDIR = /usr/local/xrdp -CFGDIR = /etc/xrdp -PIDDIR = /var/run -MANDIR = /usr/local/man -DOCDIR = /usr/doc/xrdp - -DEFINES = -DXRDP_CFG_FILE=\"$(CFGDIR)/xrdp.ini\" \ - -DXRDP_KEY_FILE=\"$(CFGDIR)/rsakeys.ini\" - -LIBXRDP = libxrdp.dylib - -CFLAGS = -Wall -O2 -I../common -fPIC $(DEFINES) -#CFLAGS += -DXRDP_DEBUG -C_OS_FLAGS = $(CFLAGS) -c -LDFLAGS = -dynamiclib -Wl,-flat_namespace -Wl,-undefined -Wl,suppress -LIBS = -lcrypto -CC = gcc - -all: $(LIBXRDP) - -static: $(LIBXRDPOBJ) - $(AR) rvu libxrdp.a $(LIBXRDPOBJ) - ranlib libxrdp.a - -$(LIBXRDP): $(LIBXRDPOBJ) - $(CC) $(LDFLAGS) -o $(LIBXRDP) $(LIBXRDPOBJ) $(LIBS) - -clean: - rm -f $(LIBXRDPOBJ) libxrdp.a $(LIBXRDP) - -install: - install $(LIBXRDP) $(DESTDIR)/$(LIBXRDP) - -file.o: ../common/file.c - $(CC) $(C_OS_FLAGS) ../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 diff --git a/libxrdp/makefile_win32 b/libxrdp/makefile_win32 deleted file mode 100755 index 93a44069..00000000 --- a/libxrdp/makefile_win32 +++ /dev/null @@ -1,42 +0,0 @@ -# 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 xrdp_channel.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 - |