blob: da8cf04f18f6f899f4390a03805a13218b11f101 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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
|