# Makefile.in # # This file is part of the t1lib-package! See documentation and Readme files # of the t1lib-package for copyright restrictions. # # Targets provided: # all (default) # install # uninstall # clean # # Author: Rainer Menzner (rmz@neuroinformatik.ruhr-uni-bochum.de) # Date: 06/20/1997 # Last modified: 2000-01-25 # # Modified by H.Kakugawa to use libtool LIBTOOL = ../libtool SHELL = /bin/sh CC = @CC@ CPP = @CPP@ CFLAGS = @CFLAGS@ OPTIONS = @OPTIONS@ X_LIBS = @X_LIBS@ TOPSRC = @top_srcdir@ XPM_LIB = -lXpm XLIB = @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ LDFLAGS = @LDFLAGS@ LDLIBS = @LDLIBS@ AR = ar rc RANLIB = @RANLIB@ RM = rm -f X_CFLAGS = @X_CFLAGS@ YACC = @YACC@ LEX = @LEX@ LEXLIB = @LEXLIB@ ALLCFLAGS = $(CFLAGS) INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ MKINSTALLDIRS = @top_srcdir@/ac-tools/mkinstalldirs prefix = @prefix@ exec_prefix = @exec_prefix@ includedir = @includedir@ bindir = @bindir@ datadir = @datadir@ libdir = @libdir@ mandir = @mandir@/man1 manext = .1 no_x = @no_x@ t1lib_version = @T1LIB_VERSION@ t1lib_revision = @T1LIB_REVISION@ t1lib_patchlevel = @T1LIB_PATCHLEVEL@ T1_AA_TYPE16 = @T1_AA_TYPE16@ T1_AA_TYPE32 = @T1_AA_TYPE32@ T1_AA_TYPE64 = @T1_AA_TYPE64@ SUBMAKE = $(MAKE) 'CC=$(CC)' 'CFLAGS=$(ALLCFLAGS) $(T1_AA_TYPE16) $(T1_AA_TYPE32) $(T1_AA_TYPE64)' 'OPTIONS=$(OPTIONS)' @SET_MAKE@ # targets to build: MAIN_TARGET = @MAIN_TARGET@ MAIN_HEADER = @MAIN_HEADER@ TYPE1_OBJS = \ type1/arith.lo \ type1/curves.lo \ type1/fontfcn.lo \ type1/hints.lo \ type1/lines.lo \ type1/objects.lo \ type1/paths.lo \ type1/regions.lo \ type1/scanfont.lo \ type1/spaces.lo \ type1/t1io.lo \ type1/t1snap.lo \ type1/t1stub.lo \ type1/token.lo \ type1/type1.lo \ type1/util.lo T1LIB_OBJS = \ t1lib/t1finfo.lo \ t1lib/t1base.lo \ t1lib/t1delete.lo \ t1lib/t1enc.lo \ t1lib/t1env.lo \ t1lib/t1load.lo \ t1lib/t1set.lo \ t1lib/t1trans.lo \ t1lib/t1aaset.lo \ t1lib/t1afmtool.lo \ t1lib/t1outline.lo \ t1lib/parseAFM.lo T1LIBX_OBJS = @T1LIBX_OBJS@ LIBSUBDIRS = \ type1 \ t1lib all: $(MAIN_TARGET) $(TYPE1_OBJS): type1_target $(T1LIB_OBJS): t1lib_target $(T1LIBX_OBJS): t1lib_target type1_target: @set -e; (cd type1; $(SUBMAKE) ) || exit 1 t1lib_target: @set -e; (cd t1lib; $(SUBMAKE) ) || exit 1 libt1.la: $(TYPE1_OBJS) $(T1LIB_OBJS) $(LIBTOOL) --mode=link \ $(CC) -o $@ $(TYPE1_OBJS) $(T1LIB_OBJS) \ -version-info @T1LIB_LT_CURRENT@:@T1LIB_LT_REVISION@:@T1LIB_LT_AGE@ \ -rpath $(libdir) cp t1lib/t1lib.h . libt1x.la: $(T1LIBX_OBJS) $(LIBTOOL) --mode=link \ $(CC) -o $@ $(T1LIBX_OBJS) \ -version-info @T1LIB_LT_CURRENT@:@T1LIB_LT_REVISION@:@T1LIB_LT_AGE@ \ -rpath $(libdir) cp t1lib/t1libx.h . .PHONY: clean dependencies: dummy for i in $(LIBSUBDIRS); do \ (cd $$i; $(MAKE) dependencies) || exit 1; \ done clean: dummy for i in $(LIBSUBDIRS); do \ (cd $$i; $(MAKE) clean) || exit 1; \ done -$(RM) -f libt1*.la libt1*.a libt1*.so* *~ t1lib*.h .libs/* -rmdir .libs install: dummy $(MKINSTALLDIRS) $(libdir) $(MKINSTALLDIRS) $(includedir) $(MKINSTALLDIRS) @T1LIB_DATA_DIR@ $(LIBTOOL) --mode=install \ $(INSTALL_DATA) $(MAIN_TARGET) $(libdir) $(LIBTOOL) --mode=install \ $(INSTALL_DATA) $(MAIN_HEADER) $(includedir) if (test -f @T1LIB_DATA_DIR@/t1lib.config) \ then \ echo "Alert: Global configuration file exists, installation skipped!"; \ else \ $(LIBTOOL) --mode=install $(INSTALL_DATA) t1lib.config @T1LIB_DATA_DIR@; \ fi; uninstall: dummy -$(LIBTOOL) --mode=uninstall $(RM) $(libdir)/libt1.la -$(LIBTOOL) --mode=uninstall $(RM) $(libdir)/libt1x.la -$(LIBTOOL) --mode=uninstall $(RM) $(includedir)/t1lib.h -$(LIBTOOL) --mode=uninstall $(RM) $(includedir)/t1libx.h -$(LIBTOOL) --mode=uninstall $(RM) @T1LIB_DATA_DIR@/t1lib.config dummy: