1 | # This Makefile is for the ARB extension to perl. |
---|
2 | # |
---|
3 | # It was generated automatically by MakeMaker version |
---|
4 | # 6.55_02 (Revision: 65502) 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 | # BUILD_REQUIRES => { } |
---|
15 | # DEFINE => undef |
---|
16 | # INC => q[-I../../INCLUDE] |
---|
17 | # INSTALLSITEARCH => q[../../lib/perl5/] |
---|
18 | # INSTALLSITELIB => q[../../lib/perl5/] |
---|
19 | # LDFROM => q[ARB_wrap.o -L../../lib -lARBDB -lCORE] |
---|
20 | # NAME => q[ARB] |
---|
21 | # OBJECT => q[ARB_wrap.o] |
---|
22 | # PREREQ_PM => { } |
---|
23 | |
---|
24 | # --- MakeMaker post_initialize section: |
---|
25 | |
---|
26 | |
---|
27 | # --- MakeMaker const_config section: |
---|
28 | |
---|
29 | # These definitions are from config.sh (via /usr/lib/perl/5.10/Config.pm). |
---|
30 | # They may have been overridden via Makefile.PL or on the command line. |
---|
31 | AR = ar |
---|
32 | CC = cc |
---|
33 | CCCDLFLAGS = -fPIC |
---|
34 | CCDLFLAGS = -Wl,-E |
---|
35 | DLEXT = so |
---|
36 | DLSRC = dl_dlopen.xs |
---|
37 | EXE_EXT = |
---|
38 | FULL_AR = /usr/bin/ar |
---|
39 | LD = cc |
---|
40 | LDDLFLAGS = -shared -O2 -g -L/usr/local/lib -fstack-protector |
---|
41 | LDFLAGS = -fstack-protector -L/usr/local/lib |
---|
42 | LIBC = /lib/libc-2.11.1.so |
---|
43 | LIB_EXT = .a |
---|
44 | OBJ_EXT = .o |
---|
45 | OSNAME = linux |
---|
46 | OSVERS = 2.6.24-28-server |
---|
47 | RANLIB = : |
---|
48 | SITELIBEXP = /usr/local/share/perl/5.10.1 |
---|
49 | SITEARCHEXP = /usr/local/lib/perl/5.10.1 |
---|
50 | SO = so |
---|
51 | VENDORARCHEXP = /usr/lib/perl5 |
---|
52 | VENDORLIBEXP = /usr/share/perl5 |
---|
53 | |
---|
54 | |
---|
55 | # --- MakeMaker constants section: |
---|
56 | AR_STATIC_ARGS = cr |
---|
57 | DIRFILESEP = / |
---|
58 | DFSEP = $(DIRFILESEP) |
---|
59 | NAME = ARB |
---|
60 | NAME_SYM = ARB |
---|
61 | VERSION = |
---|
62 | VERSION_MACRO = VERSION |
---|
63 | VERSION_SYM = |
---|
64 | DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\" |
---|
65 | XS_VERSION = |
---|
66 | XS_VERSION_MACRO = XS_VERSION |
---|
67 | XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\" |
---|
68 | INST_ARCHLIB = blib/arch |
---|
69 | INST_SCRIPT = blib/script |
---|
70 | INST_BIN = blib/bin |
---|
71 | INST_LIB = blib/lib |
---|
72 | INST_MAN1DIR = blib/man1 |
---|
73 | INST_MAN3DIR = blib/man3 |
---|
74 | MAN1EXT = 1p |
---|
75 | MAN3EXT = 3pm |
---|
76 | INSTALLDIRS = site |
---|
77 | DESTDIR = |
---|
78 | PREFIX = /usr |
---|
79 | PERLPREFIX = $(PREFIX) |
---|
80 | SITEPREFIX = $(PREFIX)/local |
---|
81 | VENDORPREFIX = $(PREFIX) |
---|
82 | INSTALLPRIVLIB = $(PERLPREFIX)/share/perl/5.10 |
---|
83 | DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB) |
---|
84 | INSTALLSITELIB = ../../lib/perl5/ |
---|
85 | DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB) |
---|
86 | INSTALLVENDORLIB = $(VENDORPREFIX)/share/perl5 |
---|
87 | DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB) |
---|
88 | INSTALLARCHLIB = $(PERLPREFIX)/lib/perl/5.10 |
---|
89 | DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB) |
---|
90 | INSTALLSITEARCH = ../../lib/perl5/ |
---|
91 | DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH) |
---|
92 | INSTALLVENDORARCH = $(VENDORPREFIX)/lib/perl5 |
---|
93 | DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH) |
---|
94 | INSTALLBIN = $(PERLPREFIX)/bin |
---|
95 | DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN) |
---|
96 | INSTALLSITEBIN = $(SITEPREFIX)/bin |
---|
97 | DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN) |
---|
98 | INSTALLVENDORBIN = $(VENDORPREFIX)/bin |
---|
99 | DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN) |
---|
100 | INSTALLSCRIPT = $(PERLPREFIX)/bin |
---|
101 | DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT) |
---|
102 | INSTALLSITESCRIPT = $(SITEPREFIX)/bin |
---|
103 | DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT) |
---|
104 | INSTALLVENDORSCRIPT = $(VENDORPREFIX)/bin |
---|
105 | DESTINSTALLVENDORSCRIPT = $(DESTDIR)$(INSTALLVENDORSCRIPT) |
---|
106 | INSTALLMAN1DIR = $(PERLPREFIX)/share/man/man1 |
---|
107 | DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR) |
---|
108 | INSTALLSITEMAN1DIR = $(SITEPREFIX)/man/man1 |
---|
109 | DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR) |
---|
110 | INSTALLVENDORMAN1DIR = $(VENDORPREFIX)/share/man/man1 |
---|
111 | DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR) |
---|
112 | INSTALLMAN3DIR = $(PERLPREFIX)/share/man/man3 |
---|
113 | DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR) |
---|
114 | INSTALLSITEMAN3DIR = $(SITEPREFIX)/man/man3 |
---|
115 | DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR) |
---|
116 | INSTALLVENDORMAN3DIR = $(VENDORPREFIX)/share/man/man3 |
---|
117 | DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR) |
---|
118 | PERL_LIB = /usr/share/perl/5.10 |
---|
119 | PERL_ARCHLIB = /usr/lib/perl/5.10 |
---|
120 | LIBPERL_A = libperl.a |
---|
121 | FIRST_MAKEFILE = Makefile |
---|
122 | MAKEFILE_OLD = Makefile.old |
---|
123 | MAKE_APERL_FILE = Makefile.aperl |
---|
124 | PERLMAINCC = $(CC) |
---|
125 | PERL_INC = /usr/lib/perl/5.10/CORE |
---|
126 | PERL = /usr/bin/perl |
---|
127 | FULLPERL = /usr/bin/perl |
---|
128 | ABSPERL = $(PERL) |
---|
129 | PERLRUN = $(PERL) |
---|
130 | FULLPERLRUN = $(FULLPERL) |
---|
131 | ABSPERLRUN = $(ABSPERL) |
---|
132 | PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" |
---|
133 | FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" |
---|
134 | ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" |
---|
135 | PERL_CORE = 0 |
---|
136 | PERM_DIR = 755 |
---|
137 | PERM_RW = 644 |
---|
138 | PERM_RWX = 755 |
---|
139 | |
---|
140 | MAKEMAKER = /usr/share/perl/5.10/ExtUtils/MakeMaker.pm |
---|
141 | MM_VERSION = 6.55_02 |
---|
142 | MM_REVISION = 65502 |
---|
143 | |
---|
144 | # FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle). |
---|
145 | # BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle) |
---|
146 | # PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar) |
---|
147 | # DLBASE = Basename part of dynamic library. May be just equal BASEEXT. |
---|
148 | MAKE = make |
---|
149 | FULLEXT = ARB |
---|
150 | BASEEXT = ARB |
---|
151 | PARENT_NAME = |
---|
152 | DLBASE = $(BASEEXT) |
---|
153 | VERSION_FROM = |
---|
154 | INC = -I../../INCLUDE |
---|
155 | OBJECT = ARB_wrap$(OBJ_EXT) |
---|
156 | LDFROM = ARB_wrap.o -L../../lib -lARBDB -lCORE |
---|
157 | LINKTYPE = dynamic |
---|
158 | BOOTDEP = |
---|
159 | |
---|
160 | # Handy lists of source code files: |
---|
161 | XS_FILES = |
---|
162 | C_FILES = |
---|
163 | O_FILES = |
---|
164 | H_FILES = |
---|
165 | MAN1PODS = |
---|
166 | MAN3PODS = |
---|
167 | |
---|
168 | # Where is the Config information that we are using/depend on |
---|
169 | CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h |
---|
170 | |
---|
171 | # Where to build things |
---|
172 | INST_LIBDIR = $(INST_LIB) |
---|
173 | INST_ARCHLIBDIR = $(INST_ARCHLIB) |
---|
174 | |
---|
175 | INST_AUTODIR = $(INST_LIB)/auto/$(FULLEXT) |
---|
176 | INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT) |
---|
177 | |
---|
178 | INST_STATIC = $(INST_ARCHAUTODIR)/$(BASEEXT)$(LIB_EXT) |
---|
179 | INST_DYNAMIC = $(INST_ARCHAUTODIR)/$(DLBASE).$(DLEXT) |
---|
180 | INST_BOOT = $(INST_ARCHAUTODIR)/$(BASEEXT).bs |
---|
181 | |
---|
182 | # Extra linker info |
---|
183 | EXPORT_LIST = |
---|
184 | PERL_ARCHIVE = |
---|
185 | PERL_ARCHIVE_AFTER = |
---|
186 | |
---|
187 | |
---|
188 | TO_INST_PM = ARB.pm |
---|
189 | |
---|
190 | PM_TO_BLIB = ARB.pm \ |
---|
191 | $(INST_LIB)/ARB.pm |
---|
192 | |
---|
193 | |
---|
194 | # --- MakeMaker platform_constants section: |
---|
195 | MM_Unix_VERSION = 6.55_02 |
---|
196 | PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc |
---|
197 | |
---|
198 | |
---|
199 | # --- MakeMaker tool_autosplit section: |
---|
200 | # Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto |
---|
201 | AUTOSPLITFILE = $(ABSPERLRUN) -e 'use AutoSplit; autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)' -- |
---|
202 | |
---|
203 | |
---|
204 | |
---|
205 | # --- MakeMaker tool_xsubpp section: |
---|
206 | |
---|
207 | XSUBPPDIR = /usr/share/perl/5.10/ExtUtils |
---|
208 | XSUBPP = $(XSUBPPDIR)$(DFSEP)xsubpp |
---|
209 | XSUBPPRUN = $(PERLRUN) $(XSUBPP) |
---|
210 | XSPROTOARG = |
---|
211 | XSUBPPDEPS = /usr/share/perl/5.10/ExtUtils/typemap $(XSUBPP) |
---|
212 | XSUBPPARGS = -typemap /usr/share/perl/5.10/ExtUtils/typemap |
---|
213 | XSUBPP_EXTRA_ARGS = |
---|
214 | |
---|
215 | |
---|
216 | # --- MakeMaker tools_other section: |
---|
217 | SHELL = /bin/sh |
---|
218 | CHMOD = chmod |
---|
219 | CP = cp |
---|
220 | MV = mv |
---|
221 | NOOP = $(TRUE) |
---|
222 | NOECHO = @ |
---|
223 | RM_F = rm -f |
---|
224 | RM_RF = rm -rf |
---|
225 | TEST_F = test -f |
---|
226 | TOUCH = touch |
---|
227 | UMASK_NULL = umask 0 |
---|
228 | DEV_NULL = > /dev/null 2>&1 |
---|
229 | MKPATH = $(ABSPERLRUN) -MExtUtils::Command -e 'mkpath' -- |
---|
230 | EQUALIZE_TIMESTAMP = $(ABSPERLRUN) -MExtUtils::Command -e 'eqtime' -- |
---|
231 | FALSE = false |
---|
232 | TRUE = true |
---|
233 | ECHO = echo |
---|
234 | ECHO_N = echo -n |
---|
235 | UNINST = 0 |
---|
236 | VERBINST = 0 |
---|
237 | MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e 'install([ from_to => {@ARGV}, verbose => '\''$(VERBINST)'\'', uninstall_shadows => '\''$(UNINST)'\'', dir_mode => '\''$(PERM_DIR)'\'' ]);' -- |
---|
238 | DOC_INSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'perllocal_install' -- |
---|
239 | UNINSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'uninstall' -- |
---|
240 | WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'warn_if_old_packlist' -- |
---|
241 | MACROSTART = |
---|
242 | MACROEND = |
---|
243 | USEMAKEFILE = -f |
---|
244 | FIXIN = $(ABSPERLRUN) -MExtUtils::MY -e 'MY->fixin(shift)' -- |
---|
245 | |
---|
246 | |
---|
247 | # --- MakeMaker makemakerdflt section: |
---|
248 | makemakerdflt : all |
---|
249 | $(NOECHO) $(NOOP) |
---|
250 | |
---|
251 | |
---|
252 | # --- MakeMaker dist section: |
---|
253 | TAR = tar |
---|
254 | TARFLAGS = cvf |
---|
255 | ZIP = zip |
---|
256 | ZIPFLAGS = -r |
---|
257 | COMPRESS = gzip --best |
---|
258 | SUFFIX = .gz |
---|
259 | SHAR = shar |
---|
260 | PREOP = $(NOECHO) $(NOOP) |
---|
261 | POSTOP = $(NOECHO) $(NOOP) |
---|
262 | TO_UNIX = $(NOECHO) $(NOOP) |
---|
263 | CI = ci -u |
---|
264 | RCS_LABEL = rcs -Nv$(VERSION_SYM): -q |
---|
265 | DIST_CP = best |
---|
266 | DIST_DEFAULT = tardist |
---|
267 | DISTNAME = ARB |
---|
268 | DISTVNAME = ARB- |
---|
269 | |
---|
270 | |
---|
271 | # --- MakeMaker macro section: |
---|
272 | |
---|
273 | |
---|
274 | # --- MakeMaker depend section: |
---|
275 | |
---|
276 | |
---|
277 | # --- MakeMaker cflags section: |
---|
278 | |
---|
279 | CCFLAGS = -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
---|
280 | OPTIMIZE = -O2 -g |
---|
281 | PERLTYPE = |
---|
282 | MPOLLUTE = |
---|
283 | |
---|
284 | |
---|
285 | # --- MakeMaker const_loadlibs section: |
---|
286 | |
---|
287 | # ARB might depend on some other libraries: |
---|
288 | # See ExtUtils::Liblist for details |
---|
289 | # |
---|
290 | |
---|
291 | |
---|
292 | # --- MakeMaker const_cccmd section: |
---|
293 | CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \ |
---|
294 | $(CCFLAGS) $(OPTIMIZE) \ |
---|
295 | $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \ |
---|
296 | $(XS_DEFINE_VERSION) |
---|
297 | |
---|
298 | # --- MakeMaker post_constants section: |
---|
299 | |
---|
300 | |
---|
301 | # --- MakeMaker pasthru section: |
---|
302 | |
---|
303 | PASTHRU = LIBPERL_A="$(LIBPERL_A)"\ |
---|
304 | LINKTYPE="$(LINKTYPE)"\ |
---|
305 | OPTIMIZE="$(OPTIMIZE)"\ |
---|
306 | PREFIX="$(PREFIX)"\ |
---|
307 | PASTHRU_INC="$(PASTHRU_INC)" |
---|
308 | |
---|
309 | |
---|
310 | # --- MakeMaker special_targets section: |
---|
311 | .SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT) |
---|
312 | |
---|
313 | .PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir |
---|
314 | |
---|
315 | |
---|
316 | |
---|
317 | # --- MakeMaker c_o section: |
---|
318 | |
---|
319 | .c.i: |
---|
320 | cc -E -c $(PASTHRU_INC) $(INC) \ |
---|
321 | $(CCFLAGS) $(OPTIMIZE) \ |
---|
322 | $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \ |
---|
323 | $(XS_DEFINE_VERSION) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c > $*.i |
---|
324 | |
---|
325 | .c.s: |
---|
326 | $(CCCMD) -S $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c |
---|
327 | |
---|
328 | .c$(OBJ_EXT): |
---|
329 | $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c |
---|
330 | |
---|
331 | .cpp$(OBJ_EXT): |
---|
332 | $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cpp |
---|
333 | |
---|
334 | .cxx$(OBJ_EXT): |
---|
335 | $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cxx |
---|
336 | |
---|
337 | .cc$(OBJ_EXT): |
---|
338 | $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cc |
---|
339 | |
---|
340 | .C$(OBJ_EXT): |
---|
341 | $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.C |
---|
342 | |
---|
343 | |
---|
344 | # --- MakeMaker xs_c section: |
---|
345 | |
---|
346 | .xs.c: |
---|
347 | $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $(XSUBPP_EXTRA_ARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c |
---|
348 | |
---|
349 | |
---|
350 | # --- MakeMaker xs_o section: |
---|
351 | |
---|
352 | .xs$(OBJ_EXT): |
---|
353 | $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c |
---|
354 | $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c |
---|
355 | |
---|
356 | |
---|
357 | # --- MakeMaker top_targets section: |
---|
358 | all :: pure_all manifypods |
---|
359 | $(NOECHO) $(NOOP) |
---|
360 | |
---|
361 | |
---|
362 | pure_all :: config pm_to_blib subdirs linkext |
---|
363 | $(NOECHO) $(NOOP) |
---|
364 | |
---|
365 | subdirs :: $(MYEXTLIB) |
---|
366 | $(NOECHO) $(NOOP) |
---|
367 | |
---|
368 | config :: $(FIRST_MAKEFILE) blibdirs |
---|
369 | $(NOECHO) $(NOOP) |
---|
370 | |
---|
371 | help : |
---|
372 | perldoc ExtUtils::MakeMaker |
---|
373 | |
---|
374 | |
---|
375 | # --- MakeMaker blibdirs section: |
---|
376 | blibdirs : $(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 |
---|
377 | $(NOECHO) $(NOOP) |
---|
378 | |
---|
379 | # Backwards compat with 6.18 through 6.25 |
---|
380 | blibdirs.ts : blibdirs |
---|
381 | $(NOECHO) $(NOOP) |
---|
382 | |
---|
383 | $(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL |
---|
384 | $(NOECHO) $(MKPATH) $(INST_LIBDIR) |
---|
385 | $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_LIBDIR) |
---|
386 | $(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists |
---|
387 | |
---|
388 | $(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL |
---|
389 | $(NOECHO) $(MKPATH) $(INST_ARCHLIB) |
---|
390 | $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHLIB) |
---|
391 | $(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists |
---|
392 | |
---|
393 | $(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL |
---|
394 | $(NOECHO) $(MKPATH) $(INST_AUTODIR) |
---|
395 | $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_AUTODIR) |
---|
396 | $(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists |
---|
397 | |
---|
398 | $(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL |
---|
399 | $(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR) |
---|
400 | $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHAUTODIR) |
---|
401 | $(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists |
---|
402 | |
---|
403 | $(INST_BIN)$(DFSEP).exists :: Makefile.PL |
---|
404 | $(NOECHO) $(MKPATH) $(INST_BIN) |
---|
405 | $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_BIN) |
---|
406 | $(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists |
---|
407 | |
---|
408 | $(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL |
---|
409 | $(NOECHO) $(MKPATH) $(INST_SCRIPT) |
---|
410 | $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_SCRIPT) |
---|
411 | $(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists |
---|
412 | |
---|
413 | $(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL |
---|
414 | $(NOECHO) $(MKPATH) $(INST_MAN1DIR) |
---|
415 | $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN1DIR) |
---|
416 | $(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists |
---|
417 | |
---|
418 | $(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL |
---|
419 | $(NOECHO) $(MKPATH) $(INST_MAN3DIR) |
---|
420 | $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN3DIR) |
---|
421 | $(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists |
---|
422 | |
---|
423 | |
---|
424 | |
---|
425 | # --- MakeMaker linkext section: |
---|
426 | |
---|
427 | linkext :: $(LINKTYPE) |
---|
428 | $(NOECHO) $(NOOP) |
---|
429 | |
---|
430 | |
---|
431 | # --- MakeMaker dlsyms section: |
---|
432 | |
---|
433 | |
---|
434 | # --- MakeMaker dynamic section: |
---|
435 | |
---|
436 | dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT) |
---|
437 | $(NOECHO) $(NOOP) |
---|
438 | |
---|
439 | |
---|
440 | # --- MakeMaker dynamic_bs section: |
---|
441 | BOOTSTRAP = $(BASEEXT).bs |
---|
442 | |
---|
443 | # As Mkbootstrap might not write a file (if none is required) |
---|
444 | # we use touch to prevent make continually trying to remake it. |
---|
445 | # The DynaLoader only reads a non-empty file. |
---|
446 | $(BOOTSTRAP) : $(FIRST_MAKEFILE) $(BOOTDEP) $(INST_ARCHAUTODIR)$(DFSEP).exists |
---|
447 | $(NOECHO) $(ECHO) "Running Mkbootstrap for $(NAME) ($(BSLOADLIBS))" |
---|
448 | $(NOECHO) $(PERLRUN) \ |
---|
449 | "-MExtUtils::Mkbootstrap" \ |
---|
450 | -e "Mkbootstrap('$(BASEEXT)','$(BSLOADLIBS)');" |
---|
451 | $(NOECHO) $(TOUCH) $@ |
---|
452 | $(CHMOD) $(PERM_RW) $@ |
---|
453 | |
---|
454 | $(INST_BOOT) : $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DFSEP).exists |
---|
455 | $(NOECHO) $(RM_RF) $@ |
---|
456 | - $(CP) $(BOOTSTRAP) $@ |
---|
457 | $(CHMOD) $(PERM_RW) $@ |
---|
458 | |
---|
459 | |
---|
460 | # --- MakeMaker dynamic_lib section: |
---|
461 | |
---|
462 | # This section creates the dynamically loadable $(INST_DYNAMIC) |
---|
463 | # from $(OBJECT) and possibly $(MYEXTLIB). |
---|
464 | ARMAYBE = : |
---|
465 | OTHERLDFLAGS = |
---|
466 | INST_DYNAMIC_DEP = |
---|
467 | INST_DYNAMIC_FIX = |
---|
468 | |
---|
469 | $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPORT_LIST) $(PERL_ARCHIVE) $(PERL_ARCHIVE_AFTER) $(INST_DYNAMIC_DEP) |
---|
470 | $(RM_F) $@ |
---|
471 | $(LD) $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) -o $@ $(MYEXTLIB) \ |
---|
472 | $(PERL_ARCHIVE) $(LDLOADLIBS) $(PERL_ARCHIVE_AFTER) $(EXPORT_LIST) \ |
---|
473 | $(INST_DYNAMIC_FIX) |
---|
474 | $(CHMOD) $(PERM_RWX) $@ |
---|
475 | |
---|
476 | |
---|
477 | # --- MakeMaker static section: |
---|
478 | |
---|
479 | ## $(INST_PM) has been moved to the all: target. |
---|
480 | ## It remains here for awhile to allow for old usage: "make static" |
---|
481 | static :: $(FIRST_MAKEFILE) $(INST_STATIC) |
---|
482 | $(NOECHO) $(NOOP) |
---|
483 | |
---|
484 | |
---|
485 | # --- MakeMaker static_lib section: |
---|
486 | |
---|
487 | $(INST_STATIC) : $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DFSEP).exists |
---|
488 | $(RM_RF) $@ |
---|
489 | $(FULL_AR) $(AR_STATIC_ARGS) $@ $(OBJECT) && $(RANLIB) $@ |
---|
490 | $(CHMOD) $(PERM_RWX) $@ |
---|
491 | $(NOECHO) $(ECHO) "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)/extralibs.ld |
---|
492 | |
---|
493 | |
---|
494 | # --- MakeMaker manifypods section: |
---|
495 | |
---|
496 | POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--" |
---|
497 | POD2MAN = $(POD2MAN_EXE) |
---|
498 | |
---|
499 | |
---|
500 | manifypods : pure_all |
---|
501 | $(NOECHO) $(NOOP) |
---|
502 | |
---|
503 | |
---|
504 | |
---|
505 | |
---|
506 | # --- MakeMaker processPL section: |
---|
507 | |
---|
508 | |
---|
509 | # --- MakeMaker installbin section: |
---|
510 | |
---|
511 | |
---|
512 | # --- MakeMaker subdirs section: |
---|
513 | |
---|
514 | # none |
---|
515 | |
---|
516 | # --- MakeMaker clean_subdirs section: |
---|
517 | clean_subdirs : |
---|
518 | $(NOECHO) $(NOOP) |
---|
519 | |
---|
520 | |
---|
521 | # --- MakeMaker clean section: |
---|
522 | |
---|
523 | # Delete temporary files but do not touch installed files. We don't delete |
---|
524 | # the Makefile here so a later make realclean still has a makefile to use. |
---|
525 | |
---|
526 | clean :: clean_subdirs |
---|
527 | - $(RM_F) \ |
---|
528 | *$(LIB_EXT) core \ |
---|
529 | core.[0-9] $(INST_ARCHAUTODIR)/extralibs.all \ |
---|
530 | core.[0-9][0-9] $(BASEEXT).bso \ |
---|
531 | pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \ |
---|
532 | $(BASEEXT).x $(BOOTSTRAP) \ |
---|
533 | perl$(EXE_EXT) tmon.out \ |
---|
534 | *$(OBJ_EXT) pm_to_blib \ |
---|
535 | $(INST_ARCHAUTODIR)/extralibs.ld blibdirs.ts \ |
---|
536 | core.[0-9][0-9][0-9][0-9][0-9] *perl.core \ |
---|
537 | core.*perl.*.? $(MAKE_APERL_FILE) \ |
---|
538 | perl $(BASEEXT).def \ |
---|
539 | core.[0-9][0-9][0-9] mon.out \ |
---|
540 | lib$(BASEEXT).def perlmain.c \ |
---|
541 | perl.exe so_locations \ |
---|
542 | $(BASEEXT).exp |
---|
543 | - $(RM_RF) \ |
---|
544 | blib |
---|
545 | - $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL) |
---|
546 | |
---|
547 | |
---|
548 | # --- MakeMaker realclean_subdirs section: |
---|
549 | realclean_subdirs : |
---|
550 | $(NOECHO) $(NOOP) |
---|
551 | |
---|
552 | |
---|
553 | # --- MakeMaker realclean section: |
---|
554 | # Delete temporary files (via clean) and also delete dist files |
---|
555 | realclean purge :: clean realclean_subdirs |
---|
556 | - $(RM_F) \ |
---|
557 | $(OBJECT) $(MAKEFILE_OLD) \ |
---|
558 | $(FIRST_MAKEFILE) |
---|
559 | - $(RM_RF) \ |
---|
560 | $(DISTVNAME) |
---|
561 | |
---|
562 | |
---|
563 | # --- MakeMaker metafile section: |
---|
564 | metafile : create_distdir |
---|
565 | $(NOECHO) $(ECHO) Generating META.yml |
---|
566 | $(NOECHO) $(ECHO) '--- #YAML:1.0' > META_new.yml |
---|
567 | $(NOECHO) $(ECHO) 'name: ARB' >> META_new.yml |
---|
568 | $(NOECHO) $(ECHO) 'version: ' >> META_new.yml |
---|
569 | $(NOECHO) $(ECHO) 'abstract: ~' >> META_new.yml |
---|
570 | $(NOECHO) $(ECHO) 'author: []' >> META_new.yml |
---|
571 | $(NOECHO) $(ECHO) 'license: unknown' >> META_new.yml |
---|
572 | $(NOECHO) $(ECHO) 'distribution_type: module' >> META_new.yml |
---|
573 | $(NOECHO) $(ECHO) 'configure_requires:' >> META_new.yml |
---|
574 | $(NOECHO) $(ECHO) ' ExtUtils::MakeMaker: 0' >> META_new.yml |
---|
575 | $(NOECHO) $(ECHO) 'build_requires:' >> META_new.yml |
---|
576 | $(NOECHO) $(ECHO) ' ExtUtils::MakeMaker: 0' >> META_new.yml |
---|
577 | $(NOECHO) $(ECHO) 'requires: {}' >> META_new.yml |
---|
578 | $(NOECHO) $(ECHO) 'no_index:' >> META_new.yml |
---|
579 | $(NOECHO) $(ECHO) ' directory:' >> META_new.yml |
---|
580 | $(NOECHO) $(ECHO) ' - t' >> META_new.yml |
---|
581 | $(NOECHO) $(ECHO) ' - inc' >> META_new.yml |
---|
582 | $(NOECHO) $(ECHO) 'generated_by: ExtUtils::MakeMaker version 6.55_02' >> META_new.yml |
---|
583 | $(NOECHO) $(ECHO) 'meta-spec:' >> META_new.yml |
---|
584 | $(NOECHO) $(ECHO) ' url: http://module-build.sourceforge.net/META-spec-v1.4.html' >> META_new.yml |
---|
585 | $(NOECHO) $(ECHO) ' version: 1.4' >> META_new.yml |
---|
586 | -$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml |
---|
587 | |
---|
588 | |
---|
589 | # --- MakeMaker signature section: |
---|
590 | signature : |
---|
591 | cpansign -s |
---|
592 | |
---|
593 | |
---|
594 | # --- MakeMaker dist_basics section: |
---|
595 | distclean :: realclean distcheck |
---|
596 | $(NOECHO) $(NOOP) |
---|
597 | |
---|
598 | distcheck : |
---|
599 | $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck |
---|
600 | |
---|
601 | skipcheck : |
---|
602 | $(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck |
---|
603 | |
---|
604 | manifest : |
---|
605 | $(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest |
---|
606 | |
---|
607 | veryclean : realclean |
---|
608 | $(RM_F) *~ */*~ *.orig */*.orig *.bak */*.bak *.old */*.old |
---|
609 | |
---|
610 | |
---|
611 | |
---|
612 | # --- MakeMaker dist_core section: |
---|
613 | |
---|
614 | dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE) |
---|
615 | $(NOECHO) $(ABSPERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \ |
---|
616 | -e ' if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';' -- |
---|
617 | |
---|
618 | tardist : $(DISTVNAME).tar$(SUFFIX) |
---|
619 | $(NOECHO) $(NOOP) |
---|
620 | |
---|
621 | uutardist : $(DISTVNAME).tar$(SUFFIX) |
---|
622 | uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu |
---|
623 | |
---|
624 | $(DISTVNAME).tar$(SUFFIX) : distdir |
---|
625 | $(PREOP) |
---|
626 | $(TO_UNIX) |
---|
627 | $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME) |
---|
628 | $(RM_RF) $(DISTVNAME) |
---|
629 | $(COMPRESS) $(DISTVNAME).tar |
---|
630 | $(POSTOP) |
---|
631 | |
---|
632 | zipdist : $(DISTVNAME).zip |
---|
633 | $(NOECHO) $(NOOP) |
---|
634 | |
---|
635 | $(DISTVNAME).zip : distdir |
---|
636 | $(PREOP) |
---|
637 | $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME) |
---|
638 | $(RM_RF) $(DISTVNAME) |
---|
639 | $(POSTOP) |
---|
640 | |
---|
641 | shdist : distdir |
---|
642 | $(PREOP) |
---|
643 | $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar |
---|
644 | $(RM_RF) $(DISTVNAME) |
---|
645 | $(POSTOP) |
---|
646 | |
---|
647 | |
---|
648 | # --- MakeMaker distdir section: |
---|
649 | create_distdir : |
---|
650 | $(RM_RF) $(DISTVNAME) |
---|
651 | $(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \ |
---|
652 | -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');" |
---|
653 | |
---|
654 | distdir : create_distdir distmeta |
---|
655 | $(NOECHO) $(NOOP) |
---|
656 | |
---|
657 | |
---|
658 | |
---|
659 | # --- MakeMaker dist_test section: |
---|
660 | disttest : distdir |
---|
661 | cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL |
---|
662 | cd $(DISTVNAME) && $(MAKE) $(PASTHRU) |
---|
663 | cd $(DISTVNAME) && $(MAKE) test $(PASTHRU) |
---|
664 | |
---|
665 | |
---|
666 | |
---|
667 | # --- MakeMaker dist_ci section: |
---|
668 | |
---|
669 | ci : |
---|
670 | $(PERLRUN) "-MExtUtils::Manifest=maniread" \ |
---|
671 | -e "@all = keys %{ maniread() };" \ |
---|
672 | -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \ |
---|
673 | -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});" |
---|
674 | |
---|
675 | |
---|
676 | # --- MakeMaker distmeta section: |
---|
677 | distmeta : create_distdir metafile |
---|
678 | $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{META.yml} => q{Module meta-data (added by MakeMaker)}}) } ' \ |
---|
679 | -e ' or print "Could not add META.yml to MANIFEST: $${'\''@'\''}\n"' -- |
---|
680 | |
---|
681 | |
---|
682 | |
---|
683 | # --- MakeMaker distsignature section: |
---|
684 | distsignature : create_distdir |
---|
685 | $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{SIGNATURE} => q{Public-key signature (added by MakeMaker)}}) } ' \ |
---|
686 | -e ' or print "Could not add SIGNATURE to MANIFEST: $${'\''@'\''}\n"' -- |
---|
687 | $(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE |
---|
688 | cd $(DISTVNAME) && cpansign -s |
---|
689 | |
---|
690 | |
---|
691 | |
---|
692 | # --- MakeMaker install section: |
---|
693 | |
---|
694 | install :: pure_install doc_install |
---|
695 | $(NOECHO) $(NOOP) |
---|
696 | |
---|
697 | install_perl :: pure_perl_install doc_perl_install |
---|
698 | $(NOECHO) $(NOOP) |
---|
699 | |
---|
700 | install_site :: pure_site_install doc_site_install |
---|
701 | $(NOECHO) $(NOOP) |
---|
702 | |
---|
703 | install_vendor :: pure_vendor_install doc_vendor_install |
---|
704 | $(NOECHO) $(NOOP) |
---|
705 | |
---|
706 | pure_install :: pure_$(INSTALLDIRS)_install |
---|
707 | $(NOECHO) $(NOOP) |
---|
708 | |
---|
709 | doc_install :: doc_$(INSTALLDIRS)_install |
---|
710 | $(NOECHO) $(NOOP) |
---|
711 | |
---|
712 | pure__install : pure_site_install |
---|
713 | $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site |
---|
714 | |
---|
715 | doc__install : doc_site_install |
---|
716 | $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site |
---|
717 | |
---|
718 | pure_perl_install :: all |
---|
719 | $(NOECHO) umask 022; $(MOD_INSTALL) \ |
---|
720 | $(INST_LIB) $(DESTINSTALLPRIVLIB) \ |
---|
721 | $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \ |
---|
722 | $(INST_BIN) $(DESTINSTALLBIN) \ |
---|
723 | $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \ |
---|
724 | $(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \ |
---|
725 | $(INST_MAN3DIR) $(DESTINSTALLMAN3DIR) |
---|
726 | $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ |
---|
727 | $(SITEARCHEXP)/auto/$(FULLEXT) |
---|
728 | |
---|
729 | |
---|
730 | pure_site_install :: all |
---|
731 | $(NOECHO) umask 02; $(MOD_INSTALL) \ |
---|
732 | read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \ |
---|
733 | write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \ |
---|
734 | $(INST_LIB) $(DESTINSTALLSITELIB) \ |
---|
735 | $(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \ |
---|
736 | $(INST_BIN) $(DESTINSTALLSITEBIN) \ |
---|
737 | $(INST_SCRIPT) $(DESTINSTALLSITESCRIPT) \ |
---|
738 | $(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \ |
---|
739 | $(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR) |
---|
740 | $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ |
---|
741 | $(PERL_ARCHLIB)/auto/$(FULLEXT) |
---|
742 | |
---|
743 | pure_vendor_install :: all |
---|
744 | $(NOECHO) umask 022; $(MOD_INSTALL) \ |
---|
745 | $(INST_LIB) $(DESTINSTALLVENDORLIB) \ |
---|
746 | $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \ |
---|
747 | $(INST_BIN) $(DESTINSTALLVENDORBIN) \ |
---|
748 | $(INST_SCRIPT) $(DESTINSTALLVENDORSCRIPT) \ |
---|
749 | $(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \ |
---|
750 | $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR) |
---|
751 | |
---|
752 | doc_perl_install :: all |
---|
753 | |
---|
754 | doc_site_install :: all |
---|
755 | $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod |
---|
756 | -$(NOECHO) umask 02; $(MKPATH) $(DESTINSTALLSITEARCH) |
---|
757 | -$(NOECHO) umask 02; $(DOC_INSTALL) \ |
---|
758 | "Module" "$(NAME)" \ |
---|
759 | "installed into" "$(INSTALLSITELIB)" \ |
---|
760 | LINKTYPE "$(LINKTYPE)" \ |
---|
761 | VERSION "$(VERSION)" \ |
---|
762 | EXE_FILES "$(EXE_FILES)" \ |
---|
763 | >> $(DESTINSTALLSITEARCH)/perllocal.pod |
---|
764 | |
---|
765 | doc_vendor_install :: all |
---|
766 | |
---|
767 | |
---|
768 | uninstall :: uninstall_from_$(INSTALLDIRS)dirs |
---|
769 | $(NOECHO) $(NOOP) |
---|
770 | |
---|
771 | uninstall_from_perldirs :: |
---|
772 | |
---|
773 | uninstall_from_sitedirs :: |
---|
774 | $(NOECHO) $(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist |
---|
775 | |
---|
776 | uninstall_from_vendordirs :: |
---|
777 | |
---|
778 | |
---|
779 | |
---|
780 | # --- MakeMaker force section: |
---|
781 | # Phony target to force checking subdirectories. |
---|
782 | FORCE : |
---|
783 | $(NOECHO) $(NOOP) |
---|
784 | |
---|
785 | |
---|
786 | # --- MakeMaker perldepend section: |
---|
787 | |
---|
788 | PERL_HDRS = \ |
---|
789 | $(PERL_INC)/EXTERN.h \ |
---|
790 | $(PERL_INC)/INTERN.h \ |
---|
791 | $(PERL_INC)/XSUB.h \ |
---|
792 | $(PERL_INC)/av.h \ |
---|
793 | $(PERL_INC)/cc_runtime.h \ |
---|
794 | $(PERL_INC)/config.h \ |
---|
795 | $(PERL_INC)/cop.h \ |
---|
796 | $(PERL_INC)/cv.h \ |
---|
797 | $(PERL_INC)/dosish.h \ |
---|
798 | $(PERL_INC)/embed.h \ |
---|
799 | $(PERL_INC)/embedvar.h \ |
---|
800 | $(PERL_INC)/fakethr.h \ |
---|
801 | $(PERL_INC)/form.h \ |
---|
802 | $(PERL_INC)/gv.h \ |
---|
803 | $(PERL_INC)/handy.h \ |
---|
804 | $(PERL_INC)/hv.h \ |
---|
805 | $(PERL_INC)/intrpvar.h \ |
---|
806 | $(PERL_INC)/iperlsys.h \ |
---|
807 | $(PERL_INC)/keywords.h \ |
---|
808 | $(PERL_INC)/mg.h \ |
---|
809 | $(PERL_INC)/nostdio.h \ |
---|
810 | $(PERL_INC)/op.h \ |
---|
811 | $(PERL_INC)/opcode.h \ |
---|
812 | $(PERL_INC)/patchlevel.h \ |
---|
813 | $(PERL_INC)/perl.h \ |
---|
814 | $(PERL_INC)/perlio.h \ |
---|
815 | $(PERL_INC)/perlsdio.h \ |
---|
816 | $(PERL_INC)/perlsfio.h \ |
---|
817 | $(PERL_INC)/perlvars.h \ |
---|
818 | $(PERL_INC)/perly.h \ |
---|
819 | $(PERL_INC)/pp.h \ |
---|
820 | $(PERL_INC)/pp_proto.h \ |
---|
821 | $(PERL_INC)/proto.h \ |
---|
822 | $(PERL_INC)/regcomp.h \ |
---|
823 | $(PERL_INC)/regexp.h \ |
---|
824 | $(PERL_INC)/regnodes.h \ |
---|
825 | $(PERL_INC)/scope.h \ |
---|
826 | $(PERL_INC)/sv.h \ |
---|
827 | $(PERL_INC)/thread.h \ |
---|
828 | $(PERL_INC)/unixish.h \ |
---|
829 | $(PERL_INC)/util.h |
---|
830 | |
---|
831 | $(OBJECT) : $(PERL_HDRS) |
---|
832 | |
---|
833 | |
---|
834 | # --- MakeMaker makefile section: |
---|
835 | |
---|
836 | $(OBJECT) : $(FIRST_MAKEFILE) |
---|
837 | |
---|
838 | # We take a very conservative approach here, but it's worth it. |
---|
839 | # We move Makefile to Makefile.old here to avoid gnu make looping. |
---|
840 | $(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP) |
---|
841 | $(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?" |
---|
842 | $(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..." |
---|
843 | -$(NOECHO) $(RM_F) $(MAKEFILE_OLD) |
---|
844 | -$(NOECHO) $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) |
---|
845 | - $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL) |
---|
846 | $(PERLRUN) Makefile.PL |
---|
847 | $(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <==" |
---|
848 | $(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command. <==" |
---|
849 | $(FALSE) |
---|
850 | |
---|
851 | |
---|
852 | |
---|
853 | # --- MakeMaker staticmake section: |
---|
854 | |
---|
855 | # --- MakeMaker makeaperl section --- |
---|
856 | MAP_TARGET = perl |
---|
857 | FULLPERL = /usr/bin/perl |
---|
858 | |
---|
859 | $(MAP_TARGET) :: static $(MAKE_APERL_FILE) |
---|
860 | $(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@ |
---|
861 | |
---|
862 | $(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib |
---|
863 | $(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET) |
---|
864 | $(NOECHO) $(PERLRUNINST) \ |
---|
865 | Makefile.PL DIR= \ |
---|
866 | MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \ |
---|
867 | MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= |
---|
868 | |
---|
869 | |
---|
870 | # --- MakeMaker test section: |
---|
871 | |
---|
872 | TEST_VERBOSE=0 |
---|
873 | TEST_TYPE=test_$(LINKTYPE) |
---|
874 | TEST_FILE = test.pl |
---|
875 | TEST_FILES = |
---|
876 | TESTDB_SW = -d |
---|
877 | |
---|
878 | testdb :: testdb_$(LINKTYPE) |
---|
879 | |
---|
880 | test :: $(TEST_TYPE) subdirs-test |
---|
881 | |
---|
882 | subdirs-test :: |
---|
883 | $(NOECHO) $(NOOP) |
---|
884 | |
---|
885 | $(NOECHO) $(ECHO) 'No tests defined for $(NAME) extension.' |
---|
886 | |
---|
887 | test_dynamic :: pure_all |
---|
888 | |
---|
889 | testdb_dynamic :: pure_all |
---|
890 | PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE) |
---|
891 | |
---|
892 | test_ : test_dynamic |
---|
893 | |
---|
894 | test_static :: pure_all $(MAP_TARGET) |
---|
895 | |
---|
896 | testdb_static :: pure_all $(MAP_TARGET) |
---|
897 | PERL_DL_NONLAZY=1 ./$(MAP_TARGET) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE) |
---|
898 | |
---|
899 | |
---|
900 | |
---|
901 | # --- MakeMaker ppd section: |
---|
902 | # Creates a PPD (Perl Package Description) for a binary distribution. |
---|
903 | ppd : |
---|
904 | $(NOECHO) $(ECHO) '<SOFTPKG NAME="$(DISTNAME)" VERSION="">' > $(DISTNAME).ppd |
---|
905 | $(NOECHO) $(ECHO) ' <ABSTRACT></ABSTRACT>' >> $(DISTNAME).ppd |
---|
906 | $(NOECHO) $(ECHO) ' <AUTHOR></AUTHOR>' >> $(DISTNAME).ppd |
---|
907 | $(NOECHO) $(ECHO) ' <IMPLEMENTATION>' >> $(DISTNAME).ppd |
---|
908 | $(NOECHO) $(ECHO) ' <ARCHITECTURE NAME="x86_64-linux-gnu-thread-multi-5.10" />' >> $(DISTNAME).ppd |
---|
909 | $(NOECHO) $(ECHO) ' <CODEBASE HREF="" />' >> $(DISTNAME).ppd |
---|
910 | $(NOECHO) $(ECHO) ' </IMPLEMENTATION>' >> $(DISTNAME).ppd |
---|
911 | $(NOECHO) $(ECHO) '</SOFTPKG>' >> $(DISTNAME).ppd |
---|
912 | |
---|
913 | |
---|
914 | # --- MakeMaker pm_to_blib section: |
---|
915 | |
---|
916 | pm_to_blib : $(FIRST_MAKEFILE) $(TO_INST_PM) |
---|
917 | $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', q[$(PM_FILTER)], '\''$(PERM_DIR)'\'')' -- \ |
---|
918 | ARB.pm $(INST_LIB)/ARB.pm |
---|
919 | $(NOECHO) $(TOUCH) pm_to_blib |
---|
920 | |
---|
921 | |
---|
922 | # --- MakeMaker selfdocument section: |
---|
923 | |
---|
924 | |
---|
925 | # --- MakeMaker postamble section: |
---|
926 | |
---|
927 | |
---|
928 | # End. |
---|