30 lines
752 B
Plaintext
30 lines
752 B
Plaintext
|
|
# makefile
|
|
# directfb
|
|
|
|
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
|