moved makefonts.cc to ../../pdf2swf/font2swf.cc
[swftools.git] / lib / example / Makefile
index 0b9b72a..b369c39 100644 (file)
@@ -12,9 +12,9 @@ DBFLAGS       = -g2
 %.o: %.cc
                $(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
 
-all: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts glyphshape
+all: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts glyphshape edittext
 
-movies: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape
+movies: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape edittext
                ./sound
                ./jpegtest
                ./box
@@ -26,6 +26,7 @@ movies: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont
                ./buttontest
                ./text
                ./makefonts
+               ./edittext
 
 sound: $(RFXSWF) sound.o
                $(CC) -o sound sound.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
@@ -57,19 +58,18 @@ transtest: $(RFXSWF) transtest.o
 text: $(RFXSWF) text.o
                $(CC) -o text text.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
 
+edittext: $(RFXSWF) edittext.o
+               $(CC) -o edittext edittext.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
+
 zlibtest: $(RFXSWF) zlibtest.o
                $(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
 
-makefonts: $(RFXSWF) makefonts.o ../../pdf2swf/swfoutput.o
-               $(CXX) -o makefonts makefonts.o ../../pdf2swf/swfoutput.o \
-                ../../pdf2swf/spline.o ../librfxswf.a -lt1 $(LDLIBS) \
-                ../../pdf2swf/xpdf/libpdf.a $(DBFLAGS)
-
 clean:
                rm -f jpegtest.o box.o shape1.o transtest.o zlibtest.o \
                 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