fixed font tables.
[swftools.git] / lib / example / Makefile
index 6b474a6..5bf18f0 100644 (file)
@@ -12,7 +12,7 @@ DBFLAGS       = -g2
 %.o: %.cc
                $(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
 
-all: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts glyphshape avi2swf
+all: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts glyphshape
 
 movies: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape
                ./sound
@@ -27,12 +27,6 @@ movies: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont
                ./text
                ./makefonts
 
-avi2swf.o: avi2swf.cc
-               $(CXX) -O2 -fomit-frame-pointer -o avi2swf.o -c avi2swf.cc `avifile-config --cflags`
-
-avi2swf: $(RFXSWF) avi2swf.o
-               $(CXX) -O2 -fomit-frame-pointer -o avi2swf avi2swf.o  $(RFXSWF) $(LDLIBS) `avifile-config --libs`
-
 sound: $(RFXSWF) sound.o
                $(CC) -o sound sound.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
 
@@ -68,7 +62,7 @@ zlibtest: $(RFXSWF) zlibtest.o
 
 makefonts: $(RFXSWF) makefonts.o ../../pdf2swf/swfoutput.o
                $(CXX) -o makefonts makefonts.o ../../pdf2swf/swfoutput.o \
-                ../../pdf2swf/spline.o ../librfxswf.a -lt1 $(LDLIBS) \
+                ../../pdf2swf/spline.o ../../pdf2swf/encodings.o ../librfxswf.a -lt1 $(LDLIBS) \
                 ../../pdf2swf/xpdf/libpdf.a $(DBFLAGS)
 
 clean:
@@ -76,6 +70,7 @@ clean:
                 sprites.o glyphshape.o \
                buttontest.o dumpfont.o text.o makefonts.o\
                jpegtest.swf box.swf shape1.swf trastest.swf zlibtest.swf \
-                sprites.swf buttontest.swf text.swf glyphshape.swf
+                sprites.swf buttontest.swf text.swf glyphshape.swf sound.swf \
+               transtest.swf