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 edittext
17 movies: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape edittext
31 sound: $(RFXSWF) sound.o
32 $(CC) -o sound sound.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
35 $(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
37 buttontest: $(RFXSWF) buttontest.o
38 $(CC) -o buttontest buttontest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
40 dumpfont: $(RFXSWF) dumpfont.o
41 $(CC) -o dumpfont dumpfont.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
43 glyphshape: $(RFXSWF) glyphshape.o
44 $(CC) -o glyphshape glyphshape.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
46 jpegtest: $(RFXSWF) jpegtest.o
47 $(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
49 shape1: $(RFXSWF) shape1.o
50 $(CC) -o shape1 shape1.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
52 sprites: $(RFXSWF) sprites.o
53 $(CC) -o sprites sprites.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
55 transtest: $(RFXSWF) transtest.o
56 $(CC) -o transtest transtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
58 text: $(RFXSWF) text.o
59 $(CC) -o text text.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
61 edittext: $(RFXSWF) edittext.o
62 $(CC) -o edittext edittext.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
64 zlibtest: $(RFXSWF) zlibtest.o
65 $(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
67 makefonts: $(RFXSWF) makefonts.o ../../pdf2swf/swfoutput.o
68 $(CXX) -o makefonts makefonts.o ../../pdf2swf/swfoutput.o \
69 ../../pdf2swf/spline.o ../../pdf2swf/encodings.o ../librfxswf.a -lt1 $(LDLIBS) \
70 ../../pdf2swf/xpdf/libpdf.a $(DBFLAGS)
73 rm -f jpegtest.o box.o shape1.o transtest.o zlibtest.o \
74 sprites.o glyphshape.o \
75 buttontest.o dumpfont.o text.o makefonts.o\
76 jpegtest.swf box.swf shape1.swf trastest.swf zlibtest.swf \
77 sprites.swf buttontest.swf text.swf glyphshape.swf sound.swf \