Fix for initialization of scalos preferences library. Library is now loaded only...
[AROS-Contrib.git] / arospdf / splash / Makefile
blob570424952fe1a5fbd679803dae171f08a861b5e9
1 #========================================================================
3 # Splash library Makefile
5 # Copyright 2003 Glyph & Cog, LLC
7 #========================================================================
9 SHELL = /bin/sh
11 srcdir = .
14 GOOSRCDIR = $(srcdir)/../goo
15 GOOLIBDIR = ../goo
16 FOFISRCDIR = $(srcdir)/../fofi
17 FOFILIBDIR = ../fofi
19 CXXFLAGS = -g -Wno-write-strings -O2 -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(srcdir)
21 CXX = g++
22 AR = ar rc
23 RANLIB = ranlib
25 LIBPREFIX = lib
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