File: Makefile

package info (click to toggle)
grace 1%3A5.1.25-18
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 14,828 kB
  • sloc: ansic: 102,045; sh: 5,492; makefile: 572; fortran: 56; perl: 56
file content (129 lines) | stat: -rw-r--r-- 2,240 bytes parent folder | download | duplicates (13)
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
#####################################################
# Makefile for T1lib (bundled with Grace)           #
#####################################################
# You should not change anything here.              #
#####################################################

TOP=..

include $(TOP)/Make.conf

.SUFFIXES : .c $(O)

ALLCFLAGS = $(CFLAGS0) -I../.. $(CPPFLAGS) -DGLOBAL_CONFIG_DIR="\".\"" \
	-DT1_AA_TYPE16=$(T1_AA_TYPE16) -DT1_AA_TYPE32=$(T1_AA_TYPE32)
SUBMAKE   = $(MAKE) 'CC=$(CC)' 'CFLAGS=$(ALLCFLAGS)'


TYPE1_OBJS = \
	type1/arith$(O) \
	type1/curves$(O) \
	type1/fontfcn$(O) \
	type1/hints$(O) \
	type1/lines$(O) \
	type1/objects$(O) \
	type1/paths$(O) \
	type1/regions$(O) \
	type1/scanfont$(O) \
	type1/spaces$(O) \
	type1/t1io$(O) \
	type1/t1snap$(O) \
	type1/t1stub$(O) \
	type1/token$(O) \
	type1/type1$(O) \
	type1/util$(O) 


T1LIB_OBJS = \
	t1lib/t1finfo$(O) \
	t1lib/t1base$(O) \
	t1lib/t1delete$(O) \
	t1lib/t1enc$(O) \
	t1lib/t1env$(O) \
	t1lib/t1load$(O) \
	t1lib/t1set$(O) \
	t1lib/t1trans$(O) \
	t1lib/t1aaset$(O) \
	t1lib/t1afmtool$(O) \
	t1lib/t1outline$(O) \
	t1lib/t1subset$(O) \
	t1lib/parseAFM$(O) 


TYPE1_SRCS = \
	type1/arith.c \
	type1/curves.c \
	type1/fontfcn.c \
	type1/hints.c \
	type1/lines.c \
	type1/objects.c \
	type1/paths.c \
	type1/regions.c \
	type1/scanfont.c \
	type1/spaces.c \
	type1/t1io.c \
	type1/t1snap.c \
	type1/t1stub.c \
	type1/token.c \
	type1/type1.c \
	type1/util.c 


T1LIB_SRCS = \
	t1lib/t1finfo.c \
	t1lib/t1base.c \
	t1lib/t1delete.c \
	t1lib/t1enc.c \
	t1lib/t1env.c \
	t1lib/t1load.c \
	t1lib/t1set.c \
	t1lib/t1trans.c \
	t1lib/t1aaset.c \
	t1lib/t1afmtool.c \
	t1lib/t1outline.c \
	t1lib/parseAFM.c 


LIBSUBDIRS = \
	type1 \
	t1lib


all : libt1.a


$(TYPE1_OBJS) : $(TYPE1_SRCS)
	(cd type1; $(SUBMAKE))

$(T1LIB_OBJS) : $(T1LIB_SRCS)
	(cd t1lib; $(SUBMAKE))

libt1.a : $(TYPE1_OBJS) $(T1LIB_OBJS)
	$(RM) $@
	$(AR) cr $@ $(TYPE1_OBJS) $(T1LIB_OBJS)
	$(RANLIB) $@


.PHONY : clean


clean : dummy
	for i in $(LIBSUBDIRS); do \
	  (cd $$i; $(MAKE) clean) || exit 1; \
	done
	$(RM) libt1.a *~  

distclean : dummy
	for i in $(LIBSUBDIRS); do \
	  (cd $$i; $(MAKE) clean) || exit 1; \
	done
	$(RM) libt1.a *~  

install : dummy

links : dummy

tests : dummy

dummy :