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 = -Wall -Woverloaded-virtual -Werror $(INCLUDES)
7 LDFLAGS = -Wall -static
11 CROSSLIBS = ../jpeg-6b/libjpeg.a
13 OBJECTS = main.o command.o log.o remote.o led.o mtd.o video.o audio.o tcp.o directory.o thread.o \
14 player.o demuxer.o stream.o vfeed.o afeed.o afeedr.o osd.o surface.o viewman.o vdr.o dsock.o box.o \
15 list.o queue.o node.o recording.o channel.o message.o playerradio.o messagequeue.o \
16 view.o vinfo.o vwallpaper.o vvolume.o vrecordinglist.o vlivebanner.o vmute.o \
17 vrecordingmenu.o vquestion.o vchannellist.o vwelcome.o vvideolive.o vvideorec.o vradiolive.o \
18 vchannelselect.o vserverselect.o colour.o vconnect.o \
19 wselectlist.o wjpeg.o wsymbol.o wbutton.o \
20 fonts/helvB24.o fonts/helvB18.o
22 .PHONY: clean fresh all install strip
29 rm -f *.o deps vompclient test *~ fonts/*.o fonts/*~
31 vompclient: $(OBJECTS)
32 $(CC) $(LDFLAGS) $(LIBPATHS) -o vompclient $(OBJECTS) $(CROSSLIBS) $(LIBS)
38 rm /diskless/nfs/mvp/vompclient
39 cp vompclient /diskless/nfs/mvp
41 release: CXXFLAGS := -O3 $(CXXFLAGS)
42 release: clean vompclient strip
45 $(CC) -MM $(INCLUDES) $(OBJECTS:%.o=%.cc) > deps