# use AROS_LIB/INCLUDES
[AROS-Contrib.git] / arospdf / splash / Makefile.in
blob66c449b39856f2b11db5ef0e938af7c9eaa29038
1 #========================================================================
3 # Splash library Makefile
5 # Copyright 2003 Glyph & Cog, LLC
7 #========================================================================
9 SHELL = /bin/sh
11 srcdir = @srcdir@
12 VPATH = @srcdir@
14 GOOSRCDIR = $(srcdir)/../goo
15 GOOLIBDIR = ../goo
16 FOFISRCDIR = $(srcdir)/../fofi
17 FOFILIBDIR = ../fofi
19 CXXFLAGS = @CXXFLAGS@ @DEFS@ -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(srcdir) @t1_CFLAGS@ @freetype2_CFLAGS@
21 CXX = @CXX@
22 AR = @AR@
23 RANLIB = @RANLIB@
25 LIBPREFIX = @LIBPREFIX@
27 #------------------------------------------------------------------------
29 .SUFFIXES: .cc
31 .cc.o:
32 $(CXX) $(CXXFLAGS) -c $<
34 #------------------------------------------------------------------------
36 CXX_SRC = \
37 $(srcdir)/Splash.cc \
38 $(srcdir)/SplashBitmap.cc \
39 $(srcdir)/SplashClip.cc \
40 $(srcdir)/SplashFTFont.cc \
41 $(srcdir)/SplashFTFontEngine.cc \
42 $(srcdir)/SplashFTFontFile.cc \
43 $(srcdir)/SplashFont.cc \
44 $(srcdir)/SplashFontEngine.cc \
45 $(srcdir)/SplashFontFile.cc \
46 $(srcdir)/SplashFontFileID.cc \
47 $(srcdir)/SplashPath.cc \
48 $(srcdir)/SplashPattern.cc \
49 $(srcdir)/SplashScreen.cc \
50 $(srcdir)/SplashState.cc \
51 $(srcdir)/SplashT1Font.cc \
52 $(srcdir)/SplashT1FontEngine.cc \
53 $(srcdir)/SplashT1FontFile.cc \
54 $(srcdir)/SplashXPath.cc \
55 $(srcdir)/SplashXPathScanner.cc
57 #------------------------------------------------------------------------
59 all: $(LIBPREFIX)splash.a
61 #------------------------------------------------------------------------
63 SPLASH_OBJS = \
64 Splash.o \
65 SplashBitmap.o \
66 SplashClip.o \
67 SplashFTFont.o \
68 SplashFTFontEngine.o \
69 SplashFTFontFile.o \
70 SplashFont.o \
71 SplashFontEngine.o \
72 SplashFontFile.o \
73 SplashFontFileID.o \
74 SplashPath.o \
75 SplashPattern.o \
76 SplashScreen.o \
77 SplashState.o \
78 SplashT1Font.o \
79 SplashT1FontEngine.o \
80 SplashT1FontFile.o \
81 SplashXPath.o \
82 SplashXPathScanner.o
84 $(LIBPREFIX)splash.a: $(SPLASH_OBJS)
85 rm -f $(LIBPREFIX)splash.a
86 $(AR) $(LIBPREFIX)splash.a $(SPLASH_OBJS)
87 $(RANLIB) $(LIBPREFIX)splash.a
89 #------------------------------------------------------------------------
91 clean:
92 rm -f $(SPLASH_OBJS) $(LIBPREFIX)splash.a
94 #------------------------------------------------------------------------
96 depend:
97 $(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep
99 include Makefile.dep