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 avi2swf
17 movies: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape
31 $(CXX) -O2 -fomit-frame-pointer -o avi2swf.o -c avi2swf.cc `avifile-config --cflags`
33 avi2swf: $(RFXSWF) avi2swf.o
34 $(CXX) -O2 -fomit-frame-pointer -o avi2swf avi2swf.o $(RFXSWF) $(LDLIBS) `avifile-config --libs`
36 sound: $(RFXSWF) sound.o
37 $(CC) -o sound sound.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
40 $(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
42 buttontest: $(RFXSWF) buttontest.o
43 $(CC) -o buttontest buttontest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
45 dumpfont: $(RFXSWF) dumpfont.o
46 $(CC) -o dumpfont dumpfont.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
48 glyphshape: $(RFXSWF) glyphshape.o
49 $(CC) -o glyphshape glyphshape.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
51 jpegtest: $(RFXSWF) jpegtest.o
52 $(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
54 shape1: $(RFXSWF) shape1.o
55 $(CC) -o shape1 shape1.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
57 sprites: $(RFXSWF) sprites.o
58 $(CC) -o sprites sprites.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
60 transtest: $(RFXSWF) transtest.o
61 $(CC) -o transtest transtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
63 text: $(RFXSWF) text.o
64 $(CC) -o text text.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
66 zlibtest: $(RFXSWF) zlibtest.o
67 $(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
69 makefonts: $(RFXSWF) makefonts.o ../../pdf2swf/swfoutput.o
70 $(CXX) -o makefonts makefonts.o ../../pdf2swf/swfoutput.o \
71 ../../pdf2swf/spline.o ../librfxswf.a -lt1 $(LDLIBS) \
72 ../../pdf2swf/xpdf/libpdf.a $(DBFLAGS)
75 rm -f jpegtest.o box.o shape1.o transtest.o zlibtest.o \
76 sprites.o glyphshape.o \
77 buttontest.o dumpfont.o text.o makefonts.o\
78 jpegtest.swf box.swf shape1.swf trastest.swf zlibtest.swf \
79 sprites.swf buttontest.swf text.swf glyphshape.swf