1 #========================================================================
3 # FoFi library Makefile
5 # Copyright 2003 Glyph & Cog, LLC
7 #========================================================================
15 GOOSRCDIR
= $(srcdir)/..
/goo
18 CXXFLAGS
= @SERVER_CXXFLAGS@ @SERVER_DEFS@ @SERVER_OPTIONS@ \
19 -I
$(GOOSRCDIR
) -I
$(FOFISRCDIR
) -I
$(SPLASHSRCDIR
) -I
$(srcdir) -I
$(srcdir)/..
-I..
23 RANLIB
= @SERVER_RANLIB@
25 LIBPREFIX
= @LIBPREFIX@
27 #------------------------------------------------------------------------
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
) | sed
"s, $(srcdir), \$$(srcdir),g" >Makefile.dep