xrdp/uirdesktop/makefile_dfb

29 lines
798 B
Plaintext
Raw Normal View History

2006-06-21 08:34:40 +04:00
# makefile
2006-07-07 07:04:46 +04:00
# directfb
2006-06-21 08:34:40 +04:00
2006-07-07 07:04:46 +04:00
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
2006-06-21 08:34:40 +04:00
2006-07-07 07:04:46 +04:00
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