PageRenderTime 207ms CodeModel.GetById 149ms app.highlight 52ms RepoModel.GetById 1ms app.codeStats 0ms

/build-extras/2007-10Oct/Cairo-1.043/Makefile

https://code.google.com/p/camelbox/
Makefile | 999 lines | 660 code | 225 blank | 114 comment | 11 complexity | 554571edec8e6e348cc5ba3b574350ca MD5 | raw file
  1# This Makefile is for the Cairo extension to perl.
  2#
  3# It was generated automatically by MakeMaker version
  4# 6.30 (Revision: Revision: 4535 ) from the contents of
  5# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
  6#
  7#       ANY CHANGES MADE HERE WILL BE LOST!
  8#
  9#   MakeMaker ARGV: ()
 10#
 11#   MakeMaker Parameters:
 12
 13#     ABSTRACT_FROM => q[Cairo.pm]
 14#     DL_FUNCS => { Cairo=>[] }
 15#     EXTRA_META => q[ configure_requires:     ExtUtils::Depends: 0.2     ExtUtils::PkgConfig: 1 build_requires:     Test::Number::Delta: 1 no_index:     file:     - MakeHelper.pm ]
 16#     FUNCLIST => [q[cairo_object_from_sv], q[cairo_object_to_sv], q[cairo_struct_from_sv], q[cairo_struct_to_sv], q[newSVCairoFontExtents], q[newSVCairoTextExtents], q[newSVCairoGlyph], q[SvCairoGlyph], q[newSVCairoPath], q[SvCairoPath], q[cairo_surface_to_sv], q[cairo_pattern_to_sv]]
 17#     INC => q[-I. -Ibuild -IC:/perl/5.8.8/include/cairo]
 18#     LIBS => q[-LC:/perl/5.8.8/lib -lcairo]
 19#     NAME => q[Cairo]
 20#     OBJECT => q[Cairo$(OBJ_EXT) CairoFont$(OBJ_EXT) CairoMatrix$(OBJ_EXT) CairoPath$(OBJ_EXT) CairoPattern$(OBJ_EXT) CairoSurface$(OBJ_EXT) cairo-perl-enums$(OBJ_EXT)]
 21#     PM => { build/IFiles.pm=>q[$(INST_ARCHLIB)/$(FULLEXT)/Install/Files.pm], cairo-perl.typemap=>q[$(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl.typemap], build\cairo-perl-auto.typemap=>q[$(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl-auto.typemap], doctypes=>q[$(INST_ARCHLIB)/$(FULLEXT)/Install/doctypes], Cairo.pm=>q[$(INST_LIBDIR)/Cairo.pm], cairo-perl.h=>q[$(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl.h], build/cairo-perl-auto.typemap=>q[$(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl-auto.typemap], build/cairo-perl-auto.h=>q[$(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl-auto.h] }
 22#     PREREQ_PM => { Test::Number::Delta=>q[1], ExtUtils::Depends=>q[0.2], ExtUtils::PkgConfig=>q[1] }
 23#     TYPEMAPS => [q[build\cairo-perl-auto.typemap], q[cairo-perl.typemap]]
 24#     VERSION_FROM => q[Cairo.pm]
 25#     XS => { CairoSurface.xs=>q[CairoSurface.c], Cairo.xs=>q[Cairo.c], CairoFont.xs=>q[CairoFont.c], CairoPath.xs=>q[CairoPath.c], CairoPattern.xs=>q[CairoPattern.c], CairoMatrix.xs=>q[CairoMatrix.c] }
 26#     XSPROTOARG => q[-noprototypes]
 27#     clean => { FILES=>q[Cairo$(OBJ_EXT) CairoFont$(OBJ_EXT) CairoMatrix$(OBJ_EXT) CairoPath$(OBJ_EXT) CairoPattern$(OBJ_EXT) CairoSurface$(OBJ_EXT) cairo-perl-enums$(OBJ_EXT)] }
 28
 29# --- MakeMaker post_initialize section:
 30
 31
 32# --- MakeMaker const_config section:
 33
 34# These definitions are from config.sh (via c:/perl/5.8.8/lib/Config.pm)
 35
 36# They may have been overridden via Makefile.PL or on the command line
 37AR = ar
 38CC = gcc
 39CCCDLFLAGS =  
 40CCDLFLAGS =  
 41DLEXT = dll
 42DLSRC = dl_win32.xs
 43LD = g++
 44LDDLFLAGS = -mdll -s -L"c:\perl\5.8.8\lib\CORE" -L"C:\apps\MinGW\lib"
 45LDFLAGS = -s -L"c:\perl\5.8.8\lib\CORE" -L"C:\apps\MinGW\lib"
 46LIBC = -lmsvcrt
 47LIB_EXT = .a
 48OBJ_EXT = .o
 49OSNAME = MSWin32
 50OSVERS = 5.1
 51RANLIB = rem
 52SITELIBEXP = c:\perl\site\5.8.8\lib
 53SITEARCHEXP = c:\perl\site\5.8.8\lib
 54SO = dll
 55EXE_EXT = .exe
 56FULL_AR = 
 57VENDORARCHEXP = 
 58VENDORLIBEXP = 
 59
 60
 61# --- MakeMaker constants section:
 62AR_STATIC_ARGS = cr
 63DIRFILESEP = \\
 64DFSEP = $(DIRFILESEP)
 65NAME = Cairo
 66NAME_SYM = Cairo
 67VERSION = 1.043
 68VERSION_MACRO = VERSION
 69VERSION_SYM = 1_043
 70DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
 71XS_VERSION = 1.043
 72XS_VERSION_MACRO = XS_VERSION
 73XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
 74INST_ARCHLIB = blib\arch
 75INST_SCRIPT = blib\script
 76INST_BIN = blib\bin
 77INST_LIB = blib\lib
 78INST_MAN1DIR = blib\man1
 79INST_MAN3DIR = blib\man3
 80MAN1EXT = 1
 81MAN3EXT = 3
 82INSTALLDIRS = site
 83DESTDIR = 
 84PREFIX = $(SITEPREFIX)
 85PERLPREFIX = c:\perl\5.8.8
 86SITEPREFIX = c:\perl\site\5.8.8
 87VENDORPREFIX = 
 88INSTALLPRIVLIB = c:\perl\5.8.8\lib
 89DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
 90INSTALLSITELIB = c:\perl\site\5.8.8\lib
 91DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
 92INSTALLVENDORLIB = 
 93DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
 94INSTALLARCHLIB = c:\perl\5.8.8\lib
 95DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
 96INSTALLSITEARCH = c:\perl\site\5.8.8\lib
 97DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
 98INSTALLVENDORARCH = 
 99DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
100INSTALLBIN = c:\perl\5.8.8\bin
101DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
102INSTALLSITEBIN = c:\perl\5.8.8\bin
103DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
104INSTALLVENDORBIN = 
105DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
106INSTALLSCRIPT = c:\perl\5.8.8\bin
107DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
108INSTALLMAN1DIR = c:\perl\5.8.8\man\man1
109DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
110INSTALLSITEMAN1DIR = $(INSTALLMAN1DIR)
111DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
112INSTALLVENDORMAN1DIR = 
113DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
114INSTALLMAN3DIR = c:\perl\5.8.8\man\man3
115DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
116INSTALLSITEMAN3DIR = $(INSTALLMAN3DIR)
117DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
118INSTALLVENDORMAN3DIR = 
119DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
120PERL_LIB = c:\perl\5.8.8\lib
121PERL_ARCHLIB = c:\perl\5.8.8\lib
122LIBPERL_A = libperl.a
123FIRST_MAKEFILE = Makefile
124MAKEFILE_OLD = Makefile.old
125MAKE_APERL_FILE = Makefile.aperl
126PERLMAINCC = $(CC)
127PERL_INC = C:\perl\5.8.8\lib\CORE
128PERL = C:\perl\5.8.8\bin\perl.exe
129FULLPERL = C:\perl\5.8.8\bin\perl.exe
130ABSPERL = $(PERL)
131PERLRUN = $(PERL)
132FULLPERLRUN = $(FULLPERL)
133ABSPERLRUN = $(ABSPERL)
134PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
135FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
136ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
137PERL_CORE = 0
138PERM_RW = 644
139PERM_RWX = 755
140
141MAKEMAKER   = c:/perl/5.8.8/lib/ExtUtils/MakeMaker.pm
142MM_VERSION  = 6.30
143MM_REVISION = Revision: 4535 
144
145# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
146# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
147# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
148# DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
149FULLEXT = Cairo
150BASEEXT = Cairo
151PARENT_NAME = 
152DLBASE = $(BASEEXT)
153VERSION_FROM = Cairo.pm
154INC = -I. -Ibuild -IC:/perl/5.8.8/include/cairo
155OBJECT = Cairo$(OBJ_EXT) CairoFont$(OBJ_EXT) CairoMatrix$(OBJ_EXT) CairoPath$(OBJ_EXT) CairoPattern$(OBJ_EXT) CairoSurface$(OBJ_EXT) cairo-perl-enums$(OBJ_EXT)
156LDFROM = $(OBJECT)
157LINKTYPE = dynamic
158BOOTDEP = 
159
160# Handy lists of source code files:
161XS_FILES = Cairo.xs \

162	CairoFont.xs \

163	CairoMatrix.xs \

164	CairoPath.xs \

165	CairoPattern.xs \

166	CairoSurface.xs
167C_FILES  = Cairo.c \

168	CairoFont.c \

169	CairoMatrix.c \

170	CairoPath.c \

171	CairoPattern.c \

172	CairoSurface.c \

173	cairo-perl-enums.c
174O_FILES  = Cairo.o \

175	CairoFont.o \

176	CairoMatrix.o \

177	CairoPath.o \

178	CairoPattern.o \

179	CairoSurface.o \

180	cairo-perl-enums.o
181H_FILES  = cairo-perl-private.h \

182	cairo-perl.h \

183	ppport.h
184MAN1PODS = 
185MAN3PODS = Cairo.pm
186
187# Where is the Config information that we are using/depend on
188CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h
189
190# Where to build things
191INST_LIBDIR      = $(INST_LIB)
192INST_ARCHLIBDIR  = $(INST_ARCHLIB)
193
194INST_AUTODIR     = $(INST_LIB)\auto\$(FULLEXT)
195INST_ARCHAUTODIR = $(INST_ARCHLIB)\auto\$(FULLEXT)
196
197INST_STATIC      = $(INST_ARCHAUTODIR)\$(BASEEXT)$(LIB_EXT)
198INST_DYNAMIC     = $(INST_ARCHAUTODIR)\$(DLBASE).$(DLEXT)
199INST_BOOT        = $(INST_ARCHAUTODIR)\$(BASEEXT).bs
200
201# Extra linker info
202EXPORT_LIST        = $(BASEEXT).def
203PERL_ARCHIVE       = $(PERL_INC)\libperl58.a
204PERL_ARCHIVE_AFTER = 
205
206
207TO_INST_PM = Cairo.pm \

208	build/IFiles.pm \

209	build/cairo-perl-auto.h \

210	build/cairo-perl-auto.typemap \

211	build\cairo-perl-auto.typemap \

212	cairo-perl.h \

213	cairo-perl.typemap \

214	doctypes
215
216PM_TO_BLIB = build/IFiles.pm \

217	$(INST_ARCHLIB)/$(FULLEXT)/Install/Files.pm \

218	cairo-perl.typemap \

219	$(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl.typemap \

220	build\cairo-perl-auto.typemap \

221	$(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl-auto.typemap \

222	doctypes \

223	$(INST_ARCHLIB)/$(FULLEXT)/Install/doctypes \

224	Cairo.pm \

225	$(INST_LIBDIR)/Cairo.pm \

226	cairo-perl.h \

227	$(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl.h \

228	build/cairo-perl-auto.typemap \

229	$(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl-auto.typemap \

230	build/cairo-perl-auto.h \

231	$(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl-auto.h
232
233
234# --- MakeMaker platform_constants section:
235MM_Win32_VERSION = 1.12
236
237
238# --- MakeMaker tool_autosplit section:
239# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
240AUTOSPLITFILE = $(ABSPERLRUN)  -e "use AutoSplit;  autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)"
241
242
243
244# --- MakeMaker tool_xsubpp section:
245
246XSUBPPDIR = C:\perl\5.8.8\lib\ExtUtils
247XSUBPP = $(XSUBPPDIR)$(DFSEP)xsubpp
248XSUBPPRUN = $(PERLRUN) $(XSUBPP)
249XSPROTOARG = -noprototypes
250XSUBPPDEPS = C:\perl\5.8.8\lib\ExtUtils\typemap build\cairo-perl-auto.typemap cairo-perl.typemap $(XSUBPP)
251XSUBPPARGS = -typemap C:\perl\5.8.8\lib\ExtUtils\typemap -typemap build\cairo-perl-auto.typemap -typemap cairo-perl.typemap
252XSUBPP_EXTRA_ARGS = 
253
254
255# --- MakeMaker tools_other section:
256CHMOD = $(ABSPERLRUN) -MExtUtils::Command -e chmod
257CP = $(ABSPERLRUN) -MExtUtils::Command -e cp
258MV = $(ABSPERLRUN) -MExtUtils::Command -e mv
259NOOP = rem
260NOECHO = @
261RM_F = $(ABSPERLRUN) -MExtUtils::Command -e rm_f
262RM_RF = $(ABSPERLRUN) -MExtUtils::Command -e rm_rf
263TEST_F = $(ABSPERLRUN) -MExtUtils::Command -e test_f
264TOUCH = $(ABSPERLRUN) -MExtUtils::Command -e touch
265UMASK_NULL = umask 0
266DEV_NULL = > NUL
267MKPATH = $(ABSPERLRUN) "-MExtUtils::Command" -e mkpath
268EQUALIZE_TIMESTAMP = $(ABSPERLRUN) "-MExtUtils::Command" -e eqtime
269ECHO = $(ABSPERLRUN) -l -e "print qq{{@ARGV}"
270ECHO_N = $(ABSPERLRUN)  -e "print qq{{@ARGV}"
271UNINST = 0
272VERBINST = 0
273MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e "install({{@ARGV}, '$(VERBINST)', 0, '$(UNINST)');"
274DOC_INSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e perllocal_install
275UNINSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e uninstall
276WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e warn_if_old_packlist
277MACROSTART = 
278MACROEND = 
279USEMAKEFILE = -f
280FIXIN = pl2bat.bat
281
282
283# --- MakeMaker makemakerdflt section:
284makemakerdflt: all
285	$(NOECHO) $(NOOP)
286
287
288# --- MakeMaker dist section:
289TAR = tar
290TARFLAGS = cvf
291ZIP = zip
292ZIPFLAGS = -r
293COMPRESS = gzip --best
294SUFFIX = .gz
295SHAR = shar
296PREOP = $(NOECHO) $(NOOP)
297POSTOP = $(NOECHO) $(NOOP)
298TO_UNIX = $(NOECHO) $(NOOP)
299CI = ci -u
300RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
301DIST_CP = best
302DIST_DEFAULT = tardist
303DISTNAME = Cairo
304DISTVNAME = Cairo-1.043
305
306
307# --- MakeMaker macro section:
308
309
310# --- MakeMaker depend section:
311
312
313# --- MakeMaker cflags section:
314
315CCFLAGS = -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX
316OPTIMIZE = -s -O2
317PERLTYPE = 
318MPOLLUTE = 
319
320
321# --- MakeMaker const_loadlibs section:
322
323# Cairo might depend on some other libraries:
324# See ExtUtils::Liblist for details
325#
326EXTRALIBS = C:\apps\MinGW\lib\libmsvcrt.a C:\apps\MinGW\lib\libmoldname.a C:\apps\MinGW\lib\libkernel32.a C:\apps\MinGW\lib\libuser32.a C:\apps\MinGW\lib\libgdi32.a C:\apps\MinGW\lib\libwinspool.a C:\apps\MinGW\lib\libcomdlg32.a C:\apps\MinGW\lib\libadvapi32.a C:\apps\MinGW\lib\libshell32.a C:\apps\MinGW\lib\libole32.a C:\apps\MinGW\lib\liboleaut32.a C:\apps\MinGW\lib\libnetapi32.a C:\apps\MinGW\lib\libuuid.a C:\apps\MinGW\lib\libws2_32.a C:\apps\MinGW\lib\libmpr.a C:\apps\MinGW\lib\libwinmm.a C:\apps\MinGW\lib\libversion.a C:\apps\MinGW\lib\libodbc32.a C:\apps\MinGW\lib\libodbccp32.a C:\perl\5.8.8\lib\libcairo.dll.a
327LDLOADLIBS = C:\apps\MinGW\lib\libmsvcrt.a C:\apps\MinGW\lib\libmoldname.a C:\apps\MinGW\lib\libkernel32.a C:\apps\MinGW\lib\libuser32.a C:\apps\MinGW\lib\libgdi32.a C:\apps\MinGW\lib\libwinspool.a C:\apps\MinGW\lib\libcomdlg32.a C:\apps\MinGW\lib\libadvapi32.a C:\apps\MinGW\lib\libshell32.a C:\apps\MinGW\lib\libole32.a C:\apps\MinGW\lib\liboleaut32.a C:\apps\MinGW\lib\libnetapi32.a C:\apps\MinGW\lib\libuuid.a C:\apps\MinGW\lib\libws2_32.a C:\apps\MinGW\lib\libmpr.a C:\apps\MinGW\lib\libwinmm.a C:\apps\MinGW\lib\libversion.a C:\apps\MinGW\lib\libodbc32.a C:\apps\MinGW\lib\libodbccp32.a C:\perl\5.8.8\lib\libcairo.dll.a
328BSLOADLIBS = 
329
330
331# --- MakeMaker const_cccmd section:
332CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \

333	$(CCFLAGS) $(OPTIMIZE) \

334	$(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \

335	$(XS_DEFINE_VERSION)
336
337# --- MakeMaker post_constants section:
338
339
340# --- MakeMaker pasthru section:
341PASTHRU = 
342
343# --- MakeMaker special_targets section:
344.SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)
345
346.PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir
347
348.USESHELL :
349
350
351# --- MakeMaker c_o section:
352
353.c.i:
354	gcc -E -c $(PASTHRU_INC) $(INC) \

355	$(CCFLAGS) $(OPTIMIZE) \

356	$(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \

357	$(XS_DEFINE_VERSION) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c > $*.i
358
359.c.s:
360	$(CCCMD) -S $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c
361
362.c$(OBJ_EXT):
363	$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c
364
365.cpp$(OBJ_EXT):
366	$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cpp
367
368.cxx$(OBJ_EXT):
369	$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cxx
370
371.cc$(OBJ_EXT):
372	$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cc
373
374
375# --- MakeMaker xs_c section:
376
377.xs.c:
378	$(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $(XSUBPP_EXTRA_ARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c
379
380
381# --- MakeMaker xs_o section:
382
383
384# --- MakeMaker top_targets section:
385all :: pure_all
386	$(NOECHO) $(NOOP)
387
388
389pure_all :: config pm_to_blib subdirs linkext
390	$(NOECHO) $(NOOP)
391
392subdirs :: $(MYEXTLIB)
393	$(NOECHO) $(NOOP)
394
395config :: $(FIRST_MAKEFILE) blibdirs
396	$(NOECHO) $(NOOP)
397
398$(O_FILES): $(H_FILES)
399
400help :
401	perldoc ExtUtils::MakeMaker
402
403
404# --- MakeMaker blibdirs section:
405blibdirs : $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists
406	$(NOECHO) $(NOOP)
407
408# Backwards compat with 6.18 through 6.25
409blibdirs.ts : blibdirs
410	$(NOECHO) $(NOOP)
411
412$(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL
413	$(NOECHO) $(MKPATH) $(INST_LIBDIR)
414	$(NOECHO) $(CHMOD) 755 $(INST_LIBDIR)
415	$(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists
416
417$(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL
418	$(NOECHO) $(MKPATH) $(INST_ARCHLIB)
419	$(NOECHO) $(CHMOD) 755 $(INST_ARCHLIB)
420	$(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists
421
422$(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL
423	$(NOECHO) $(MKPATH) $(INST_AUTODIR)
424	$(NOECHO) $(CHMOD) 755 $(INST_AUTODIR)
425	$(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists
426
427$(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL
428	$(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
429	$(NOECHO) $(CHMOD) 755 $(INST_ARCHAUTODIR)
430	$(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists
431
432$(INST_BIN)$(DFSEP).exists :: Makefile.PL
433	$(NOECHO) $(MKPATH) $(INST_BIN)
434	$(NOECHO) $(CHMOD) 755 $(INST_BIN)
435	$(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists
436
437$(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL
438	$(NOECHO) $(MKPATH) $(INST_SCRIPT)
439	$(NOECHO) $(CHMOD) 755 $(INST_SCRIPT)
440	$(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists
441
442$(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL
443	$(NOECHO) $(MKPATH) $(INST_MAN1DIR)
444	$(NOECHO) $(CHMOD) 755 $(INST_MAN1DIR)
445	$(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists
446
447$(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL
448	$(NOECHO) $(MKPATH) $(INST_MAN3DIR)
449	$(NOECHO) $(CHMOD) 755 $(INST_MAN3DIR)
450	$(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists
451
452
453
454# --- MakeMaker linkext section:
455
456linkext :: $(LINKTYPE)
457	$(NOECHO) $(NOOP)
458
459
460# --- MakeMaker dlsyms section:
461
462Cairo.def: Makefile.PL
463	$(PERLRUN) -MExtUtils::Mksymlists \

464     -e "Mksymlists('NAME'=>\"Cairo\", 'DLBASE' => '$(BASEEXT)', 'DL_FUNCS' => { Cairo=>[] }, 'FUNCLIST' => [q[cairo_object_from_sv], q[cairo_object_to_sv], q[cairo_struct_from_sv], q[cairo_struct_to_sv], q[newSVCairoFontExtents], q[newSVCairoTextExtents], q[newSVCairoGlyph], q[SvCairoGlyph], q[newSVCairoPath], q[SvCairoPath], q[cairo_surface_to_sv], q[cairo_pattern_to_sv]], 'IMPORTS' => {  }, 'DL_VARS' => []);"
465
466
467# --- MakeMaker dynamic section:
468
469dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
470	$(NOECHO) $(NOOP)
471
472
473# --- MakeMaker dynamic_bs section:
474BOOTSTRAP = $(BASEEXT).bs
475
476# As Mkbootstrap might not write a file (if none is required)
477# we use touch to prevent make continually trying to remake it.
478# The DynaLoader only reads a non-empty file.
479$(BOOTSTRAP) : $(FIRST_MAKEFILE) $(BOOTDEP) $(INST_ARCHAUTODIR)$(DFSEP).exists
480	$(NOECHO) $(ECHO) "Running Mkbootstrap for $(NAME) ($(BSLOADLIBS))"
481	$(NOECHO) $(PERLRUN) \

482		"-MExtUtils::Mkbootstrap" \

483		-e "Mkbootstrap('$(BASEEXT)','$(BSLOADLIBS)');"
484	$(NOECHO) $(TOUCH) $@
485	$(CHMOD) $(PERM_RW) $@
486
487$(INST_BOOT) : $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DFSEP).exists
488	$(NOECHO) $(RM_RF) $@
489	- $(CP) $(BOOTSTRAP) $@
490	$(CHMOD) $(PERM_RW) $@
491
492
493# --- MakeMaker dynamic_lib section:
494
495# This section creates the dynamically loadable $(INST_DYNAMIC)
496# from $(OBJECT) and possibly $(MYEXTLIB).
497OTHERLDFLAGS = -Wl,--image-base,0x2c4f0000 
498INST_DYNAMIC_DEP = 
499
500$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPORT_LIST) $(PERL_ARCHIVE) $(INST_DYNAMIC_DEP)
501	dlltool --def $(EXPORT_LIST) --output-exp dll.exp
502	$(LD) -o $@ -Wl,--base-file -Wl,dll.base $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) dll.exp
503	dlltool --def $(EXPORT_LIST) --base-file dll.base --output-exp dll.exp
504	$(LD) -o $@ $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) dll.exp 
505	dlltool --input-def Cairo.def --dllname Cairo.dll \

506		--output-lib libCairoPerl.dll.a
507	$(CHMOD) $(PERM_RWX) $@
508
509
510# --- MakeMaker static section:
511
512## $(INST_PM) has been moved to the all: target.
513## It remains here for awhile to allow for old usage: "make static"
514static :: $(FIRST_MAKEFILE) $(INST_STATIC)
515	$(NOECHO) $(NOOP)
516
517
518# --- MakeMaker static_lib section:
519$(INST_STATIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DFSEP).exists
520	$(RM_RF) $@
521	$(AR) -ru $@ $(OBJECT)
522	$(CHMOD) $(PERM_RWX) $@
523	$(NOECHO) $(ECHO) "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)\extralibs.ld
524
525
526# --- MakeMaker manifypods section:
527
528POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
529POD2MAN = $(POD2MAN_EXE)
530
531
532manifypods : pure_all  \
533	Cairo.pm \

534	Cairo.pm
535	$(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW) \

536	  Cairo.pm $(INST_MAN3DIR)\Cairo.$(MAN3EXT) 
537
538
539
540
541# --- MakeMaker processPL section:
542
543
544# --- MakeMaker installbin section:
545
546
547# --- MakeMaker subdirs section:
548
549# none
550
551# --- MakeMaker clean_subdirs section:
552clean_subdirs :
553	$(NOECHO) $(NOOP)
554
555
556# --- MakeMaker clean section:
557
558# Delete temporary files but do not touch installed files. We don't delete
559# the Makefile here so a later make realclean still has a makefile to use.
560
561clean :: clean_subdirs
562	- $(RM_F) \

563	  core.[0-9] $(BASEEXT).bso \

564	  pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \

565	  perl$(EXE_EXT) tmon.out \

566	  CairoFont.c CairoPattern.c \

567	  *$(OBJ_EXT) pm_to_blib \

568	  blibdirs.ts *perl.core \

569	  core.*perl.*.? CairoPath.c \

570	  $(BASEEXT).def core.[0-9][0-9][0-9] \

571	  mon.out lib$(BASEEXT).def \

572	  perlmain.c perl.exe \

573	  so_locations $(BASEEXT).exp \

574	  *$(LIB_EXT) core \

575	  core.[0-9][0-9] $(INST_ARCHAUTODIR)\extralibs.ld \

576	  CairoSurface.c $(BOOTSTRAP) \

577	  $(BASEEXT).x CairoMatrix.c \

578	  $(INST_ARCHAUTODIR)\extralibs.all Cairo.c \

579	  core.[0-9][0-9][0-9][0-9][0-9] $(MAKE_APERL_FILE) \

580	  perl 
581	- $(RM_RF) \

582	  cairo-perl-enums$(OBJ_EXT) CairoFont$(OBJ_EXT) \

583	  CairoPattern$(OBJ_EXT) dll.base \

584	  CairoSurface$(OBJ_EXT) CairoMatrix$(OBJ_EXT) \

585	  CairoPath$(OBJ_EXT) dll.exp \

586	  Cairo$(OBJ_EXT) blib 
587	- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
588
589
590# --- MakeMaker realclean_subdirs section:
591realclean_subdirs :
592	$(NOECHO) $(NOOP)
593
594
595# --- MakeMaker realclean section:
596# Delete temporary files (via clean) and also delete dist files
597realclean purge ::  clean realclean_subdirs
598	- $(RM_F) \

599	  $(OBJECT) $(MAKEFILE_OLD) \

600	  $(FIRST_MAKEFILE) 
601	- $(RM_RF) \

602	  $(DISTVNAME) 
603
604
605# --- MakeMaker metafile section:
606metafile : create_distdir
607	$(NOECHO) $(ECHO) Generating META.yml
608	$(NOECHO) $(ECHO) "# http://module-build.sourceforge.net/META-spec.html" > META_new.yml
609	$(NOECHO) $(ECHO) "#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#" >> META_new.yml
610	$(NOECHO) $(ECHO) "name:         Cairo" >> META_new.yml
611	$(NOECHO) $(ECHO) "version:      1.043" >> META_new.yml
612	$(NOECHO) $(ECHO) "version_from: Cairo.pm" >> META_new.yml
613	$(NOECHO) $(ECHO) "installdirs:  site" >> META_new.yml
614	$(NOECHO) $(ECHO) "requires:" >> META_new.yml
615	$(NOECHO) $(ECHO) "    ExtUtils::Depends:             0.2" >> META_new.yml
616	$(NOECHO) $(ECHO) "    ExtUtils::PkgConfig:           1" >> META_new.yml
617	$(NOECHO) $(ECHO) "    Test::Number::Delta:           1" >> META_new.yml
618	$(NOECHO) $(ECHO) "" >> META_new.yml
619	$(NOECHO) $(ECHO) "distribution_type: module" >> META_new.yml
620	$(NOECHO) $(ECHO) "generated_by: ExtUtils::MakeMaker version 6.30" >> META_new.yml
621	-$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml
622
623
624# --- MakeMaker signature section:
625signature :
626	cpansign -s
627
628
629# --- MakeMaker dist_basics section:
630distclean :: realclean distcheck
631	$(NOECHO) $(NOOP)
632
633distcheck :
634	$(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck
635
636skipcheck :
637	$(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck
638
639manifest :
640	$(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest
641
642veryclean : realclean
643	$(RM_F) *~ *.orig */*~ */*.orig
644
645
646
647# --- MakeMaker dist_core section:
648
649dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE)
650	$(NOECHO) $(ABSPERLRUN) -l -e "print 'Warning: Makefile possibly out of date with $(VERSION_FROM)'\
651    if -e '$(VERSION_FROM)' and -M '$(VERSION_FROM)' < -M '$(FIRST_MAKEFILE)';"
652
653tardist : $(DISTVNAME).tar$(SUFFIX)
654	$(NOECHO) $(NOOP)
655
656uutardist : $(DISTVNAME).tar$(SUFFIX)
657	uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu
658
659$(DISTVNAME).tar$(SUFFIX) : distdir
660	$(PREOP)
661	$(TO_UNIX)
662	$(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
663	$(RM_RF) $(DISTVNAME)
664	$(COMPRESS) $(DISTVNAME).tar
665	$(POSTOP)
666
667zipdist : $(DISTVNAME).zip
668	$(NOECHO) $(NOOP)
669
670$(DISTVNAME).zip : distdir
671	$(PREOP)
672	$(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
673	$(RM_RF) $(DISTVNAME)
674	$(POSTOP)
675
676shdist : distdir
677	$(PREOP)
678	$(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
679	$(RM_RF) $(DISTVNAME)
680	$(POSTOP)
681
682
683# --- MakeMaker distdir section:
684create_distdir :
685	$(RM_RF) $(DISTVNAME)
686	$(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \

687		-e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
688
689distdir : create_distdir distmeta 
690	$(NOECHO) $(NOOP)
691
692
693
694# --- MakeMaker dist_test section:
695disttest : distdir
696	cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL 
697	cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
698	cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)
699
700
701
702# --- MakeMaker dist_ci section:
703
704ci :
705	$(PERLRUN) "-MExtUtils::Manifest=maniread" \

706	  -e "@all = keys %{ maniread() };" \

707	  -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \

708	  -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});"
709
710
711# --- MakeMaker distmeta section:
712distmeta : create_distdir metafile
713	$(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e "eval {{ maniadd({{q{{META.yml} => q{{Module meta-data (added by MakeMaker)}}}) } \
714    or print \"Could not add META.yml to MANIFEST: $${{'@'}\n\""
715
716
717
718# --- MakeMaker distsignature section:
719distsignature : create_distdir
720	$(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e "eval {{ maniadd({{q{{SIGNATURE} => q{{Public-key signature (added by MakeMaker)}}}) } \
721    or print \"Could not add SIGNATURE to MANIFEST: $${{'@'}\n\""
722	$(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE
723	cd $(DISTVNAME) && cpansign -s
724
725
726
727# --- MakeMaker install section:
728
729install :: all pure_install doc_install
730	$(NOECHO) $(NOOP)
731
732install_perl :: all pure_perl_install doc_perl_install
733	$(NOECHO) $(NOOP)
734
735install_site :: all pure_site_install doc_site_install
736	$(NOECHO) $(NOOP)
737
738install_vendor :: all pure_vendor_install doc_vendor_install
739	$(NOECHO) $(NOOP)
740
741pure_install :: pure_$(INSTALLDIRS)_install
742	$(NOECHO) $(NOOP)
743
744doc_install :: doc_$(INSTALLDIRS)_install
745	$(NOECHO) $(NOOP)
746
747pure__install : pure_site_install
748	$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
749
750doc__install : doc_site_install
751	$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
752
753pure_perl_install ::
754	$(NOECHO) $(MOD_INSTALL) \

755		read $(PERL_ARCHLIB)\auto\$(FULLEXT)\.packlist \

756		write $(DESTINSTALLARCHLIB)\auto\$(FULLEXT)\.packlist \

757		$(INST_LIB) $(DESTINSTALLPRIVLIB) \

758		$(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \

759		$(INST_BIN) $(DESTINSTALLBIN) \

760		$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \

761		$(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \

762		$(INST_MAN3DIR) $(DESTINSTALLMAN3DIR)
763	$(NOECHO) $(WARN_IF_OLD_PACKLIST) \

764		$(SITEARCHEXP)\auto\$(FULLEXT)
765
766
767pure_site_install ::
768	$(NOECHO) $(MOD_INSTALL) \

769		read $(SITEARCHEXP)\auto\$(FULLEXT)\.packlist \

770		write $(DESTINSTALLSITEARCH)\auto\$(FULLEXT)\.packlist \

771		$(INST_LIB) $(DESTINSTALLSITELIB) \

772		$(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \

773		$(INST_BIN) $(DESTINSTALLSITEBIN) \

774		$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \

775		$(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \

776		$(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR)
777	$(NOECHO) $(WARN_IF_OLD_PACKLIST) \

778		$(PERL_ARCHLIB)\auto\$(FULLEXT)
779
780pure_vendor_install ::
781	$(NOECHO) $(MOD_INSTALL) \

782		read $(VENDORARCHEXP)\auto\$(FULLEXT)\.packlist \

783		write $(DESTINSTALLVENDORARCH)\auto\$(FULLEXT)\.packlist \

784		$(INST_LIB) $(DESTINSTALLVENDORLIB) \

785		$(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \

786		$(INST_BIN) $(DESTINSTALLVENDORBIN) \

787		$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \

788		$(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \

789		$(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
790
791doc_perl_install ::
792	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
793	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
794	-$(NOECHO) $(DOC_INSTALL) \

795		"Module" "$(NAME)" \

796		"installed into" "$(INSTALLPRIVLIB)" \

797		LINKTYPE "$(LINKTYPE)" \

798		VERSION "$(VERSION)" \

799		EXE_FILES "$(EXE_FILES)" \

800		>> $(DESTINSTALLARCHLIB)\perllocal.pod
801
802doc_site_install ::
803	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
804	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
805	-$(NOECHO) $(DOC_INSTALL) \

806		"Module" "$(NAME)" \

807		"installed into" "$(INSTALLSITELIB)" \

808		LINKTYPE "$(LINKTYPE)" \

809		VERSION "$(VERSION)" \

810		EXE_FILES "$(EXE_FILES)" \

811		>> $(DESTINSTALLARCHLIB)\perllocal.pod
812
813doc_vendor_install ::
814	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
815	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
816	-$(NOECHO) $(DOC_INSTALL) \

817		"Module" "$(NAME)" \

818		"installed into" "$(INSTALLVENDORLIB)" \

819		LINKTYPE "$(LINKTYPE)" \

820		VERSION "$(VERSION)" \

821		EXE_FILES "$(EXE_FILES)" \

822		>> $(DESTINSTALLARCHLIB)\perllocal.pod
823
824
825uninstall :: uninstall_from_$(INSTALLDIRS)dirs
826	$(NOECHO) $(NOOP)
827
828uninstall_from_perldirs ::
829	$(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)\auto\$(FULLEXT)\.packlist
830
831uninstall_from_sitedirs ::
832	$(NOECHO) $(UNINSTALL) $(SITEARCHEXP)\auto\$(FULLEXT)\.packlist
833
834uninstall_from_vendordirs ::
835	$(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)\auto\$(FULLEXT)\.packlist
836
837
838# --- MakeMaker force section:
839# Phony target to force checking subdirectories.
840FORCE:
841	$(NOECHO) $(NOOP)
842
843
844# --- MakeMaker perldepend section:
845
846PERL_HDRS = \

847	$(PERL_INC)/EXTERN.h		\

848	$(PERL_INC)/INTERN.h		\

849	$(PERL_INC)/XSUB.h		\

850	$(PERL_INC)/av.h		\

851	$(PERL_INC)/cc_runtime.h	\

852	$(PERL_INC)/config.h		\

853	$(PERL_INC)/cop.h		\

854	$(PERL_INC)/cv.h		\

855	$(PERL_INC)/dosish.h		\

856	$(PERL_INC)/embed.h		\

857	$(PERL_INC)/embedvar.h		\

858	$(PERL_INC)/fakethr.h		\

859	$(PERL_INC)/form.h		\

860	$(PERL_INC)/gv.h		\

861	$(PERL_INC)/handy.h		\

862	$(PERL_INC)/hv.h		\

863	$(PERL_INC)/intrpvar.h		\

864	$(PERL_INC)/iperlsys.h		\

865	$(PERL_INC)/keywords.h		\

866	$(PERL_INC)/mg.h		\

867	$(PERL_INC)/nostdio.h		\

868	$(PERL_INC)/op.h		\

869	$(PERL_INC)/opcode.h		\

870	$(PERL_INC)/patchlevel.h	\

871	$(PERL_INC)/perl.h		\

872	$(PERL_INC)/perlio.h		\

873	$(PERL_INC)/perlsdio.h		\

874	$(PERL_INC)/perlsfio.h		\

875	$(PERL_INC)/perlvars.h		\

876	$(PERL_INC)/perly.h		\

877	$(PERL_INC)/pp.h		\

878	$(PERL_INC)/pp_proto.h		\

879	$(PERL_INC)/proto.h		\

880	$(PERL_INC)/regcomp.h		\

881	$(PERL_INC)/regexp.h		\

882	$(PERL_INC)/regnodes.h		\

883	$(PERL_INC)/scope.h		\

884	$(PERL_INC)/sv.h		\

885	$(PERL_INC)/thrdvar.h		\

886	$(PERL_INC)/thread.h		\

887	$(PERL_INC)/unixish.h		\

888	$(PERL_INC)/util.h
889
890$(OBJECT) : $(PERL_HDRS)
891
892CairoSurface.c Cairo.c CairoFont.c CairoPath.c CairoPattern.c CairoMatrix.c : $(XSUBPPDEPS)
893
894
895# --- MakeMaker makefile section:
896
897$(OBJECT) : $(FIRST_MAKEFILE)
898
899# We take a very conservative approach here, but it's worth it.
900# We move Makefile to Makefile.old here to avoid gnu make looping.
901$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
902	$(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
903	$(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
904	-$(NOECHO) $(RM_F) $(MAKEFILE_OLD)
905	-$(NOECHO) $(MV)   $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
906	- $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL)
907	$(PERLRUN) Makefile.PL 
908	$(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
909	$(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command.  <=="
910	false
911
912
913
914# --- MakeMaker staticmake section:
915
916# --- MakeMaker makeaperl section ---
917MAP_TARGET    = perl
918FULLPERL      = C:\perl\5.8.8\bin\perl.exe
919
920$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
921	$(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@
922
923$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib
924	$(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
925	$(NOECHO) $(PERLRUNINST) \

926		Makefile.PL DIR= \

927		MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \

928		MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
929
930
931# --- MakeMaker test section:
932
933TEST_VERBOSE=0
934TEST_TYPE=test_$(LINKTYPE)
935TEST_FILE = test.pl
936TEST_FILES = t/*.t
937TESTDB_SW = -d
938
939testdb :: testdb_$(LINKTYPE)
940
941test :: $(TEST_TYPE)
942
943test_dynamic :: pure_all
944	$(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)
945
946testdb_dynamic :: pure_all
947	$(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
948
949test_ : test_dynamic
950
951test_static :: pure_all $(MAP_TARGET)
952	./$(MAP_TARGET) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)
953
954testdb_static :: pure_all $(MAP_TARGET)
955	./$(MAP_TARGET) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
956
957
958
959# --- MakeMaker ppd section:
960# Creates a PPD (Perl Package Description) for a binary distribution.
961ppd:
962	$(NOECHO) $(ECHO) "<SOFTPKG NAME=\"$(DISTNAME)\" VERSION=\"1,043,0,0\">" > $(DISTNAME).ppd
963	$(NOECHO) $(ECHO) "    <TITLE>$(DISTNAME)</TITLE>" >> $(DISTNAME).ppd
964	$(NOECHO) $(ECHO) "    <ABSTRACT>Perl interface to the cairo library</ABSTRACT>" >> $(DISTNAME).ppd
965	$(NOECHO) $(ECHO) "    <AUTHOR></AUTHOR>" >> $(DISTNAME).ppd
966	$(NOECHO) $(ECHO) "    <IMPLEMENTATION>" >> $(DISTNAME).ppd
967	$(NOECHO) $(ECHO) "        <DEPENDENCY NAME=\"ExtUtils-Depends\" VERSION=\"0,2,0,0\" />" >> $(DISTNAME).ppd
968	$(NOECHO) $(ECHO) "        <DEPENDENCY NAME=\"ExtUtils-PkgConfig\" VERSION=\"1,0,0,0\" />" >> $(DISTNAME).ppd
969	$(NOECHO) $(ECHO) "        <DEPENDENCY NAME=\"Test-Number-Delta\" VERSION=\"1,0,0,0\" />" >> $(DISTNAME).ppd
970	$(NOECHO) $(ECHO) "        <OS NAME=\"$(OSNAME)\" />" >> $(DISTNAME).ppd
971	$(NOECHO) $(ECHO) "        <ARCHITECTURE NAME=\"MSWin32-x86-multi-thread\" />" >> $(DISTNAME).ppd
972	$(NOECHO) $(ECHO) "        <CODEBASE HREF=\"\" />" >> $(DISTNAME).ppd
973	$(NOECHO) $(ECHO) "    </IMPLEMENTATION>" >> $(DISTNAME).ppd
974	$(NOECHO) $(ECHO) "</SOFTPKG>" >> $(DISTNAME).ppd
975
976
977# --- MakeMaker pm_to_blib section:
978
979pm_to_blib : $(TO_INST_PM)
980	$(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e "pm_to_blib({{@ARGV}, '$(INST_LIB)\auto', '$(PM_FILTER)')" \

981	  build/IFiles.pm $(INST_ARCHLIB)/$(FULLEXT)/Install/Files.pm \

982	  cairo-perl.typemap $(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl.typemap \

983	  build\cairo-perl-auto.typemap $(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl-auto.typemap \

984	  doctypes $(INST_ARCHLIB)/$(FULLEXT)/Install/doctypes \

985	  Cairo.pm $(INST_LIBDIR)/Cairo.pm \

986	  cairo-perl.h $(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl.h \

987	  build/cairo-perl-auto.typemap $(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl-auto.typemap \

988	  build/cairo-perl-auto.h $(INST_ARCHLIB)/$(FULLEXT)/Install/cairo-perl-auto.h 
989	$(NOECHO) $(TOUCH) pm_to_blib
990
991
992# --- MakeMaker selfdocument section:
993
994
995# --- MakeMaker postamble section:
996realclean ::
997	-$(RM_RF) build cairo-perl-enums.*
998
999# End.