1 include ../crosstool/cross-var
8 INCLUDES = -I../jpeg/jpeg-6b
9 CXXFLAGS_DEV = -g -O0 -Wall -Wshadow -Werror -DDEV -D_GNU_SOURCE $(INCLUDES)
10 CXXFLAGS_REL = -O3 -Wall -Wshadow -Werror -D_GNU_SOURCE $(INCLUDES)
11 LDFLAGS = -Wall -static
15 CROSSLIBS = ../jpeg/jpeg-6b/libjpeg.a
17 # This is the only thing windows and linux share
20 OBJECTSMVP = main.o threadp.o remotemvp.o ledmvp.o mtdmvp.o videomvp.o audiomvp.o osdmvp.o surfacemvp.o
21 OBJECTSWIN = threadwin.o remotewin.o ledwin.o mtdwin.o videowin.o audiowin.o osdwin.o surfacewin.o
23 OBJECTS = $(OBJECTS1) $(OBJECTSMVP)
25 .PHONY: clean fresh all install strip
30 vompclient: $(OBJECTS) ticonfig.o $(CROSSLIBS)
31 $(LD) $(LDFLAGS) $(LIBPATHS) $(RELEASE) -o vompclient ticonfig.o $(OBJECTS) $(CROSSLIBS) $(LIBS)
35 $(CC) $(CXXFLAGS_REL) -c -o ticonfig.o ticonfig.c
41 rm -f /mnt/auto/defiant/diskless/nfs/mvp/vompclient
42 cp vompclient /mnt/auto/defiant/diskless/nfs/mvp
45 rm -f /diskless/nfs/wmvp/vompclient
46 cp vompclient /diskless/nfs/wmvp
49 rm -f /mnt/auto/defiant/diskless/nfs/mvp-dev/vompclient
50 cp vompclient /mnt/auto/defiant/diskless/nfs/mvp-dev
53 ../../gdb/gdb-6.7/gdb/gdb /mnt/auto/defiant/diskless/nfs/mvp/vompclient /mnt/auto/defiant/diskless/nfs/mvp/core.*
56 ../../gdb/gdb-6.7/gdb/gdb /mnt/auto/defiant/diskless/nfs/mvp-dev/vompclient /mnt/auto/defiant/diskless/nfs/mvp-dev/core.*
58 dev: CXXFLAGS := $(CXXFLAGS_DEV)
61 release: CXXFLAGS := $(CXXFLAGS_REL)
62 release: clean vompclient strip
65 $(CC) -MM $(INCLUDES) $(OBJECTS:%.o=%.cc) > deps
70 rm -f *.o deps vompclient *~ fonts/*.o fonts/*~