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.
xrdp-proprietary/uirdesktop/makefile_dfb

33 lines
800 B

19 years ago
# makefile
19 years ago
# directfb
19 years ago
19 years ago
# 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
19 years ago
CC = mipsel-linux-gnu-gcc
19 years ago
19 years ago
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
19 years ago
19 years ago
UIOBJS = uimain.o bsops.o dfb.o
19 years ago
CFLAGS = -O2 -Wall -I$(INCDIR)
19 years ago
# -DWITH_DEBUG
LDFLAGS = -L$(ROOTFS)/usr/local/lib -L$(ROOTFS)/usr/lib -L$(ROOTFS)/lib
19 years ago
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