1 #========================================================================
3 # FoFi library Makefile
5 # Copyright 2003 Glyph & Cog, LLC
7 #========================================================================
14 GOOSRCDIR
= $(srcdir)/..
/goo
17 CXXFLAGS
= @CXXFLAGS@ @DEFS@
-I..
-I
$(GOOSRCDIR
) -I
$(srcdir)
23 LIBPREFIX
= @LIBPREFIX@
25 #------------------------------------------------------------------------
30 $(CXX
) $(CXXFLAGS
) -c
$<
32 #------------------------------------------------------------------------
35 $(srcdir)/FoFiBase.
cc \
36 $(srcdir)/FoFiEncodings.
cc \
37 $(srcdir)/FoFiTrueType.
cc \
38 $(srcdir)/FoFiType1.
cc \
39 $(srcdir)/FoFiType1C.
cc
41 #------------------------------------------------------------------------
43 all: $(LIBPREFIX
)fofi.a
45 #------------------------------------------------------------------------
54 $(LIBPREFIX
)fofi.a
: $(FOFI_OBJS
)
55 rm -f
$(LIBPREFIX
)fofi.a
56 $(AR
) $(LIBPREFIX
)fofi.a
$(FOFI_OBJS
)
57 $(RANLIB
) $(LIBPREFIX
)fofi.a
59 #------------------------------------------------------------------------
62 rm -f
$(FOFI_OBJS
) $(LIBPREFIX
)fofi.a
64 #------------------------------------------------------------------------
67 $(CXX
) $(CXXFLAGS
) -MM
$(CXX_SRC
) >Makefile.dep