~ubuntu-branches/ubuntu/karmic/grace/karmic

« back to all changes in this revision

Viewing changes to T1lib/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-19 14:19:58 UTC
  • Revision ID: james.westby@ubuntu.com-20020319141958-5gxna6vo1ek3zjml
Tags: upstream-5.1.7
ImportĀ upstreamĀ versionĀ 5.1.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#####################################################
 
2
# Makefile for T1lib (bundled with Grace)           #
 
3
#####################################################
 
4
# You should not change anything here.              #
 
5
#####################################################
 
6
 
 
7
TOP=..
 
8
 
 
9
include $(TOP)/Make.conf
 
10
 
 
11
.SUFFIXES : .c $(O)
 
12
 
 
13
ALLCFLAGS = $(CFLAGS0) -I../.. $(CPPFLAGS) -DGLOBAL_CONFIG_DIR="\".\"" \
 
14
        -DT1_AA_TYPE16=$(T1_AA_TYPE16) -DT1_AA_TYPE32=$(T1_AA_TYPE32)
 
15
SUBMAKE   = $(MAKE) 'CC=$(CC)' 'CFLAGS=$(ALLCFLAGS)'
 
16
 
 
17
 
 
18
TYPE1_OBJS = \
 
19
        type1/arith$(O) \
 
20
        type1/curves$(O) \
 
21
        type1/fontfcn$(O) \
 
22
        type1/hints$(O) \
 
23
        type1/lines$(O) \
 
24
        type1/objects$(O) \
 
25
        type1/paths$(O) \
 
26
        type1/regions$(O) \
 
27
        type1/scanfont$(O) \
 
28
        type1/spaces$(O) \
 
29
        type1/t1io$(O) \
 
30
        type1/t1snap$(O) \
 
31
        type1/t1stub$(O) \
 
32
        type1/token$(O) \
 
33
        type1/type1$(O) \
 
34
        type1/util$(O) 
 
35
 
 
36
 
 
37
T1LIB_OBJS = \
 
38
        t1lib/t1finfo$(O) \
 
39
        t1lib/t1base$(O) \
 
40
        t1lib/t1delete$(O) \
 
41
        t1lib/t1enc$(O) \
 
42
        t1lib/t1env$(O) \
 
43
        t1lib/t1load$(O) \
 
44
        t1lib/t1set$(O) \
 
45
        t1lib/t1trans$(O) \
 
46
        t1lib/t1aaset$(O) \
 
47
        t1lib/t1afmtool$(O) \
 
48
        t1lib/t1outline$(O) \
 
49
        t1lib/t1subset$(O) \
 
50
        t1lib/parseAFM$(O) 
 
51
 
 
52
 
 
53
TYPE1_SRCS = \
 
54
        type1/arith.c \
 
55
        type1/curves.c \
 
56
        type1/fontfcn.c \
 
57
        type1/hints.c \
 
58
        type1/lines.c \
 
59
        type1/objects.c \
 
60
        type1/paths.c \
 
61
        type1/regions.c \
 
62
        type1/scanfont.c \
 
63
        type1/spaces.c \
 
64
        type1/t1io.c \
 
65
        type1/t1snap.c \
 
66
        type1/t1stub.c \
 
67
        type1/token.c \
 
68
        type1/type1.c \
 
69
        type1/util.c 
 
70
 
 
71
 
 
72
T1LIB_SRCS = \
 
73
        t1lib/t1finfo.c \
 
74
        t1lib/t1base.c \
 
75
        t1lib/t1delete.c \
 
76
        t1lib/t1enc.c \
 
77
        t1lib/t1env.c \
 
78
        t1lib/t1load.c \
 
79
        t1lib/t1set.c \
 
80
        t1lib/t1trans.c \
 
81
        t1lib/t1aaset.c \
 
82
        t1lib/t1afmtool.c \
 
83
        t1lib/t1outline.c \
 
84
        t1lib/parseAFM.c 
 
85
 
 
86
 
 
87
LIBSUBDIRS = \
 
88
        type1 \
 
89
        t1lib
 
90
 
 
91
 
 
92
all : libt1.a
 
93
 
 
94
 
 
95
$(TYPE1_OBJS) : $(TYPE1_SRCS)
 
96
        (cd type1; $(SUBMAKE))
 
97
 
 
98
$(T1LIB_OBJS) : $(T1LIB_SRCS)
 
99
        (cd t1lib; $(SUBMAKE))
 
100
 
 
101
libt1.a : $(TYPE1_OBJS) $(T1LIB_OBJS)
 
102
        $(RM) $@
 
103
        $(AR) cr $@ $(TYPE1_OBJS) $(T1LIB_OBJS)
 
104
        $(RANLIB) $@
 
105
 
 
106
 
 
107
.PHONY : clean
 
108
 
 
109
 
 
110
clean : dummy
 
111
        for i in $(LIBSUBDIRS); do \
 
112
          (cd $$i; $(MAKE) clean) || exit 1; \
 
113
        done
 
114
        $(RM) libt1.a *~  
 
115
 
 
116
distclean : dummy
 
117
        for i in $(LIBSUBDIRS); do \
 
118
          (cd $$i; $(MAKE) clean) || exit 1; \
 
119
        done
 
120
        $(RM) libt1.a *~  
 
121
 
 
122
install : dummy
 
123
 
 
124
links : dummy
 
125
 
 
126
tests : dummy
 
127
 
 
128
dummy :
 
129