Bringing apdf from vendor into main branch.
[AROS-Contrib.git] / apdf / fofi / Makefile.in
blob5b440d509bcabaf187004a446b9eaeccff6a5a8c
1 #========================================================================
3 # FoFi library Makefile
5 # Copyright 2003 Glyph & Cog, LLC
7 #========================================================================
9 SHELL = /bin/sh
11 prefix = @prefix@
12 srcdir = @srcdir@
13 VPATH = @srcdir@
15 GOOSRCDIR = $(srcdir)/../goo
16 GOOLIBDIR = ../goo
18 CXXFLAGS = @SERVER_CXXFLAGS@ @SERVER_DEFS@ @SERVER_OPTIONS@ \
19 -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(SPLASHSRCDIR) -I$(srcdir) -I$(srcdir)/.. -I..
21 CXX = @SERVER_CXX@
22 AR = @SERVER_AR@
23 RANLIB = @SERVER_RANLIB@
25 LIBPREFIX = @LIBPREFIX@
27 #------------------------------------------------------------------------
29 %.o: $(srcdir)/%.cc
30 $(CXX) $(CXXFLAGS) -c $<
32 #------------------------------------------------------------------------
34 CXX_SRC = \
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 #------------------------------------------------------------------------
47 FOFI_OBJS = \
48 FoFiBase.o \
49 FoFiEncodings.o \
50 FoFiTrueType.o \
51 FoFiType1.o \
52 FoFiType1C.o
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 #------------------------------------------------------------------------
61 clean:
62 rm -f $(FOFI_OBJS) $(LIBPREFIX)fofi.a
64 #------------------------------------------------------------------------
66 depend:
67 $(CXX) $(CXXFLAGS) -MM $(CXX_SRC) | sed "s, $(srcdir), \$$(srcdir),g" >Makefile.dep
69 include Makefile.dep