blob: f4f5d0050ba77fa6260f30b82f12ce625f8062a2 (
plain)
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
|
#========================================================================
#
# FoFi library Makefile
#
# Copyright 2003 Glyph & Cog, LLC
#
#========================================================================
SHELL = /bin/sh
srcdir = @srcdir@
VPATH = @srcdir@
GOOSRCDIR = $(srcdir)/../goo
GOOLIBDIR = ../goo
CXXFLAGS = @CXXFLAGS@ @DEFS@ -I.. -I$(GOOSRCDIR) -I$(srcdir)
CXX = @CXX@
AR = @AR@
RANLIB = @RANLIB@
LIBPREFIX = @LIBPREFIX@
#------------------------------------------------------------------------
.SUFFIXES: .cc
.cc.o:
$(CXX) $(CXXFLAGS) -c $<
#------------------------------------------------------------------------
CXX_SRC = \
$(srcdir)/FoFiBase.cc \
$(srcdir)/FoFiEncodings.cc \
$(srcdir)/FoFiIdentifier.cc \
$(srcdir)/FoFiTrueType.cc \
$(srcdir)/FoFiType1.cc \
$(srcdir)/FoFiType1C.cc
#------------------------------------------------------------------------
all: $(LIBPREFIX)fofi.a
#------------------------------------------------------------------------
FOFI_OBJS = \
FoFiBase.o \
FoFiEncodings.o \
FoFiIdentifier.o \
FoFiTrueType.o \
FoFiType1.o \
FoFiType1C.o
$(LIBPREFIX)fofi.a: $(FOFI_OBJS)
rm -f $(LIBPREFIX)fofi.a
$(AR) $(LIBPREFIX)fofi.a $(FOFI_OBJS)
$(RANLIB) $(LIBPREFIX)fofi.a
#------------------------------------------------------------------------
clean:
rm -f $(FOFI_OBJS) $(LIBPREFIX)fofi.a
#------------------------------------------------------------------------
depend:
$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep
include Makefile.dep
|