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 OBJECTS1 = main.o command.o log.o tcp.o dsock.o thread.o timers.o i18n.o \
15 message.o messagequeue.o \
16 vdr.o recording.o channel.o rectimer.o event.o directory.o \
17 player.o demuxer.o stream.o vfeed.o afeed.o afeedr.o draintarget.o \
18 viewman.o box.o region.o colour.o view.o \
19 vinfo.o vwallpaper.o vvolume.o vrecordinglist.o vlivebanner.o vmute.o \
20 vtimerlist.o vtimeredit.o voptionsmenu.o vrecordingmenu.o vquestion.o \
21 vchannellist.o vwelcome.o vvideolive.o vvideorec.o vepgsettimer.o \
22 vchannelselect.o vserverselect.o vconnect.o voptions.o vepg.o \
23 widget.o wselectlist.o wjpeg.o wsymbol.o wbutton.o woptionbox.o wtextbox.o \
24 fonts/helvB24.o fonts/helvB18.o \
25 remote.o led.o mtd.o video.o audio.o osd.o surface.o
27 OBJECTSMVP = threadp.o remotemvp.o ledmvp.o mtdmvp.o videomvp.o audiomvp.o osdmvp.o surfacemvp.o
28 OBJECTSWIN = threadwin.o remotewin.o ledwin.o mtdwin.o videowin.o audiowin.o osdwin.o surfacewin.o
30 OBJECTS = $(OBJECTS1) $(OBJECTSMVP)
32 .PHONY: clean fresh all install strip
37 vompclient: $(OBJECTS)
38 $(CC) $(LDFLAGS) $(LIBPATHS) $(RELEASE) -o vompclient $(OBJECTS) $(CROSSLIBS) $(LIBS)
44 rm -f /diskless/nfs/mvp/vompclient
45 cp vompclient /diskless/nfs/mvp
48 ../../gdb/gdb-6.3-target-ppc/gdb/gdb /diskless/nfs/mvp/vompclient /diskless/nfs/mvp/core.*
50 dev: CXXFLAGS := $(CXXFLAGS_DEV)
53 release: CXXFLAGS := $(CXXFLAGS_REL)
54 release: clean vompclient strip
57 $(CC) -MM $(INCLUDES) $(OBJECTS:%.o=%.cc) > deps
62 rm -f *.o deps vompclient *~ fonts/*.o fonts/*~