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.
|
|
|
|
|
|
|
# makefile
|
|
|
|
# directfb
|
|
|
|
|
|
|
|
# these are for phillips stb compiling
|
|
|
|
#-mips3
|
|
|
|
INCDIR=/home/j/stb/stb810-SP2/build/staging/usr/local/include/directfb
|
|
|
|
ROOTFS=/home/j/stb/stb810-SP2/build/rootfs
|
|
|
|
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 -Wall -I$(INCDIR)
|
|
|
|
# -DWITH_DEBUG
|
|
|
|
|
|
|
|
LDFLAGS = -L$(ROOTFS)/usr/local/lib -L$(ROOTFS)/usr/lib -L$(ROOTFS)/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
|