From 73ac9f759451865364e11fc1955ff565f2bf2fb5 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Fri, 7 Jul 2006 03:04:46 +0000 Subject: [PATCH] directfb --- uirdesktop/makefile_dfb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/uirdesktop/makefile_dfb b/uirdesktop/makefile_dfb index 18dadb43..e6ceec48 100644 --- a/uirdesktop/makefile_dfb +++ b/uirdesktop/makefile_dfb @@ -1,4 +1,28 @@ # makefile +# directfb +CC = mipsel-linux-gnu-gcc +OBJS = tcp.o iso.o mcs.o secure.o rdp.o rdp5.o orders.o \ +bitmap.o cache.o mppc.o pstcache.o channels.o licence.o \ +ssl_calls.o +UIOBJS = uimain.o bsops.o dfb.o + +#CFLAGS = -O2 -mips3 -Wall -I../../../staging/usr/local/include/directfb +#CFLAGS = -O3 -Wall -I../../../staging/usr/local/include/directfb +CFLAGS = -O2 -Wall -I../../../staging/usr/local/include/directfb +# -DWITH_DEBUG + +LDFLAGS = -L../../usr/local/lib -L../../usr/lib -L../../lib + +all: rd + +rd: $(OBJS) $(UIOBJS) + $(CC) -o dfbrdesktop $(LDFLAGS) $(OBJS) $(UIOBJS) -ldirectfb -lfusion -ldirect -lz + +clean: + rm -f $(OBJS) $(UIOBJS) dfbrdesktop librdesktop.so + +librdesktop.so: $(OBJS) $(UIOBJS) + $(CC) $(LDFLAGS) -shared -o librdesktop.so $(OBJS) $(UIOBJS) -ldirectfb -lfusion -ldirect -lz