$(C) -I ./ -I xpdf fonts.c -o $@
cmyk.$(O): cmyk.cc
$(CC) -I ./ -I xpdf cmyk.cc -o $@
-GFXOutputDev.$(O): GFXOutputDev.cc GFXOutputDev.h CommonOutputDev.h ../devices/artsutils.c
+GFXOutputDev.$(O): GFXOutputDev.cc GFXOutputDev.h CommonOutputDev.h ../gfxpoly.h
$(CC) -I ./ -I xpdf GFXOutputDev.cc -o $@
InfoOutputDev.$(O): InfoOutputDev.cc InfoOutputDev.h
$(CC) -I ./ -I xpdf InfoOutputDev.cc -o $@
pdftotext$(E): $(xpdf_objects) $(splash_objects)
$(LL) $(CPPFLAGS) -DXPDFEXE -g -I xpdf -I . xpdf/pdftotext.cc $(xpdf_objects) xpdf/TextOutput*.cc xpdf/UnicodeType*.cc xpdf/parseargs.c -o pdftotext$(E) $(LIBS)
-gfx_objects = ../devices/swf.$(O) ../devices/arts.$(O) ../devices/artsutils.$(O) ../libgfx$(A) ../art/libart$(A) ../librfxswf$(A) ../libbase$(A)
+gfx_objects = ../devices/swf.$(O) ../libgfx$(A) ../librfxswf$(A) ../libbase$(A)
pdf2swf$(E): ../../src/pdf2swf.c $(libpdf_objects) $(xpdf_objects) $(splash_objects) $(gfx_objects)
$(LL) $(CPPFLAGS) -g ../../src/pdf2swf.c $(libpdf_objects) $(xpdf_objects) $(splash_objects) $(gfx_objects) -o pdf2swf$(E) $(LIBS)