-VPATH = @srcdir@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-bindir = @bindir@
-sbindir = @sbindir@
-libexecdir = @libexecdir@
-datadir = @datadir@
-sysconfdir = @sysconfdir@
-sharedstatedir = @sharedstatedir@
-localstatedir = @localstatedir@
-libdir = @libdir@
-infodir = @infodir@
-mandir = @mandir@
-includedir = @includedir@
-oldincludedir = /usr/include
-
-DESTDIR =
-
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-
-top_builddir = ../..
-
-
-
-
-
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_FLAG =
-transform = @program_transform_name@
-
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-CC = @CC@
-CPP = @CPP@
-CXX = @CXX@
-EXEEXT = @EXEEXT@
-HAVE_UNISTD_H = @HAVE_UNISTD_H@
-JPEG2SWF = @JPEG2SWF@
-LN_S = @LN_S@
-RANLIB = @RANLIB@
-SYSTEM_BACKTICKS = @SYSTEM_BACKTICKS@
-UNCOMPRESS = @UNCOMPRESS@
-WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
-
-noinst_LIBRARIES = libpdf.a
-libpdf_a_SOURCES = Array.cc Catalog.cc Decrypt.cc Dict.cc Error.cc FontEncoding.cc FontFile.cc FormWidget.cc GString.cc Gfx.cc GfxFont.cc GfxState.cc Lexer.cc Link.cc Object.cc OutputDev.cc PDFDoc.cc Page.cc Params.cc Parser.cc Stream.cc XRef.cc gfile.cc gmem.cc ##parseargs.cc
-
-COMPILE = $(CC)
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../../config.h
-CONFIG_CLEAN_FILES =
-LIBRARIES = $(noinst_LIBRARIES)
-
-
-DEFS = @DEFS@ -I. -I$(srcdir) -I../..
-CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
-libpdf_a_LIBADD =
-libpdf_a_OBJECTS = Array.o Catalog.o Decrypt.o Dict.o Error.o \
-FontEncoding.o FontFile.o FormWidget.o GString.o Gfx.o GfxFont.o \
-GfxState.o Lexer.o Link.o Object.o OutputDev.o PDFDoc.o Page.o Params.o \
-Parser.o Stream.o XRef.o gfile.o gmem.o
-AR = ar
-CXXFLAGS = @CXXFLAGS@
-CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
-CXXLD = $(CXX)
-CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
-DIST_COMMON = Makefile.in
-
-
-PACKAGE = @PACKAGE@
-VERSION = @VERSION@
-
-DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-
-TAR = gtar
-GZIP_ENV = --best
-SOURCES = $(libpdf_a_SOURCES)
-OBJECTS = $(libpdf_a_OBJECTS)
-
-all: all-redirect
-.SUFFIXES:
-.SUFFIXES: .S .c .cc .o .s
-
-
-
-
-
-
-
-
-mostlyclean-noinstLIBRARIES:
-
-clean-noinstLIBRARIES:
- -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
-
-distclean-noinstLIBRARIES:
-
-maintainer-clean-noinstLIBRARIES:
-
-.c.o:
- $(COMPILE) -c $<
-
-.s.o:
- $(COMPILE) -c $<
-
-.S.o:
- $(COMPILE) -c $<
-
-mostlyclean-compile:
- -rm -f *.o core *.core
-
-clean-compile:
-
-distclean-compile:
- -rm -f *.tab.c
-
-maintainer-clean-compile:
-
-libpdf.a: $(libpdf_a_OBJECTS) $(libpdf_a_DEPENDENCIES)
- -rm -f libpdf.a
- $(AR) cru libpdf.a $(libpdf_a_OBJECTS) $(libpdf_a_LIBADD)
+include ../../Makefile.common
+
+all: libpdf.a
+
+#%.o: %.cc
+# $(CC) -I./ $< -o $@
+#%.o: %.c
+# $(C) -I./ $< -o $@
+
+libpdf_objects = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
+CMap.o Catalog.o CharCodeToUnicode.o Decrypt.o Dict.o Error.o \
+FontEncodingTables.o FontFile.o Function.o GHash.o GList.o GString.o \
+Gfx.o GfxFont.o GfxState.o GlobalParams.o Lexer.o Link.o \
+NameToCharCode.o Object.o OutputDev.o PDFDoc.o PSTokenizer.o Page.o \
+Parser.o Stream.o UnicodeMap.o XRef.o gfile.o gmem.o
+
+Annot.o: Annot.cc
+ $(CC) -I./ Annot.cc -o $@
+Array.o: Array.cc
+ $(CC) -I./ Array.cc -o $@
+BuiltinFont.o: BuiltinFont.cc
+ $(CC) -I./ BuiltinFont.cc -o $@
+BuiltinFontTables.o: BuiltinFontTables.cc
+ $(CC) -I./ BuiltinFontTables.cc -o $@
+CMap.o: CMap.cc
+ $(CC) -I./ CMap.cc -o $@
+Catalog.o: Catalog.cc
+ $(CC) -I./ Catalog.cc -o $@
+CharCodeToUnicode.o: CharCodeToUnicode.cc
+ $(CC) -I./ CharCodeToUnicode.cc -o $@
+Decrypt.o: Decrypt.cc
+ $(CC) -I./ Decrypt.cc -o $@
+Dict.o: Dict.cc
+ $(CC) -I./ Dict.cc -o $@
+Error.o: Error.cc
+ $(CC) -I./ Error.cc -o $@
+FontEncodingTables.o: FontEncodingTables.cc
+ $(CC) -I./ FontEncodingTables.cc -o $@
+FontFile.o: FontFile.cc
+ $(CC) -I./ FontFile.cc -o $@
+Function.o: Function.cc
+ $(CC) -I./ Function.cc -o $@
+GHash.o: GHash.cc
+ $(CC) -I./ GHash.cc -o $@
+GList.o: GList.cc
+ $(CC) -I./ GList.cc -o $@
+GString.o: GString.cc
+ $(CC) -I./ GString.cc -o $@
+Gfx.o: Gfx.cc
+ $(CC) -I./ Gfx.cc -o $@
+GfxFont.o: GfxFont.cc
+ $(CC) -I./ GfxFont.cc -o $@
+GfxState.o: GfxState.cc
+ $(CC) -I./ GfxState.cc -o $@
+GlobalParams.o: GlobalParams.cc
+ $(CC) -I./ GlobalParams.cc -o $@
+Lexer.o: Lexer.cc
+ $(CC) -I./ Lexer.cc -o $@
+Link.o: Link.cc
+ $(CC) -I./ Link.cc -o $@
+NameToCharCode.o: NameToCharCode.cc
+ $(CC) -I./ NameToCharCode.cc -o $@
+Object.o: Object.cc
+ $(CC) -I./ Object.cc -o $@
+OutputDev.o: OutputDev.cc
+ $(CC) -I./ OutputDev.cc -o $@
+PDFDoc.o: PDFDoc.cc
+ $(CC) -I./ PDFDoc.cc -o $@
+PSTokenizer.o: PSTokenizer.cc
+ $(CC) -I./ PSTokenizer.cc -o $@
+Page.o: Page.cc
+ $(CC) -I./ Page.cc -o $@
+Parser.o: Parser.cc
+ $(CC) -I./ Parser.cc -o $@
+Stream.o: Stream.cc
+ $(CC) -I./ Stream.cc -o $@
+UnicodeMap.o: UnicodeMap.cc
+ $(CC) -I./ UnicodeMap.cc -o $@
+XRef.o: XRef.cc
+ $(CC) -I./ XRef.cc -o $@
+gfile.o: gfile.cc
+ $(CC) -I./ gfile.cc -o $@
+
+gmem.o: gmem.c
+ $(C) -I./ gmem.c -o $@
+
+libpdf.a: $(libpdf_objects)
+ $(AR) r libpdf.a $(libpdf_objects)