You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
# 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 = xrdp.obj xrdp_process.obj xrdp_listen.obj \
|
|
xrdp_bitmap.obj xrdp_wm.obj xrdp_painter.obj \
|
|
xrdp_region.obj xrdp_cache.obj xrdp_font.obj funcs.obj \
|
|
xrdp_login_wnd.obj xrdp_interface.obj \
|
|
list.obj \
|
|
file.obj \
|
|
os_calls.obj \
|
|
thread_calls.obj
|
|
|
|
CFLAGS = -w- -O2 -I../common -Ic:/borland/bcc55/include -Ic:/openssl/include -I../libxrdp
|
|
LDFLAGS = -Lc:/borland/bcc55/lib
|
|
|
|
xrdp: $(XRDPOBJ)
|
|
$(CC) $(LDFLAGS) libeay32.lib xrdp.lib $(XRDPOBJ)
|
|
|
|
all: lib xrdp
|
|
|
|
clean:
|
|
del $(XRDPOBJ) xrdp.exe
|
|
|
|
lib:
|
|
implib -a -w libeay32.lib c:/windows/system32/libeay32.dll
|
|
implib -w xrdp.lib ../libxrdp/xrdp.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
|
|
|
|
thread_calls.obj:
|
|
$(CC) $(CFLAGS) -c ../common/thread_calls.c
|
|
|