1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
|
# 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: 1999-10-26
#
# 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) $(X_LIBS) $(XLIB) \
-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
$(LIBTOOL) --mode=install \
$(INSTALL_DATA) $(MAIN_TARGET) $(libdir)
$(LIBTOOL) --mode=install \
$(INSTALL_DATA) $(MAIN_HEADER) $(includedir)
# No, don't do this!
# $(MKINSTALLDIRS) @T1LIB_DATA_DIR@
# 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:
|