Ticket #1310: Makefile

File Makefile, 24.2 KB (added by vrobin, 3 years ago)

Generated and modified (l.273) Makefile

Line 
1# This Makefile is for the Padre::Util::Win32 extension to perl.
2#
3# It was generated automatically by MakeMaker version
4# 6.59 (Revision: 65900) 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
12#   MakeMaker Parameters:
13
14#     ABSTRACT => q[Padre Win32 API XS Wrapper]
15#     BUILD_REQUIRES => {  }
16#     CONFIGURE_REQUIRES => {  }
17#     DEFINE => q[-DPSAPI_VERSION=1]
18#     LIBS => [q[-lpsapi]]
19#     NAME => q[Padre::Util::Win32]
20#     PREREQ_PM => {  }
21#     SKIP => [q[test]]
22#     VERSION_FROM => q[../lib/Padre/Util/Win32.pm]
23
24# --- MakeMaker post_initialize section:
25
26
27# --- MakeMaker const_config section:
28
29# These definitions are from config.sh (via C:/strawberry/perl/lib/Config.pm).
30# They may have been overridden via Makefile.PL or on the command line.
31AR = ar
32CC = gcc
33CCCDLFLAGS = 
34CCDLFLAGS = 
35DLEXT = dll
36DLSRC = dl_win32.xs
37EXE_EXT = .exe
38FULL_AR = 
39LD = g++.exe
40LDDLFLAGS = -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"
41LDFLAGS = -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"
42LIBC = 
43LIB_EXT = .a
44OBJ_EXT = .o
45OSNAME = MSWin32
46OSVERS = 5.1
47RANLIB = rem
48SITELIBEXP = C:\strawberry\perl\site\lib
49SITEARCHEXP = C:\strawberry\perl\site\lib
50SO = dll
51VENDORARCHEXP = C:\strawberry\perl\vendor\lib
52VENDORLIBEXP = C:\strawberry\perl\vendor\lib
53
54
55# --- MakeMaker constants section:
56
57# Get dmake to read long commands like PM_TO_BLIB
58MAXLINELENGTH = 65536
59
60AR_STATIC_ARGS = cr
61DIRFILESEP = \\
62DFSEP = $(DIRFILESEP)
63NAME = Padre::Util::Win32
64NAME_SYM = Padre_Util_Win32
65VERSION = 0.88
66VERSION_MACRO = VERSION
67VERSION_SYM = 0_88
68DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
69XS_VERSION = 0.88
70XS_VERSION_MACRO = XS_VERSION
71XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
72INST_ARCHLIB = ..\blib\arch
73INST_SCRIPT = ..\blib\script
74INST_BIN = ..\blib\bin
75INST_LIB = ..\blib\lib
76INST_MAN1DIR = ..\blib\man1
77INST_MAN3DIR = ..\blib\man3
78MAN1EXT = 1
79MAN3EXT = 3
80INSTALLDIRS = site
81DESTDIR = 
82PREFIX = $(SITEPREFIX)
83PERLPREFIX = C:\strawberry\perl
84SITEPREFIX = C:\strawberry\perl\site
85VENDORPREFIX = C:\strawberry\perl\vendor
86INSTALLPRIVLIB = C:\strawberry\perl\lib
87DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
88INSTALLSITELIB = C:\strawberry\perl\site\lib
89DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
90INSTALLVENDORLIB = C:\strawberry\perl\vendor\lib
91DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
92INSTALLARCHLIB = C:\strawberry\perl\lib
93DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
94INSTALLSITEARCH = C:\strawberry\perl\site\lib
95DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
96INSTALLVENDORARCH = C:\strawberry\perl\vendor\lib
97DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
98INSTALLBIN = C:\strawberry\perl\bin
99DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
100INSTALLSITEBIN = C:\strawberry\perl\site\bin
101DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
102INSTALLVENDORBIN = C:\strawberry\perl\bin
103DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
104INSTALLSCRIPT = C:\strawberry\perl\bin
105DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
106INSTALLSITESCRIPT = C:\strawberry\perl\site\bin
107DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT)
108INSTALLVENDORSCRIPT = C:\strawberry\perl\bin
109DESTINSTALLVENDORSCRIPT = $(DESTDIR)$(INSTALLVENDORSCRIPT)
110INSTALLMAN1DIR = none
111DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
112INSTALLSITEMAN1DIR = $(INSTALLMAN1DIR)
113DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
114INSTALLVENDORMAN1DIR = $(INSTALLMAN1DIR)
115DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
116INSTALLMAN3DIR = none
117DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
118INSTALLSITEMAN3DIR = $(INSTALLMAN3DIR)
119DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
120INSTALLVENDORMAN3DIR = $(INSTALLMAN3DIR)
121DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
122PERL_LIB = C:\strawberry\perl\lib
123PERL_ARCHLIB = C:\strawberry\perl\lib
124LIBPERL_A = libperl.a
125FIRST_MAKEFILE = Makefile
126MAKEFILE_OLD = Makefile.old
127MAKE_APERL_FILE = Makefile.aperl
128PERLMAINCC = $(CC)
129PERL_INC = C:\strawberry\perl\lib\CORE
130PERL = C:\strawberry\perl\bin\perl.exe
131FULLPERL = C:\strawberry\perl\bin\perl.exe
132ABSPERL = $(PERL)
133PERLRUN = $(PERL)
134FULLPERLRUN = $(FULLPERL)
135ABSPERLRUN = $(ABSPERL)
136PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
137FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
138ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
139PERL_CORE = 0
140PERM_DIR = 755
141PERM_RW = 644
142PERM_RWX = 755
143
144MAKEMAKER   = C:/strawberry/perl/lib/ExtUtils/MakeMaker.pm
145MM_VERSION  = 6.59
146MM_REVISION = 65900
147
148# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
149# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
150# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
151# DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
152MAKE = dmake
153FULLEXT = Padre\Util\Win32
154BASEEXT = Win32
155PARENT_NAME = Padre::Util
156DLBASE = $(BASEEXT)
157VERSION_FROM = ../lib/Padre/Util/Win32.pm
158DEFINE = -DPSAPI_VERSION=1
159OBJECT = $(BASEEXT)$(OBJ_EXT)
160LDFROM = $(OBJECT)
161LINKTYPE = dynamic
162BOOTDEP = 
163
164# Handy lists of source code files:
165XS_FILES = Win32.xs
166C_FILES  = Win32.c
167O_FILES  = Win32.o
168H_FILES  = 
169MAN1PODS = 
170MAN3PODS = 
171
172# Where is the Config information that we are using/depend on
173CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h
174
175# Where to build things
176INST_LIBDIR      = $(INST_LIB)\Padre\Util
177INST_ARCHLIBDIR  = $(INST_ARCHLIB)\Padre\Util
178
179INST_AUTODIR     = $(INST_LIB)\auto\$(FULLEXT)
180INST_ARCHAUTODIR = $(INST_ARCHLIB)\auto\$(FULLEXT)
181
182INST_STATIC      = $(INST_ARCHAUTODIR)\$(BASEEXT)$(LIB_EXT)
183INST_DYNAMIC     = $(INST_ARCHAUTODIR)\$(DLBASE).$(DLEXT)
184INST_BOOT        = $(INST_ARCHAUTODIR)\$(BASEEXT).bs
185
186# Extra linker info
187EXPORT_LIST        = $(BASEEXT).def
188PERL_ARCHIVE       = $(PERL_INC)\libperl512.a
189PERL_ARCHIVE_AFTER = 
190
191
192TO_INST_PM = 
193
194PM_TO_BLIB = 
195
196
197# --- MakeMaker platform_constants section:
198MM_Win32_VERSION = 6.59
199
200
201# --- MakeMaker tool_autosplit section:
202# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
203AUTOSPLITFILE = $(ABSPERLRUN)  -e "use AutoSplit;  autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)" --
204
205
206
207# --- MakeMaker tool_xsubpp section:
208
209XSUBPPDIR = C:\strawberry\perl\site\lib\ExtUtils
210XSUBPP = $(XSUBPPDIR)$(DFSEP)xsubpp
211XSUBPPRUN = $(PERLRUN) $(XSUBPP)
212XSPROTOARG = 
213XSUBPPDEPS = C:\strawberry\perl\lib\ExtUtils\typemap $(XSUBPP)
214XSUBPPARGS = -typemap C:\strawberry\perl\lib\ExtUtils\typemap
215XSUBPP_EXTRA_ARGS = 
216
217
218# --- MakeMaker tools_other section:
219CHMOD = $(ABSPERLRUN) -MExtUtils::Command -e "chmod" --
220CP = $(ABSPERLRUN) -MExtUtils::Command -e "cp" --
221MV = $(ABSPERLRUN) -MExtUtils::Command -e "mv" --
222NOOP = rem
223NOECHO = @
224RM_F = $(ABSPERLRUN) -MExtUtils::Command -e "rm_f" --
225RM_RF = $(ABSPERLRUN) -MExtUtils::Command -e "rm_rf" --
226TEST_F = $(ABSPERLRUN) -MExtUtils::Command -e "test_f" --
227TOUCH = $(ABSPERLRUN) -MExtUtils::Command -e "touch" --
228UMASK_NULL = umask 0
229DEV_NULL = > NUL
230MKPATH = $(ABSPERLRUN) -MExtUtils::Command -e "mkpath" --
231EQUALIZE_TIMESTAMP = $(ABSPERLRUN) -MExtUtils::Command -e "eqtime" --
232FALSE = $(ABSPERLRUN)  -e "exit 1" --
233TRUE = $(ABSPERLRUN)  -e "exit 0" --
234ECHO = $(ABSPERLRUN) -l -e "print qq{{@ARGV}" --
235ECHO_N = $(ABSPERLRUN)  -e "print qq{{@ARGV}" --
236UNINST = 0
237VERBINST = 0
238MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e "install([ from_to => {{@ARGV}, verbose => '$(VERBINST)', uninstall_shadows => '$(UNINST)', dir_mode => '$(PERM_DIR)' ]);" --
239DOC_INSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e "perllocal_install" --
240UNINSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e "uninstall" --
241WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) -MExtUtils::Command::MM -e "warn_if_old_packlist" --
242MACROSTART = 
243MACROEND = 
244USEMAKEFILE = -f
245FIXIN = pl2bat.bat
246
247
248# --- MakeMaker makemakerdflt section:
249makemakerdflt : all
250    $(NOECHO) $(NOOP)
251
252
253# --- MakeMaker dist section skipped.
254
255# --- MakeMaker macro section:
256
257
258# --- MakeMaker depend section:
259
260
261# --- MakeMaker cflags section:
262
263CCFLAGS = -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX
264OPTIMIZE = -s -O2
265PERLTYPE = 
266
267
268# --- MakeMaker const_loadlibs section:
269
270# Padre::Util::Win32 might depend on some other libraries:
271# See ExtUtils::Liblist for details
272#
273LDLOADLIBS = -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
274
275
276# --- MakeMaker const_cccmd section:
277CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \
278    $(CCFLAGS) $(OPTIMIZE) \
279    $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \
280    $(XS_DEFINE_VERSION)
281
282# --- MakeMaker post_constants section:
283
284
285# --- MakeMaker pasthru section:
286PASTHRU = 
287
288# --- MakeMaker special_targets section:
289.SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)
290
291.PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir
292
293.USESHELL :
294
295
296# --- MakeMaker c_o section:
297
298.c.i:
299    gcc -E -c $(PASTHRU_INC) $(INC) \
300    $(CCFLAGS) $(OPTIMIZE) \
301    $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \
302    $(XS_DEFINE_VERSION) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c > $*.i
303
304.c.s:
305    $(CCCMD) -S $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c
306
307.c$(OBJ_EXT):
308    $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c
309
310.cpp$(OBJ_EXT):
311    $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cpp
312
313.cxx$(OBJ_EXT):
314    $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cxx
315
316.cc$(OBJ_EXT):
317    $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cc
318
319
320# --- MakeMaker xs_c section:
321
322.xs.c:
323    $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $(XSUBPP_EXTRA_ARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c
324
325
326# --- MakeMaker xs_o section:
327
328
329# --- MakeMaker top_targets section:
330all :: pure_all
331    $(NOECHO) $(NOOP)
332
333
334pure_all :: config pm_to_blib subdirs linkext
335    $(NOECHO) $(NOOP)
336
337subdirs :: $(MYEXTLIB)
338    $(NOECHO) $(NOOP)
339
340config :: $(FIRST_MAKEFILE) blibdirs
341    $(NOECHO) $(NOOP)
342
343help :
344    perldoc ExtUtils::MakeMaker
345
346
347# --- MakeMaker blibdirs section:
348blibdirs : $(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
349    $(NOECHO) $(NOOP)
350
351# Backwards compat with 6.18 through 6.25
352blibdirs.ts : blibdirs
353    $(NOECHO) $(NOOP)
354
355$(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL
356    $(NOECHO) $(MKPATH) $(INST_LIBDIR)
357    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_LIBDIR)
358    $(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists
359
360$(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL
361    $(NOECHO) $(MKPATH) $(INST_ARCHLIB)
362    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHLIB)
363    $(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists
364
365$(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL
366    $(NOECHO) $(MKPATH) $(INST_AUTODIR)
367    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_AUTODIR)
368    $(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists
369
370$(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL
371    $(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
372    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHAUTODIR)
373    $(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists
374
375$(INST_BIN)$(DFSEP).exists :: Makefile.PL
376    $(NOECHO) $(MKPATH) $(INST_BIN)
377    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_BIN)
378    $(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists
379
380$(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL
381    $(NOECHO) $(MKPATH) $(INST_SCRIPT)
382    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_SCRIPT)
383    $(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists
384
385$(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL
386    $(NOECHO) $(MKPATH) $(INST_MAN1DIR)
387    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN1DIR)
388    $(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists
389
390$(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL
391    $(NOECHO) $(MKPATH) $(INST_MAN3DIR)
392    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN3DIR)
393    $(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists
394
395
396
397# --- MakeMaker linkext section:
398
399linkext :: $(LINKTYPE)
400    $(NOECHO) $(NOOP)
401
402
403# --- MakeMaker dlsyms section:
404
405Win32.def: Makefile.PL
406    $(PERLRUN) -MExtUtils::Mksymlists \
407     -e "Mksymlists('NAME'=>\"Padre::Util::Win32\", 'DLBASE' => '$(BASEEXT)', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
408
409
410# --- MakeMaker dynamic section:
411
412dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
413    $(NOECHO) $(NOOP)
414
415
416# --- MakeMaker dynamic_bs section:
417BOOTSTRAP = $(BASEEXT).bs
418
419# As Mkbootstrap might not write a file (if none is required)
420# we use touch to prevent make continually trying to remake it.
421# The DynaLoader only reads a non-empty file.
422$(BOOTSTRAP) : $(FIRST_MAKEFILE) $(BOOTDEP) $(INST_ARCHAUTODIR)$(DFSEP).exists
423    $(NOECHO) $(ECHO) "Running Mkbootstrap for $(NAME) ($(BSLOADLIBS))"
424    $(NOECHO) $(PERLRUN) \
425        "-MExtUtils::Mkbootstrap" \
426        -e "Mkbootstrap('$(BASEEXT)','$(BSLOADLIBS)');"
427    $(NOECHO) $(TOUCH) $@
428    $(CHMOD) $(PERM_RW) $@
429
430$(INST_BOOT) : $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DFSEP).exists
431    $(NOECHO) $(RM_RF) $@
432    - $(CP) $(BOOTSTRAP) $@
433    $(CHMOD) $(PERM_RW) $@
434
435
436# --- MakeMaker dynamic_lib section:
437
438# This section creates the dynamically loadable $(INST_DYNAMIC)
439# from $(OBJECT) and possibly $(MYEXTLIB).
440OTHERLDFLAGS = 
441INST_DYNAMIC_DEP = 
442
443$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPORT_LIST) $(PERL_ARCHIVE) $(INST_DYNAMIC_DEP)
444    dlltool --def $(EXPORT_LIST) --output-exp dll.exp
445    $(LD) -o $@ -Wl,--base-file -Wl,dll.base $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) dll.exp
446    dlltool --def $(EXPORT_LIST) --base-file dll.base --output-exp dll.exp
447    $(LD) -o $@ $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) dll.exp
448    $(CHMOD) $(PERM_RWX) $@
449
450
451# --- MakeMaker static section:
452
453## $(INST_PM) has been moved to the all: target.
454## It remains here for awhile to allow for old usage: "make static"
455static :: $(FIRST_MAKEFILE) $(INST_STATIC)
456    $(NOECHO) $(NOOP)
457
458
459# --- MakeMaker static_lib section:
460$(INST_STATIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DFSEP).exists
461    $(RM_RF) $@
462    $(AR) -ru $@ $(OBJECT)
463    $(CHMOD) $(PERM_RWX) $@
464    $(NOECHO) $(ECHO) "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)\extralibs.ld
465
466
467# --- MakeMaker manifypods section:
468
469POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
470POD2MAN = $(POD2MAN_EXE)
471
472
473manifypods : pure_all
474    $(NOECHO) $(NOOP)
475
476
477
478
479# --- MakeMaker processPL section:
480
481
482# --- MakeMaker installbin section:
483
484
485# --- MakeMaker subdirs section:
486
487# none
488
489# --- MakeMaker clean_subdirs section:
490clean_subdirs :
491    $(NOECHO) $(NOOP)
492
493
494# --- MakeMaker clean section:
495
496# Delete temporary files but do not touch installed files. We don't delete
497# the Makefile here so a later make realclean still has a makefile to use.
498
499clean :: clean_subdirs
500    - $(RM_F) \
501      *$(LIB_EXT) core \
502      core.[0-9] core.[0-9][0-9] \
503      $(BASEEXT).bso $(INST_ARCHAUTODIR)\extralibs.ld \
504      pm_to_blib.ts MYMETA.json \
505      core.[0-9][0-9][0-9][0-9] MYMETA.yml \
506      $(BASEEXT).x $(BOOTSTRAP) \
507      Win32.c perl$(EXE_EXT) \
508      tmon.out $(INST_ARCHAUTODIR)\extralibs.all \
509      *$(OBJ_EXT) pm_to_blib \
510      blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \
511      *perl.core core.*perl.*.? \
512      $(MAKE_APERL_FILE) $(BASEEXT).def \
513      perl core.[0-9][0-9][0-9] \
514      mon.out lib$(BASEEXT).def \
515      perlmain.c perl.exe \
516      so_locations $(BASEEXT).exp
517    - $(RM_RF) \
518      dll.exp dll.base \
519      blib
520    - $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
521
522
523# --- MakeMaker realclean_subdirs section:
524realclean_subdirs :
525    $(NOECHO) $(NOOP)
526
527
528# --- MakeMaker realclean section:
529# Delete temporary files (via clean) and also delete dist files
530realclean purge ::  clean realclean_subdirs
531    - $(RM_F) \
532      $(OBJECT) $(MAKEFILE_OLD) \
533      $(FIRST_MAKEFILE) 
534    - $(RM_RF) \
535      $(DISTVNAME) 
536
537
538# --- MakeMaker metafile section:
539metafile : create_distdir
540    $(NOECHO) $(ECHO) Generating META.yml
541    $(NOECHO) $(ECHO) "---" > META_new.yml
542    $(NOECHO) $(ECHO) "abstract: 'Padre Win32 API XS Wrapper'" >> META_new.yml
543    $(NOECHO) $(ECHO) "author:" >> META_new.yml
544    $(NOECHO) $(ECHO) "  - unknown" >> META_new.yml
545    $(NOECHO) $(ECHO) "build_requires:" >> META_new.yml
546    $(NOECHO) $(ECHO) "  ExtUtils::MakeMaker: 0" >> META_new.yml
547    $(NOECHO) $(ECHO) "configure_requires:" >> META_new.yml
548    $(NOECHO) $(ECHO) "  ExtUtils::MakeMaker: 0" >> META_new.yml
549    $(NOECHO) $(ECHO) "dynamic_config: 1" >> META_new.yml
550    $(NOECHO) $(ECHO) "generated_by: 'ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112150'" >> META_new.yml
551    $(NOECHO) $(ECHO) "license: unknown" >> META_new.yml
552    $(NOECHO) $(ECHO) "meta-spec:" >> META_new.yml
553    $(NOECHO) $(ECHO) "  url: http://module-build.sourceforge.net/META-spec-v1.4.html" >> META_new.yml
554    $(NOECHO) $(ECHO) "  version: 1.4" >> META_new.yml
555    $(NOECHO) $(ECHO) "name: Padre-Util-Win32" >> META_new.yml
556    $(NOECHO) $(ECHO) "no_index:" >> META_new.yml
557    $(NOECHO) $(ECHO) "  directory:" >> META_new.yml
558    $(NOECHO) $(ECHO) "    - t" >> META_new.yml
559    $(NOECHO) $(ECHO) "    - inc" >> META_new.yml
560    $(NOECHO) $(ECHO) "requires: {{}" >> META_new.yml
561    $(NOECHO) $(ECHO) "version: 0.88" >> META_new.yml
562    -$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml
563    $(NOECHO) $(ECHO) Generating META.json
564    $(NOECHO) $(ECHO) "{{" > META_new.json
565    $(NOECHO) $(ECHO) "   """abstract""" : """Padre Win32 API XS Wrapper"""," >> META_new.json
566    $(NOECHO) $(ECHO) "   """author""" : [" >> META_new.json
567    $(NOECHO) $(ECHO) "      """unknown"""" >> META_new.json
568    $(NOECHO) $(ECHO) "   ]," >> META_new.json
569    $(NOECHO) $(ECHO) "   """dynamic_config""" : 1," >> META_new.json
570    $(NOECHO) $(ECHO) "   """generated_by""" : """ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112150"""," >> META_new.json
571    $(NOECHO) $(ECHO) "   """license""" : [" >> META_new.json
572    $(NOECHO) $(ECHO) "      """unknown"""" >> META_new.json
573    $(NOECHO) $(ECHO) "   ]," >> META_new.json
574    $(NOECHO) $(ECHO) "   """meta-spec""" : {{" >> META_new.json
575    $(NOECHO) $(ECHO) "      """url""" : """http://search.cpan.org/perldoc?CPAN::Meta::Spec"""," >> META_new.json
576    $(NOECHO) $(ECHO) "      """version""" : """2"""" >> META_new.json
577    $(NOECHO) $(ECHO) "   }," >> META_new.json
578    $(NOECHO) $(ECHO) "   """name""" : """Padre-Util-Win32"""," >> META_new.json
579    $(NOECHO) $(ECHO) "   """no_index""" : {{" >> META_new.json
580    $(NOECHO) $(ECHO) "      """directory""" : [" >> META_new.json
581    $(NOECHO) $(ECHO) "         """t"""," >> META_new.json
582    $(NOECHO) $(ECHO) "         """inc"""" >> META_new.json
583    $(NOECHO) $(ECHO) "      ]" >> META_new.json
584    $(NOECHO) $(ECHO) "   }," >> META_new.json
585    $(NOECHO) $(ECHO) "   """prereqs""" : {{" >> META_new.json
586    $(NOECHO) $(ECHO) "      """build""" : {{" >> META_new.json
587    $(NOECHO) $(ECHO) "         """requires""" : {{" >> META_new.json
588    $(NOECHO) $(ECHO) "            """ExtUtils::MakeMaker""" : 0" >> META_new.json
589    $(NOECHO) $(ECHO) "         }" >> META_new.json
590    $(NOECHO) $(ECHO) "      }," >> META_new.json
591    $(NOECHO) $(ECHO) "      """configure""" : {{" >> META_new.json
592    $(NOECHO) $(ECHO) "         """requires""" : {{" >> META_new.json
593    $(NOECHO) $(ECHO) "            """ExtUtils::MakeMaker""" : 0" >> META_new.json
594    $(NOECHO) $(ECHO) "         }" >> META_new.json
595    $(NOECHO) $(ECHO) "      }," >> META_new.json
596    $(NOECHO) $(ECHO) "      """runtime""" : {{" >> META_new.json
597    $(NOECHO) $(ECHO) "         """requires""" : {{}" >> META_new.json
598    $(NOECHO) $(ECHO) "      }" >> META_new.json
599    $(NOECHO) $(ECHO) "   }," >> META_new.json
600    $(NOECHO) $(ECHO) "   """release_status""" : """stable"""," >> META_new.json
601    $(NOECHO) $(ECHO) "   """version""" : """0.88"""" >> META_new.json
602    $(NOECHO) $(ECHO) "}" >> META_new.json
603    -$(NOECHO) $(MV) META_new.json $(DISTVNAME)/META.json
604
605
606# --- MakeMaker signature section:
607signature :
608    cpansign -s
609
610
611# --- MakeMaker dist_basics section skipped.
612
613# --- MakeMaker dist_core section skipped.
614
615# --- MakeMaker distdir section skipped.
616
617# --- MakeMaker dist_test section skipped.
618
619# --- MakeMaker dist_ci section skipped.
620
621# --- MakeMaker distmeta section:
622distmeta : create_distdir metafile
623    $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e "exit unless -e q{{META.yml};\
624eval {{ maniadd({{q{{META.yml} => q{{Module YAML meta-data (added by MakeMaker)}}}) }\
625    or print """Could not add META.yml to MANIFEST: $${{'@'}\\n"""" --
626    $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e "exit unless -f q{{META.json};\
627eval {{ maniadd({{q{{META.json} => q{{Module JSON meta-data (added by MakeMaker)}}}) }\
628    or print """Could not add META.json to MANIFEST: $${{'@'}\\n"""" --
629
630
631
632# --- MakeMaker distsignature section:
633distsignature : create_distdir
634    $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e "eval {{ maniadd({{q{{SIGNATURE} => q{{Public-key signature (added by MakeMaker)}}}) } \
635    or print """Could not add SIGNATURE to MANIFEST: $${{'@'}\\n"""" --
636    $(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE
637    cd $(DISTVNAME) && cpansign -s
638
639
640
641# --- MakeMaker install section skipped.
642
643# --- MakeMaker force section:
644# Phony target to force checking subdirectories.
645FORCE :
646    $(NOECHO) $(NOOP)
647
648
649# --- MakeMaker perldepend section:
650
651PERL_HDRS = \
652    $(PERL_INC)/EXTERN.h        \
653    $(PERL_INC)/INTERN.h        \
654    $(PERL_INC)/XSUB.h      \
655    $(PERL_INC)/av.h        \
656    $(PERL_INC)/config.h        \
657    $(PERL_INC)/cop.h       \
658    $(PERL_INC)/cv.h        \
659    $(PERL_INC)/dosish.h        \
660    $(PERL_INC)/embed.h     \
661    $(PERL_INC)/embedvar.h      \
662    $(PERL_INC)/fakethr.h       \
663    $(PERL_INC)/form.h      \
664    $(PERL_INC)/gv.h        \
665    $(PERL_INC)/handy.h     \
666    $(PERL_INC)/hv.h        \
667    $(PERL_INC)/intrpvar.h      \
668    $(PERL_INC)/iperlsys.h      \
669    $(PERL_INC)/keywords.h      \
670    $(PERL_INC)/mg.h        \
671    $(PERL_INC)/nostdio.h       \
672    $(PERL_INC)/op.h        \
673    $(PERL_INC)/opcode.h        \
674    $(PERL_INC)/patchlevel.h    \
675    $(PERL_INC)/perl.h      \
676    $(PERL_INC)/perlio.h        \
677    $(PERL_INC)/perlsdio.h      \
678    $(PERL_INC)/perlsfio.h      \
679    $(PERL_INC)/perlvars.h      \
680    $(PERL_INC)/perly.h     \
681    $(PERL_INC)/pp.h        \
682    $(PERL_INC)/pp_proto.h      \
683    $(PERL_INC)/proto.h     \
684    $(PERL_INC)/regcomp.h       \
685    $(PERL_INC)/regexp.h        \
686    $(PERL_INC)/regnodes.h      \
687    $(PERL_INC)/scope.h     \
688    $(PERL_INC)/sv.h        \
689    $(PERL_INC)/thread.h        \
690    $(PERL_INC)/unixish.h       \
691    $(PERL_INC)/util.h
692
693$(OBJECT) : $(PERL_HDRS)
694
695Win32.c : $(XSUBPPDEPS)
696
697
698# --- MakeMaker makefile section:
699
700$(OBJECT) : $(FIRST_MAKEFILE)
701
702# We take a very conservative approach here, but it's worth it.
703# We move Makefile to Makefile.old here to avoid gnu make looping.
704$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
705    $(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
706    $(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
707    -$(NOECHO) $(RM_F) $(MAKEFILE_OLD)
708    -$(NOECHO) $(MV)   $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
709    - $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL)
710    $(PERLRUN) Makefile.PL
711    $(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
712    $(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command.  <=="
713    $(FALSE)
714
715
716
717# --- MakeMaker staticmake section:
718
719# --- MakeMaker makeaperl section ---
720MAP_TARGET    = ..\perl
721FULLPERL      = C:\strawberry\perl\bin\perl.exe
722
723
724# --- MakeMaker test section skipped.
725
726# --- MakeMaker ppd section:
727# Creates a PPD (Perl Package Description) for a binary distribution.
728ppd :
729    $(NOECHO) $(ECHO) "<SOFTPKG NAME="""$(DISTNAME)""" VERSION="""0.88""">" > $(DISTNAME).ppd
730    $(NOECHO) $(ECHO) "    <ABSTRACT>Padre Win32 API XS Wrapper</ABSTRACT>" >> $(DISTNAME).ppd
731    $(NOECHO) $(ECHO) "    <AUTHOR></AUTHOR>" >> $(DISTNAME).ppd
732    $(NOECHO) $(ECHO) "    <IMPLEMENTATION>" >> $(DISTNAME).ppd
733    $(NOECHO) $(ECHO) "        <ARCHITECTURE NAME="""MSWin32-x86-multi-thread-5.12""" />" >> $(DISTNAME).ppd
734    $(NOECHO) $(ECHO) "        <CODEBASE HREF="""""" />" >> $(DISTNAME).ppd
735    $(NOECHO) $(ECHO) "    </IMPLEMENTATION>" >> $(DISTNAME).ppd
736    $(NOECHO) $(ECHO) "</SOFTPKG>" >> $(DISTNAME).ppd
737
738
739# --- MakeMaker pm_to_blib section:
740
741pm_to_blib : $(FIRST_MAKEFILE) $(TO_INST_PM)
742    $(NOECHO) $(TOUCH) pm_to_blib
743
744
745# --- MakeMaker selfdocument section:
746
747
748# --- MakeMaker postamble section:
749
750test :
751
752
753# End.