rdesktop/uiports/xxxrdesktopbuild.sh

29 lines
768 B
Bash
Raw Normal View History

#!/bin/sh
# dumby script
rm xxxrdesktop
rm *.o
cc="gcc"
cflags="-DWITH_OPENSSL -DL_ENDIAN -O2 -Wall"
lflags="-lcrypto"
# rdesktop core files
$cc $cflags -c ../tcp.c -o tcp.o
$cc $cflags -c ../iso.c -o iso.o
$cc $cflags -c ../mcs.c -o mcs.o
$cc $cflags -c ../secure.c -o secure.o
$cc $cflags -c ../rdp.c -o rdp.o
$cc $cflags -c ../rdp5.c -o rdp5.o
$cc $cflags -c ../orders.c -o orders.o
$cc $cflags -c ../cache.c -o cache.o
$cc $cflags -c ../mppc.c -o mppc.o
$cc $cflags -c ../licence.c -o licence.o
$cc $cflags -c ../bitmap.c -o bitmap.o
$cc $cflags -c ../channels.c -o channels.o
# dumby ui file
$cc $cflags -c xxxwin.c -o xxxwin.o
$cc $lflags -o xxxrdesktop xxxwin.o tcp.o iso.o mcs.o secure.o rdp.o rdp5.o orders.o cache.o mppc.o licence.o bitmap.o channels.o