xrdp/uirdesktop/makefile_dfb

33 lines
800 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-15 19:52:53 +04:00
# these are for phillips stb compiling
#-mips3
2006-07-07 08:38:33 +04:00
INCDIR=/home/j/stb/stb810-SP2/build/staging/usr/local/include/directfb
ROOTFS=/home/j/stb/stb810-SP2/build/rootfs
2006-07-07 07:04:46 +04:00
CC = mipsel-linux-gnu-gcc
2006-07-15 19:52:53 +04:00
2006-07-07 07:04:46 +04:00
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
2006-07-15 19:52:53 +04:00
2006-07-07 08:38:33 +04:00
CFLAGS = -O2 -Wall -I$(INCDIR)
2006-07-07 07:04:46 +04:00
# -DWITH_DEBUG
2006-07-07 08:38:33 +04:00
LDFLAGS = -L$(ROOTFS)/usr/local/lib -L$(ROOTFS)/usr/lib -L$(ROOTFS)/lib
2006-07-07 07:04:46 +04:00
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