top_builddir = .. srcdir = @srcdir@ top_srcdir = @top_srcdir@ include ../Makefile.common all: pdf2swf fonts = n021003l.pfb n021023l.pfb n021004l.pfb n021024l.pfb n019003l.pfb n019023l.pfb n019004l.pfb n019024l.pfb n022003l.pfb n022023l.pfb n022004l.pfb n022024l.pfb s050000l.pfb d050000l.pfb n021003l.afm n021023l.afm n021004l.afm n021024l.afm n019003l.afm n019023l.afm n019004l.afm n019024l.afm n022003l.afm n022023l.afm n022004l.afm n022024l.afm s050000l.afm d050000l.afm pdf2swf.o: pdf2swf.cc SWFOutputDev.h $(CC) -DDATADIR=\"$(pkgdatadir)\" -I../lib -Ittf2pt1 -Ixpdf pdf2swf.cc -o $@ SWFOutputDev.o: swfoutput.h SWFOutputDev.cc $(CC) -DDATADIR=\"$(pkgdatadir)\" -I../lib -Ittf2pt1 -Ixpdf SWFOutputDev.cc -o $@ spline.o: spline.cc spline.h $(CC) -DDATADIR=\"$(pkgdatadir)\" -I../lib -Ittf2pt1 -Ixpdf spline.cc -o $@ encodings.o: encodings.cc $(CC) -DDATADIR=\"$(pkgdatadir)\" -I../lib -Ittf2pt1 -Ixpdf encodings.cc -o $@ swfoutput.o: swfoutput.cc swfoutput.h spline.h $(CC) -DDATADIR=\"$(pkgdatadir)\" -I../lib -Ittf2pt1 -Ixpdf swfoutput.cc -o $@ pdf2swf: pdf2swf.o SWFOutputDev.o swfoutput.o encodings.o spline.o xpdf/pdflib.a ttf2pt1/ttf2pt1.a $(LL) pdf2swf.o SWFOutputDev.o swfoutput.o encodings.o spline.o -o pdf2swf ../lib/librfxswf.a ttf2pt1/ttf2pt1.a xpdf/libpdf.a $(LIBS) xpdf/pdflib.a: cd xpdf;$(MAKE);cd .. ttf2pt1/ttf2pt1.a: cd ttf2pt1;$(MAKE);cd .. install: $(mkinstalldirs) $(bindir) $(mkinstalldirs) $(man1dir) @file=pdf2swf;$(INSTALL_BIN);$(INSTALL_MAN1) $(mkinstalldirs) $(pkgdatadir)/fonts @for file in $(fonts);do $(INSTALL_DATA) fonts/$$file $(pkgdatadir)/fonts/$$file;done uninstall: @file=pdf2swf;$(UNINSTALL_BIN);$(UNINSTALL_MAN1) @for file in $(fonts);do $(UNINSTALL_DATA) $(pkgdatadir)/fonts/$$file;done clean: rm -f *.o *.lo *.a *.la pdf2swf cd xpdf;$(MAKE) clean;cd .. cd ttf2pt1;$(MAKE) clean;cd ..