%.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 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
./buttontest
./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`
+ ./edittext
sound: $(RFXSWF) sound.o
$(CC) -o sound sound.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
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/spline.o ../../pdf2swf/encodings.o ../librfxswf.a -lt1 $(LDLIBS) \
../../pdf2swf/xpdf/libpdf.a $(DBFLAGS)
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