4 LDLIBS = -ljpeg -lm -lz
5 CFLAGS = -funsigned-char
11 $(CC) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
13 $(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
15 all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts glyphshape avi2swf
17 movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape
30 $(CXX) -o avi2swf.o -c avi2swf.cc `avifile-config --cflags`
32 avi2swf: $(RFXSWF) avi2swf.o
33 $(CXX) -o avi2swf avi2swf.o $(RFXSWF) $(LDLIBS) `avifile-config --libs`
36 $(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
38 buttontest: $(RFXSWF) buttontest.o
39 $(CC) -o buttontest buttontest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
41 dumpfont: $(RFXSWF) dumpfont.o
42 $(CC) -o dumpfont dumpfont.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
44 glyphshape: $(RFXSWF) glyphshape.o
45 $(CC) -o glyphshape glyphshape.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
47 jpegtest: $(RFXSWF) jpegtest.o
48 $(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
50 shape1: $(RFXSWF) shape1.o
51 $(CC) -o shape1 shape1.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
53 sprites: $(RFXSWF) sprites.o
54 $(CC) -o sprites sprites.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
56 transtest: $(RFXSWF) transtest.o
57 $(CC) -o transtest transtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
59 text: $(RFXSWF) text.o
60 $(CC) -o text text.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
62 zlibtest: $(RFXSWF) zlibtest.o
63 $(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
65 makefonts: $(RFXSWF) makefonts.o ../../pdf2swf/swfoutput.o
66 $(CXX) -o makefonts makefonts.o ../../pdf2swf/swfoutput.o \
67 ../../pdf2swf/spline.o ../rfxswf.o ../log.o -lt1 $(LDLIBS) \
68 ../../pdf2swf/xpdf/libpdf.a $(DBFLAGS)
71 rm -f jpegtest.o box.o shape1.o transtest.o zlibtest.o \
72 sprites.o glyphshape.o \
73 buttontest.o dumpfont.o text.o makefonts.o\
74 jpegtest.swf box.swf shape1.swf trastest.swf zlibtest.swf \
75 sprites.swf buttontest.swf text.swf glyphshape.swf