3 RFXSWF = ../librfxswf.a
4 LDLIBS = -L/usr/X11R6/lib -ljpeg -lm -lz -lX11
5 #CFLAGS = -funsigned-char
11 $(CC) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
13 $(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
15 all: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts glyphshape
17 movies: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape
30 sound: $(RFXSWF) sound.o
31 $(CC) -o sound sound.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
34 $(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
36 buttontest: $(RFXSWF) buttontest.o
37 $(CC) -o buttontest buttontest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
39 dumpfont: $(RFXSWF) dumpfont.o
40 $(CC) -o dumpfont dumpfont.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
42 glyphshape: $(RFXSWF) glyphshape.o
43 $(CC) -o glyphshape glyphshape.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
45 jpegtest: $(RFXSWF) jpegtest.o
46 $(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
48 shape1: $(RFXSWF) shape1.o
49 $(CC) -o shape1 shape1.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
51 sprites: $(RFXSWF) sprites.o
52 $(CC) -o sprites sprites.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
54 transtest: $(RFXSWF) transtest.o
55 $(CC) -o transtest transtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
57 text: $(RFXSWF) text.o
58 $(CC) -o text text.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
60 zlibtest: $(RFXSWF) zlibtest.o
61 $(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
63 makefonts: $(RFXSWF) makefonts.o ../../pdf2swf/swfoutput.o
64 $(CXX) -o makefonts makefonts.o ../../pdf2swf/swfoutput.o \
65 ../../pdf2swf/spline.o ../librfxswf.a -lt1 $(LDLIBS) \
66 ../../pdf2swf/xpdf/libpdf.a $(DBFLAGS)
69 rm -f jpegtest.o box.o shape1.o transtest.o zlibtest.o \
70 sprites.o glyphshape.o \
71 buttontest.o dumpfont.o text.o makefonts.o\
72 jpegtest.swf box.swf shape1.swf trastest.swf zlibtest.swf \
73 sprites.swf buttontest.swf text.swf glyphshape.swf sound.swf \