1 CC = /opt/crosstool/powerpc-405-linux-gnu/gcc-2.95.3-glibc-2.2.5/bin/powerpc-405-linux-gnu-g++
2 STRIP = /opt/crosstool/powerpc-405-linux-gnu/gcc-2.95.3-glibc-2.2.5/bin/powerpc-405-linux-gnu-strip
5 INCLUDES = -I../jpeg-6b
6 CXXFLAGS_DEV = -g -O0 -Wall -Woverloaded-virtual -Wshadow -Werror -DDEV -D_GNU_SOURCE $(INCLUDES)
7 CXXFLAGS_REL = -O3 -Wall -Woverloaded-virtual -Wshadow -Werror -D_GNU_SOURCE $(INCLUDES)
8 LDFLAGS = -Wall -static
12 CROSSLIBS = ../jpeg-6b/libjpeg.a
14 # This is the only thing windows and linux share
17 OBJECTSMVP = main.o threadp.o remotemvp.o ledmvp.o mtdmvp.o videomvp.o audiomvp.o osdmvp.o surfacemvp.o
18 OBJECTSWIN = threadwin.o remotewin.o ledwin.o mtdwin.o videowin.o audiowin.o osdwin.o surfacewin.o
20 OBJECTS = $(OBJECTS1) $(OBJECTSMVP)
22 .PHONY: clean fresh all install strip
27 vompclient: $(OBJECTS)
28 $(CC) $(LDFLAGS) $(LIBPATHS) $(RELEASE) -o vompclient $(OBJECTS) $(CROSSLIBS) $(LIBS)
34 rm -f /diskless/nfs/mvp/vompclient
35 cp vompclient /diskless/nfs/mvp
38 ../../gdb/gdb-6.3-target-ppc/gdb/gdb /diskless/nfs/mvp/vompclient /diskless/nfs/mvp/core.*
41 ../../gdb/gdb-6.3-target-ppc/gdb/gdb /diskless/nfs/mvp/vompclient /diskless/nfs/mvp/core
43 dev: CXXFLAGS := $(CXXFLAGS_DEV)
46 release: CXXFLAGS := $(CXXFLAGS_REL)
47 release: clean vompclient strip
50 $(CC) -MM $(INCLUDES) $(OBJECTS:%.o=%.cc) > deps
55 rm -f *.o deps vompclient *~ fonts/*.o fonts/*~