git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show frame positions in time
[swftools.git]
/
lib
/
example
/
Makefile
diff --git
a/lib/example/Makefile
b/lib/example/Makefile
index
fedcc25
..
6b80deb
100644
(file)
--- a/
lib/example/Makefile
+++ b/
lib/example/Makefile
@@
-1,8
+1,8
@@
# Makefile
# Makefile
-RFXSWF = ../rfxswf.o
-LDLIBS = -ljpeg -lm -lz
-CFLAGS = -funsigned-char
+RFXSWF = ../librfxswf.a
+LDLIBS = -L/usr/X11R6/lib -ljpeg -lm -lz -lX11
+#CFLAGS = -funsigned-char
CC = gcc
CXX = g++
DBFLAGS = -g2
CC = gcc
CXX = g++
DBFLAGS = -g2
@@
-12,11
+12,13
@@
DBFLAGS = -g2
%.o: %.cc
$(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
%.o: %.cc
$(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
-all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts
+all: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts glyphshape edittext
-movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text
+movies: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape edittext
+ ./sound
./jpegtest
./box
./jpegtest
./box
+ ./glyphshape
./shape1
./transtest
./zlibtest
./shape1
./transtest
./zlibtest
@@
-24,6
+26,10
@@
movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text
./buttontest
./text
./makefonts
./buttontest
./text
./makefonts
+ ./edittext
+
+sound: $(RFXSWF) sound.o
+ $(CC) -o sound sound.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
box: $(RFXSWF) box.o
$(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
box: $(RFXSWF) box.o
$(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
@@
-34,6
+40,9
@@
buttontest: $(RFXSWF) buttontest.o
dumpfont: $(RFXSWF) dumpfont.o
$(CC) -o dumpfont dumpfont.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
dumpfont: $(RFXSWF) dumpfont.o
$(CC) -o dumpfont dumpfont.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
+glyphshape: $(RFXSWF) glyphshape.o
+ $(CC) -o glyphshape glyphshape.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
+
jpegtest: $(RFXSWF) jpegtest.o
$(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
jpegtest: $(RFXSWF) jpegtest.o
$(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
@@
-49,16
+58,23
@@
transtest: $(RFXSWF) transtest.o
text: $(RFXSWF) text.o
$(CC) -o text text.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
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 ../rfxswf.o ../log.o -lt1 -ljpeg -lz ../../pdf2swf/xpdf/libpdf.a
+ $(CXX) -o makefonts makefonts.o ../../pdf2swf/swfoutput.o \
+ ../../pdf2swf/spline.o ../../pdf2swf/encodings.o ../librfxswf.a -lt1 $(LDLIBS) \
+ ../../pdf2swf/xpdf/libpdf.a $(DBFLAGS)
clean:
clean:
- rm -f jpegtest.o box.o shape1.o trastest.o zlibtest.o sprites.o\
- buttontest.o dumpfont.o text.o\
+ 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 \
jpegtest.swf box.swf shape1.swf trastest.swf zlibtest.swf \
- sprites.swf buttontest.swf text.swf
+ sprites.swf buttontest.swf text.swf glyphshape.swf sound.swf \
+ transtest.swf