Skip to content
Newer
Older
100644 1600 lines (1290 sloc) 48.1 KB
599a829 perl 5.003_07: Makefile.SH
Ilya Zakharevich authored Oct 9, 1996
1 #! /bin/sh
a02608d @jhi The problem described in 20010514.031 still wasn't
jhi authored May 15, 2001
2 case $PERL_CONFIG_SH in
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
3 '')
66b9921 @jhi Looking for config.sh in parent directories isn't
jhi authored Mar 18, 2001
4 if test -f config.sh
5 then TOP=.
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
6 else
7 echo "Can't find config.sh."; exit 1
8 fi
9 . $TOP/config.sh
10 ;;
11 esac
761ee4e 1. Creating backward compatibility for Configure after patches
Brendan O'Dea authored Feb 16, 2004
12
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
13 case $CROSS_NAME in
14 '')
15 Makefile=Makefile
16 ;;
17 *)
18 # if cross-compilation, the Makefile named accordingly
19 Makefile=Makefile-cross-$CROSS_NAME
20 . Cross/config-${CROSS_NAME}.sh
21 ;;
22 esac
23
761ee4e 1. Creating backward compatibility for Configure after patches
Brendan O'Dea authored Feb 15, 2004
24 # H.Merijn Brand [17 Feb 2004]
25 # This comment is just to ensure that Configure will find variables that
26 # are removed/replaced in patches on blead, but are still needed in the
27 # 5.8.x, 5.6.x and 5.005.x maintainance tracks.
28 # metaconfig -m will scan all .SH files on this level (not deeper), and
29 # not in x2p and other subfolders. This file is as good as any .SH
30 # patch references
31 # #22227 $baserev
32 # #22302 $yacc $byacc
33
08c9200 @Tux Added probes for strlcat () and strlcpy () to Configure
Tux authored Oct 30, 2004
34 # H.Merijn Brand [30 Oct 2004]
35 # Mentioned for the same reason for future reference
36 # #23434 $d_strlcat $d_strlcpy
37
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
38 : This forces SH files to create target in same directory as SH file.
39 : This is so that make depend always knows where to find SH derivatives.
40 case "$0" in
41 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
42 esac
43
d5d19f9 Support shared libperl on SunOS
Ulrich Pfeifer authored Dec 20, 1996
44 linklibperl='$(LIBPERL)'
fe5460c AIX patches for Perl 5.8.9 RC2 and gcc on AIX + suidperl on AIX READM…
Rainer Tammer authored Dec 4, 2008
45 linklibperl_nonshr=''
3c321fd [inseparable changes from match from perl-5.003_98 to perl-5.003_99]
Perl 5 Porters authored May 1, 1997
46 shrpldflags='$(LDDLFLAGS)'
6ee623d [win32] integrate mainline
Gurusamy Sarathy authored May 14, 1998
47 ldlibpth=''
ac9901e partial support for dynaloading on OS/390
Peter Prymmer authored Jan 19, 2001
48 DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB'
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
49 DPERL_IS_MINIPERL='-DPERL_IS_MINIPERL'
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
50 case "$useshrplib" in
51 true)
f4db540 Add new step to run_byacc which:
Nick Ing-Simmons authored Jun 14, 2001
52 # Prefix all runs of 'miniperl' and 'perl' with
5cf1d1f @jhi Introduce $Config{ldlibpthname} which contains
jhi authored Jul 23, 1999
53 # $ldlibpth so that ./perl finds *this* shared libperl.
c1b49bc avoid adding null components to LD_LIBRARY_PATH, OpenBSD has trouble
Gurusamy Sarathy authored Feb 4, 2000
54 case "$LD_LIBRARY_PATH" in
55 '')
56 ldlibpth="LD_LIBRARY_PATH=`pwd`";;
57 *)
58 ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
59 esac
6ee623d [win32] integrate mainline
Gurusamy Sarathy authored May 14, 1998
60
d5d19f9 Support shared libperl on SunOS
Ulrich Pfeifer authored Dec 20, 1996
61 pldlflags="$cccdlflags"
07f3cc2 Move the static/dynamic/nonxs LINKTYPE logic from make_ext.pl to Make…
Nicholas Clark authored Jan 31, 2009
62 static_ldflags=''
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
63 case "${osname}${osvers}" in
64 next4*)
3c321fd [inseparable changes from match from perl-5.003_98 to perl-5.003_99]
Perl 5 Porters authored Apr 30, 1997
65 ld=libtool
66 lddlflags="-dynamic -undefined warning -framework System \
67 -compatibility_version 1 -current_version $patchlevel \
68 -prebind -seg1addr 0x27000000 -install_name \$(shrpdir)/\$@"
6ee623d [win32] integrate mainline
Gurusamy Sarathy authored May 14, 1998
69 ;;
f556e5b @jhi Rhapsody/Darwin patches from Wilfredo Sanchez.
jhi authored Feb 26, 2000
70 rhapsody*|darwin*)
71 shrpldflags="${ldflags} -dynamiclib \
c1e7a12 Set proper compatibility versions in core
Wilfredo Sánchez authored Jul 27, 2001
72 -compatibility_version \
73 ${api_revision}.${api_version}.${api_subversion} \
f556e5b @jhi Rhapsody/Darwin patches from Wilfredo Sanchez.
jhi authored Feb 26, 2000
74 -current_version \
c1e7a12 Set proper compatibility versions in core
Wilfredo Sánchez authored Jul 27, 2001
75 ${revision}.${patchlevel}.${subversion} \
f556e5b @jhi Rhapsody/Darwin patches from Wilfredo Sanchez.
jhi authored Feb 26, 2000
76 -install_name \$(shrpdir)/\$@"
77 ;;
5cf1d1f @jhi Introduce $Config{ldlibpthname} which contains
jhi authored Jul 23, 1999
78 cygwin*)
5f9145a @rurban Cygwin build harmonization, remove cygwin/Makefile.SHs
rurban authored Jul 28, 2008
79 shrpldflags="$shrpldflags -Wl,--out-implib=libperl.dll.a -Wl,--image-base,0x52000000"
80 linklibperl="-L. -lperl"
8736538 cygwin32 update (untested adaptation of patch against 5.005_03)
Alexander Smishlajev authored Apr 25, 1999
81 ;;
73d40b3 @jhi Jumbo FreeBSD update from Anton Berezin <tobez@plab.ku.dk>
jhi authored Feb 2, 1999
82 sunos*)
d5d19f9 Support shared libperl on SunOS
Ulrich Pfeifer authored Dec 20, 1996
83 linklibperl="-lperl"
84 ;;
a774dfe Patch for perl to compile/work on DragonFlyBSD
Robert Sebastian Gerus authored Feb 14, 2006
85 netbsd*|freebsd[234]*|openbsd*|dragonfly*)
099685b @jhi NetBSD update, based on patches from the NetBSD packages system.
jhi authored Jan 19, 1999
86 linklibperl="-L. -lperl"
87 ;;
0c52c6a @tvierling [perl #33892] Add Interix support
tvierling authored Jan 21, 2005
88 interix*)
89 linklibperl="-L. -lperl"
90 shrpldflags="$shrpldflags -Wl,--image-base,0x57000000"
91 ;;
3c321fd [inseparable changes from match from perl-5.003_98 to perl-5.003_99]
Perl 5 Porters authored Apr 30, 1997
92 aix*)
21efc95 Unwind change 31976 then apply
Rainer Tammer authored Dec 2, 2008
93 case "$cc" in
94 gcc*)
95 shrpldflags="-shared -Wl,-H512 -Wl,-T512 -Wl,-bhalt:4 -Wl,-bM:SRE -Wl,-bE:perl.exp"
96 case "$osvers" in
97 3*) shrpldflags="$shrpldflags -e _nostart"
98 ;;
99 *) shrpldflags="$shrpldflags -Wl,-bnoentry"
100 ;;
101 esac
102 shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"
103 linklibperl="-L $archlibexp/CORE -L `pwd | sed 's/\/UU$//'` -lperl"
fe5460c AIX patches for Perl 5.8.9 RC2 and gcc on AIX + suidperl on AIX READM…
Rainer Tammer authored Dec 4, 2008
104 linklibperl_nonshr='-lperl_nonshr'
1553ab0 perl5.004 on AIX: Patches
Tim Bunce authored Jun 11, 1997
105 ;;
21efc95 Unwind change 31976 then apply
Rainer Tammer authored Dec 2, 2008
106 *)
107 shrpldflags="-H512 -T512 -bhalt:4 -bM:SRE -bE:perl.exp"
108 case "$osvers" in
109 3*) shrpldflags="$shrpldflags -e _nostart"
110 ;;
111 *) shrpldflags="$shrpldflags -b noentry"
112 ;;
113 esac
114 shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"
115 linklibperl="-L $archlibexp/CORE -L `pwd | sed 's/\/UU$//'` -lperl"
fe5460c AIX patches for Perl 5.8.9 RC2 and gcc on AIX + suidperl on AIX READM…
Rainer Tammer authored Dec 4, 2008
116 linklibperl_nonshr='-lperl_nonshr'
1553ab0 perl5.004 on AIX: Patches
Tim Bunce authored Jun 11, 1997
117 ;;
118 esac
3c321fd [inseparable changes from match from perl-5.003_98 to perl-5.003_99]
Perl 5 Porters authored Apr 30, 1997
119 ;;
1c7d1a1 hpux needs {SHLIB_PATH,LDOPTS} rather than LD_{LIBRARY,RUN}_PATH
Gurusamy Sarathy authored May 9, 1999
120 hpux*)
121 linklibperl="-L `pwd | sed 's/\/UU$//'` -Wl,+s -Wl,+b$archlibexp/CORE -lperl"
4619340 @jhi BeOS update (Mirror maint-5.005 change #2727).
jhi authored Feb 2, 1999
122 ;;
ac9901e partial support for dynaloading on OS/390
Peter Prymmer authored Jan 19, 2001
123 os390*)
4144573 @jhi z/OS: hints/os390.sh and Makefile.SH
jhi authored Jul 11, 2006
124 shrpldflags='-W l,XPLINK,dll'
ac9901e partial support for dynaloading on OS/390
Peter Prymmer authored Jan 19, 2001
125 linklibperl='libperl.x'
126 DPERL_EXTERNAL_GLOB=''
127 ;;
655635e perl 5.003_01: Makefile.SH
Perl 5 Porters authored Jul 10, 1996
128 esac
5cf1d1f @jhi Introduce $Config{ldlibpthname} which contains
jhi authored Jul 23, 1999
129 case "$ldlibpthname" in
130 '') ;;
131 *)
132 case "$osname" in
133 os2)
134 ldlibpth=''
135 ;;
136 *)
137 eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
138 ;;
139 esac
c1b49bc avoid adding null components to LD_LIBRARY_PATH, OpenBSD has trouble
Gurusamy Sarathy authored Feb 4, 2000
140 # Strip off any trailing :'s
141 ldlibpth=`echo $ldlibpth | sed 's/:*$//'`
5cf1d1f @jhi Introduce $Config{ldlibpthname} which contains
jhi authored Jul 23, 1999
142 ;;
143 esac
ecfc542 perl5.000 patch.0g: [various portability fixes, and use latest metaco…
Andy Dougherty authored Jan 18, 1995
144
9b9c6f3 LD_PRELOAD hack, still badly flawed / a solution
Adrian M. Enache authored Apr 3, 2003
145 case "$ldlibpth" in
146 # Protect any spaces
147 *" "*) ldlibpth=`echo $ldlibpth|sed 's/ /\\\\ /g'` ;;
148 esac
6904989 @jhi Some protection against spaces in directory names.
jhi authored Jan 15, 2002
149
9b9c6f3 LD_PRELOAD hack, still badly flawed / a solution
Adrian M. Enache authored Apr 3, 2003
150 case "$osname" in
151 linux)
830717a Re: [perl #22941] Can't build perl with -Duseshrplib if /usr/bin/gcc …
Andy Dougherty authored Jul 15, 2003
152 # If there is a pre-existing $libperl from a previous
153 # installation, Linux needs to use LD_PRELOAD to
154 # override the LD_LIBRARY_PATH setting. See the
155 # INSTALL file, under "Building a shared perl library".
156 # If there is no pre-existing $libperl, we don't need
157 # to do anything further.
158 if test -f $archlib/CORE/$libperl; then
68e8d60 Remove unportable ">|" shell syntax
Adrian M. Enache authored Apr 7, 2003
159 rm -f preload
d0ae58a @jhi The 'quotes' really are important (caught by Enache Adrian).
jhi authored May 18, 2003
160 cat <<'EOT' > preload
fde9163 @jhi Old (4.2BSD, like Ultrix) Bourne shells do not understand
jhi authored May 17, 2003
161 #! /bin/sh
162 lib=$1
163 shift
164 test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
165 exec "$@"
166 EOT
9b9c6f3 LD_PRELOAD hack, still badly flawed / a solution
Adrian M. Enache authored Apr 3, 2003
167 chmod 755 preload
168 ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
830717a Re: [perl #22941] Can't build perl with -Duseshrplib if /usr/bin/gcc …
Andy Dougherty authored Jul 15, 2003
169 fi
170 ;;
9b9c6f3 LD_PRELOAD hack, still badly flawed / a solution
Adrian M. Enache authored Apr 3, 2003
171 os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
172 ;;
60d7900 @rgs Change 19056 wasn't good enough.
rgs authored Mar 24, 2003
173 esac
9b9c6f3 LD_PRELOAD hack, still badly flawed / a solution
Adrian M. Enache authored Apr 3, 2003
174
60d7900 @rgs Change 19056 wasn't good enough.
rgs authored Mar 24, 2003
175 ;;
9b9c6f3 LD_PRELOAD hack, still badly flawed / a solution
Adrian M. Enache authored Apr 3, 2003
176
177 *) pldlflags=''
07f3cc2 Move the static/dynamic/nonxs LINKTYPE logic from make_ext.pl to Make…
Nicholas Clark authored Jan 31, 2009
178 static_ldflags='CCCDLFLAGS='
b1f5ad7 @jhi USS V2R10 seems to be happier with env FOO=... cmd ...
jhi authored Jan 26, 2002
179 ;;
180 esac
181
a0d0e21 perl 5.000
Larry Wall authored Oct 17, 1994
182 : Prepare dependency lists for Makefile.
183 dynamic_list=' '
9f3ef60 Two modules in ext/ have dependencies that are post-miniperl.
Nicholas Clark authored Apr 3, 2006
184 extra_dep=''
a0d0e21 perl 5.000
Larry Wall authored Oct 17, 1994
185 for f in $dynamic_ext; do
186 : the dependency named here will never exist
ecfc542 perl5.000 patch.0g: [various portability fixes, and use latest metaco…
Andy Dougherty authored Jan 18, 1995
187 base=`echo "$f" | sed 's/.*\///'`
9f3ef60 Two modules in ext/ have dependencies that are post-miniperl.
Nicholas Clark authored Apr 3, 2006
188 this_target="lib/auto/$f/$base.$dlext"
189 dynamic_list="$dynamic_list $this_target"
190
191 : Parallel makes reveal that we have some interdependencies
192 case $f in
90e91dd If I want to build Devel::NYTProf under the core tree, then the
Nicholas Clark authored Aug 21, 2008
193 Math/BigInt/FastCalc|Devel/NYTProf) extra_dep="$extra_dep
9f3ef60 Two modules in ext/ have dependencies that are post-miniperl.
Nicholas Clark authored Apr 3, 2006
194 $this_target: lib/auto/List/Util/Util.$dlext" ;;
195 Unicode/Normalize) extra_dep="$extra_dep
196 $this_target: uni.data" ;;
197 esac
a0d0e21 perl 5.000
Larry Wall authored Oct 17, 1994
198 done
199
200 static_list=' '
201 for f in $static_ext; do
202 base=`echo "$f" | sed 's/.*\///'`
cd4d8a9 Update for OS/2 support: variable file extensions, invoke shell expli…
Perl 5 Porters authored Mar 15, 1996
203 static_list="$static_list lib/auto/$f/$base\$(LIB_EXT)"
54f7170 Catch interdependencies for static builds too
Andy Dougherty authored May 26, 2009
204 : Parallel makes reveal that we have some interdependencies
205 this_target="lib/auto/$f/$base\$(LIB_EXT)"
206 case $f in
207 Math/BigInt/FastCalc|Devel/NYTProf) extra_dep="$extra_dep
208 $this_target: lib/auto/List/Util/Util\$(LIB_EXT)" ;;
209 Unicode/Normalize) extra_dep="$extra_dep
210 $this_target: uni.data" ;;
211 esac
a0d0e21 perl 5.000
Larry Wall authored Oct 17, 1994
212 done
213
4318d5a @gbarr applied patch, modified logic to avoid reentering lexer at compile-time
gbarr authored Jun 19, 1998
214 nonxs_list=' '
215 for f in $nonxs_ext; do
6c0ec79 Correct the paths for the nonxs_ext targets, following the ext flatte…
Nicholas Clark authored Feb 26, 2009
216 p=`echo "$f" | tr / -`
217 nonxs_list="$nonxs_list ext/$p/pm_to_blib"
4318d5a @gbarr applied patch, modified logic to avoid reentering lexer at compile-time
gbarr authored Jun 19, 1998
218 done
219
5ac1e9b @AndyA Add dtrace support
AndyA authored Jan 10, 2008
220 dtrace_h=''
221 dtrace_o=''
222 case "$usedtrace" in
223 define|true)
224 dtrace_h='perldtrace.h'
225 $dtrace -G -s perldtrace.d -o perldtrace.tmp >/dev/null 2>&1 \
226 && rm -f perldtrace.tmp && dtrace_o='perldtrace$(OBJ_EXT)'
227 ;;
228 esac
229
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
230 echo "Extracting $Makefile (with variable substitutions)"
231 $spitshell >$Makefile <<!GROK!THIS!
232 # $Makefile
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
233 # This file is derived from Makefile.SH. Any changes made here will
234 # be lost the next time you run Configure.
655635e perl 5.003_01: Makefile.SH
Perl 5 Porters authored Jul 10, 1996
235 # Makefile is used to generate $firstmakefile. The only difference
236 # is that $firstmakefile has the dependencies filled in at the end.
0de566d Switch from byacc to bison and simplify the perly.* regeneration
Dave Mitchell authored Feb 14, 2004
237
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
238 CC = $cc
232e078 perl5.001 patch.1c
Andy Dougherty authored Apr 6, 1995
239 LD = $ld
16d20bd This is my patch patch.1i for perl5.001.
Andy Dougherty authored May 30, 1995
240
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
241 LDFLAGS = $ldflags
242 CLDFLAGS = $ldflags
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
243
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
244 mallocsrc = $mallocsrc
245 mallocobj = $mallocobj
00e74f1 Add the madly parser. I believe that this is all the C code. Now to
Nicholas Clark authored Mar 9, 2006
246 madlysrc = $madlysrc
247 madlyobj = $madlyobj
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
248 LNS = $lns
4c901d0 @jhi Integrate changes #9538,9539 from maintperl into mainline.
jhi authored Apr 4, 2001
249 # NOTE: some systems don't grok "cp -f". XXX Configure test needed?
250 CPS = $cp
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
251 RMS = rm -f
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
252 ranlib = $ranlib
253
16d20bd This is my patch patch.1i for perl5.001.
Andy Dougherty authored May 30, 1995
254 # The following are mentioned only to make metaconfig include the
255 # appropriate questions in Configure. If you want to change these,
8e07c86 This is my patch patch.1n for perl5.001.
Andy Dougherty authored Oct 31, 1995
256 # edit config.sh instead, or specify --man1dir=/wherever on
16d20bd This is my patch patch.1i for perl5.001.
Andy Dougherty authored May 30, 1995
257 # installman commandline.
258 bin = $installbin
259 scriptdir = $scriptdir
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
260 shrpdir = $archlibexp/CORE
16d20bd This is my patch patch.1i for perl5.001.
Andy Dougherty authored May 30, 1995
261 privlib = $installprivlib
262 man1dir = $man1dir
263 man1ext = $man1ext
264 man3dir = $man3dir
265 man3ext = $man3ext
266
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
267 # The following are used to build and install shared libraries for
268 # dynamic loading.
269 LDDLFLAGS = $lddlflags
3c321fd [inseparable changes from match from perl-5.003_98 to perl-5.003_99]
Perl 5 Porters authored Apr 30, 1997
270 SHRPLDFLAGS = $shrpldflags
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
271 CCDLFLAGS = $ccdlflags
a0d0e21 perl 5.000
Larry Wall authored Oct 17, 1994
272 DLSUFFIX = .$dlext
ecfc542 perl5.000 patch.0g: [various portability fixes, and use latest metaco…
Andy Dougherty authored Jan 18, 1995
273 PLDLFLAGS = $pldlflags
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
274 LIBPERL = $libperl
d5d19f9 Support shared libperl on SunOS
Ulrich Pfeifer authored Dec 20, 1996
275 LLIBPERL= $linklibperl
fe5460c AIX patches for Perl 5.8.9 RC2 and gcc on AIX + suidperl on AIX READM…
Rainer Tammer authored Dec 4, 2008
276 LLIBPERL_NONSHR= $linklibperl_nonshr
ecfc542 perl5.000 patch.0g: [various portability fixes, and use latest metaco…
Andy Dougherty authored Jan 18, 1995
277 SHRPENV = $shrpenv
a0d0e21 perl 5.000
Larry Wall authored Oct 17, 1994
278
94c41b7 Re: Perl 5.8-to-be NetBSD testing?
Andy Dougherty authored May 2, 2002
279 # Static targets are ordinarily built without CCCDLFLAGS. However,
280 # if building a shared libperl.so that might later be linked into
281 # another application, then it might be appropriate to also build static
282 # extensions (usually just DynaLoader) with relocatable code (e.g. -fPIC
07f3cc2 Move the static/dynamic/nonxs LINKTYPE logic from make_ext.pl to Make…
Nicholas Clark authored Jan 31, 2009
283 # for GNU cc).
284 STATIC_LDFLAGS = $static_ldflags
94c41b7 Re: Perl 5.8-to-be NetBSD testing?
Andy Dougherty authored May 2, 2002
285
6ee623d [win32] integrate mainline
Gurusamy Sarathy authored May 14, 1998
286 # The following is used to include the current directory in
5cf1d1f @jhi Introduce $Config{ldlibpthname} which contains
jhi authored Jul 23, 1999
287 # the dynamic loader path you are building a shared libperl.
6ee623d [win32] integrate mainline
Gurusamy Sarathy authored May 14, 1998
288 LDLIBPTH = $ldlibpth
289
cef6ea9 @jhi miscellanea
jhi authored Jun 14, 2007
290 # Sometimes running an executable is an adventure.
291 RUN = $run
292
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
293 # These variables may need to be manually set for non-Unix systems.
294 AR = $full_ar
295 HOST_EXE_EXT =
296 EXE_EXT = $_exe
297 LIB_EXT = $_a
298 OBJ_EXT = $_o
299 PATH_SEP = $p_
300
301 #
a0d0e21 perl 5.000
Larry Wall authored Oct 17, 1994
302 dynamic_ext = $dynamic_list
303 static_ext = $static_list
4318d5a @gbarr applied patch, modified logic to avoid reentering lexer at compile-time
gbarr authored Jun 19, 1998
304 nonxs_ext = $nonxs_list
305 ext = \$(dynamic_ext) \$(static_ext) \$(nonxs_ext)
908fcb8 @gisle Move DynaLoader.o into libperl.so.
gisle authored Mar 20, 2006
306 DYNALOADER = DynaLoader\$(OBJ_EXT)
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
307
9c83952 @pmqs RE: [Patch 5.7.0] Removing -ldb from the core build
pmqs authored Sep 11, 2000
308 libs = $perllibs $cryptlib
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
309
cc69b68 suidperl goes.
Nicholas Clark authored Jan 23, 2009
310 public = perl\$(EXE_EXT) utilities translators
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
311
312 shellflags = $shellflags
313
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
314 # This is set to MAKE=$make if your $make command doesn't
315 # do it for you.
316 $make_set_make
4633a7c 5.002 beta 1
Larry Wall authored Nov 21, 1995
317
1fef16b @jhi Further VOS tweaks: the _exe needs to be introduced
jhi authored Dec 21, 2001
318 # Mention $gmake here so it gets probed for by Configure.
319
4f9287d Provide a crude way for specifying the command line for
Nicholas Clark authored Nov 14, 2005
320 # If you're going to use valgrind and it can't be invoked as plain valgrind
321 # then you'll need to change this, or override it on the make command line.
322 VALGRIND=valgrind
323
5ac1e9b @AndyA Add dtrace support
AndyA authored Jan 10, 2008
324 DTRACE = $dtrace
325 DTRACE_H = $dtrace_h
326 DTRACE_O = $dtrace_o
327
4633a7c 5.002 beta 1
Larry Wall authored Nov 20, 1995
328 FIRSTMAKEFILE = $firstmakefile
329
330 # Any special object files needed by this architecture, e.g. os2/os2.obj
331 ARCHOBJS = $archobjs
332
89ada9f @jhi Add .i and .s targets.
jhi authored Jun 22, 2001
333 .SUFFIXES: .c \$(OBJ_EXT) .i .s
cd4d8a9 Update for OS/2 support: variable file extensions, invoke shell expli…
Perl 5 Porters authored Mar 15, 1996
334
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
335 # grrr
336 SHELL = $sh
655635e perl 5.003_01: Makefile.SH
Perl 5 Porters authored Jul 10, 1996
337
28e8609 @jhi generic Configure mods and HAS_GROUP additions to help MiNT/MPEix/MVS
jhi authored Jul 11, 1998
338 # how to tr(anslate) newlines
339 TRNL = '$trnl'
340
82240bf @jhi Top-level Makefile didn't honour OPTIMIZE.
jhi authored Jul 29, 2001
341 OPTIMIZE = $optimize
342
3343e82 @jhi Missed from #11490 (the required dependency).
jhi authored Jul 30, 2001
343 EXTRAS = $extras
344
bf35c3f @jhi extras.make, extras.test, and extras.install make targets.
jhi authored Jul 30, 2001
345 INSTALLPREFIXEXP = $prefix
346
d56c570 @jhi Reapply Andy's patch and regen Configure.
jhi authored Oct 10, 2000
347 !GROK!THIS!
b7b35fc @jhi Remove unused "squatter" symbols; regen Configure.
jhi authored Oct 27, 1999
348 # not used by Makefile but by installperl;
d56c570 @jhi Reapply Andy's patch and regen Configure.
jhi authored Oct 10, 2000
349 # mentioned here so that metaconfig picks these up
350 # $installusrbinperl
351 # $versiononly
b7b35fc @jhi Remove unused "squatter" symbols; regen Configure.
jhi authored Oct 27, 1999
352
8170cb1 @jhi Allow resetting the locale system for the duration
jhi authored Oct 25, 2001
353 case "${osname}:${osvers}" in
354 darwin:*)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
355 $spitshell >>$Makefile <<EOF
8170cb1 @jhi Allow resetting the locale system for the duration
jhi authored Oct 25, 2001
356
357 # Your locales are broken (osname $osname, osvers $osvers)
358 # and to avoid the numerous
359 # perl: warning: Setting locale failed.
360 # warnings during the build process we reset the locale variables.
361
362 LC_ALL=C
363 LANG=C
364 LANGUAGE=C
365 EOF
366 ;;
367 esac
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
368
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
369 case $CROSS_NAME in
370 '')
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
371 ## In the following dollars and backticks do not need the extra backslash.
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
372 $spitshell >>$Makefile <<'!NO!SUBS!'
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
373
75550b4 @paulg1973 Nuke obsolete way to build debugging (etc) perls
paulg1973 authored Apr 23, 2002
374 CCCMD = `sh $(shellflags) cflags "optimize='$(OPTIMIZE)'" $@`
89ada9f @jhi Add .i and .s targets.
jhi authored Jun 22, 2001
375
75550b4 @paulg1973 Nuke obsolete way to build debugging (etc) perls
paulg1973 authored Apr 23, 2002
376 CCCMDSRC = `sh $(shellflags) cflags "optimize='$(OPTIMIZE)'" $<`
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
377
744ac0e Make lib/Config_heavy.pl part of $(CONFIGPM) as the build ordering is…
Nicholas Clark authored Jan 31, 2009
378 CONFIGPM_FROM_CONFIG_SH = lib/Config.pm lib/Config_heavy.pl
379 CONFIGPM = $(CONFIGPM_FROM_CONFIG_SH) lib/Config_git.pl
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
380
381 CONFIGPOD = lib/Config.pod
382
383 CONFIGH = config.h
384 !NO!SUBS!
385 ;;
386 *)
387 # if cross-compilation
388 $spitshell >>$Makefile <<!GROK!THIS!
389 CROSS_NAME = $CROSS_NAME
390 CROSS_LIB = xlib/$CROSS_NAME
391
392 CCCMD = \`sh \$(shellflags) cflags-cross-$CROSS_NAME "optimize='\$(OPTIMIZE)'" \$@\` -I\$(CROSS_LIB)
393 CCCMDSRC = \`sh \$(shellflags) cflags-cross-$CROSS_NAME "optimize='\$(OPTIMIZE)'" \$<\` -I\$(CROSS_LIB)
394 CONFIGPM = xlib/\$(CROSS_NAME)/Config.pm
395 CONFIGPOD = xlib/\$(CROSS_NAME)/Config.pod
396 CONFIGH = xconfig.h
397
398 xconfig.h: config_h.SH Cross/config-\$(CROSS_NAME).sh
399 CONFIG_SH=Cross/config-\$(CROSS_NAME).sh CONFIG_H=xconfig.h \$(SHELL) config_h.SH
7222c10 Add $(EXE_EXT) where it was missing from $(RUN) ./miniperl
Nicholas Clark authored Jan 12, 2009
400 #TODO \$(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib -MCross=\$(CROSS_NAME) config_h.PL "INST_VER=\$(INST_VER)" "CORE_DIR=\$(CROSS_LIB)" "CONFIG_H=xconfig.h"
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
401 cp xconfig.h \$(CROSS_LIB)/
402 cp xconfig.h \$(CROSS_LIB)/config.h
403
404 !GROK!THIS!
405 ;;
406 esac
407
408 ## In the following dollars and backticks do not need the extra backslash.
409 $spitshell >>$Makefile <<'!NO!SUBS!'
410
9f93794 Add git_version.h to private so that make distclean deletes it.
Nicholas Clark authored Feb 14, 2009
411 private = preplibrary $(CONFIGPM) $(CONFIGPOD) lib/ExtUtils/Miniperl.pm git_version.h
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
412
4633a7c 5.002 beta 1
Larry Wall authored Nov 20, 1995
413 # Files to be built with variable substitution before miniperl
414 # is available.
415 sh = Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH \
4755096 integrate cfgperl changes#6293..6324 into mainline
Gurusamy Sarathy authored Jul 11, 2000
416 makedir.SH myconfig.SH writemain.SH pod/Makefile.SH
4633a7c 5.002 beta 1
Larry Wall authored Nov 20, 1995
417
3ebb198 @jhi microperl nits from Simon Cozens.
jhi authored Jun 1, 2000
418 shextract = Makefile cflags config.h makeaperl makedepend \
4755096 integrate cfgperl changes#6293..6324 into mainline
Gurusamy Sarathy authored Jul 11, 2000
419 makedir myconfig writemain pod/Makefile
4633a7c 5.002 beta 1
Larry Wall authored Nov 20, 1995
420
421 # Files to be built with variable substitution after miniperl is
422 # available. Dependencies handled manually below (for now).
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
423
efb12ca various little goofs
Gurusamy Sarathy authored Apr 2, 1999
424 pl = pod/pod2html.PL pod/pod2latex.PL pod/pod2man.PL pod/pod2text.PL \
4163025 @jhi Nicholas Clark's podulator. The win32 makefile
jhi authored Aug 19, 2003
425 pod/pod2usage.PL pod/podchecker.PL pod/podselect.PL
4633a7c 5.002 beta 1
Larry Wall authored Nov 20, 1995
426
4755096 integrate cfgperl changes#6293..6324 into mainline
Gurusamy Sarathy authored Jul 11, 2000
427 # lib/lib.pm is not listed here because it has a rule of its own.
efb12ca various little goofs
Gurusamy Sarathy authored Apr 2, 1999
428 plextract = pod/pod2html pod/pod2latex pod/pod2man pod/pod2text \
4163025 @jhi Nicholas Clark's podulator. The win32 makefile
jhi authored Aug 19, 2003
429 pod/pod2usage pod/podchecker pod/podselect
4633a7c 5.002 beta 1
Larry Wall authored Nov 20, 1995
430
4755096 integrate cfgperl changes#6293..6324 into mainline
Gurusamy Sarathy authored Jul 11, 2000
431 addedbyconf = UU $(shextract) $(plextract) lib/lib.pm pstruct
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
432
5ad7e61 First step to generating Unicode files for the regexp engine at build
Nicholas Clark authored May 30, 2004
433 # Unicode data files generated by mktables
434 unidatafiles = lib/unicore/Canonical.pl lib/unicore/Exact.pl \
435 lib/unicore/Properties lib/unicore/Decomposition.pl \
7ebf06b replace the run time code in lib/utf8_pva.pl with data generated
Nicholas Clark authored May 31, 2004
436 lib/unicore/CombiningClass.pl lib/unicore/Name.pl lib/unicore/PVA.pl
5ad7e61 First step to generating Unicode files for the regexp engine at build
Nicholas Clark authored May 30, 2004
437
438 # Directories of Unicode data files generated by mktables
439 unidatadirs = lib/unicore/To lib/unicore/lib
440
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
441 h1 = EXTERN.h INTERN.h XSUB.h av.h $(CONFIGH) cop.h cv.h dosish.h
dd2155a move all pad-related code to its own src file
Dave Mitchell authored Sep 26, 2002
442 h2 = embed.h form.h gv.h handy.h hv.h keywords.h mg.h op.h opcode.h
443 h3 = pad.h patchlevel.h perl.h perlapi.h perly.h pp.h proto.h regcomp.h
219f41b tweak various places for iperlsys.h awareness
Gurusamy Sarathy authored Jun 28, 1998
444 h4 = regexp.h scope.h sv.h unixish.h util.h iperlsys.h thread.h
5ac1e9b @AndyA Add dtrace support
AndyA authored Jan 10, 2008
445 h5 = utf8.h warnings.h mydtrace.h
33b839e More compiler tweaks.
Malcolm Beattie authored Feb 25, 1998
446 h = $(h1) $(h2) $(h3) $(h4) $(h5)
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
447
e1a479c @blblack Re: new C3 MRO patch
blblack authored Apr 17, 2007
448 c1 = av.c scope.c op.c doop.c doio.c dump.c gv.c hv.c mg.c reentr.c mro.c perl.c
00e74f1 Add the madly parser. I believe that this is all the C code. Now to
Nicholas Clark authored Mar 9, 2006
449 c2 = perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c sv.c
48462a7 Convert xsutils.c and lib/attributes.pm to a regular XS extension.
Nicholas Clark authored Apr 12, 2009
450 c3 = taint.c toke.c util.c deb.c run.c universal.c pad.c globals.c
00e74f1 Add the madly parser. I believe that this is all the C code. Now to
Nicholas Clark authored Mar 9, 2006
451 c4 = perlio.c perlapi.c numeric.c mathoms.c locale.c pp_pack.c pp_sort.c
452 c5 = $(madlysrc) $(mallocsrc)
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
453
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
454 c = $(c1) $(c2) $(c3) $(c4) $(c5) miniperlmain.c perlmain.c opmini.c perlmini.c
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
455
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
456 obj0 = op$(OBJ_EXT) perl$(OBJ_EXT)
457 obj1 = $(madlyobj) $(mallocobj) gv$(OBJ_EXT) toke$(OBJ_EXT) perly$(OBJ_EXT) pad$(OBJ_EXT) regcomp$(OBJ_EXT) dump$(OBJ_EXT) util$(OBJ_EXT) mg$(OBJ_EXT) reentr$(OBJ_EXT) mro$(OBJ_EXT)
458 obj2 = hv$(OBJ_EXT) av$(OBJ_EXT) run$(OBJ_EXT) pp_hot$(OBJ_EXT) sv$(OBJ_EXT) pp$(OBJ_EXT) scope$(OBJ_EXT) pp_ctl$(OBJ_EXT) pp_sys$(OBJ_EXT)
48462a7 Convert xsutils.c and lib/attributes.pm to a regular XS extension.
Nicholas Clark authored Apr 12, 2009
459 obj3 = doop$(OBJ_EXT) doio$(OBJ_EXT) regexec$(OBJ_EXT) utf8$(OBJ_EXT) taint$(OBJ_EXT) deb$(OBJ_EXT) universal$(OBJ_EXT) globals$(OBJ_EXT) perlio$(OBJ_EXT) perlapi$(OBJ_EXT) numeric$(OBJ_EXT) mathoms$(OBJ_EXT) locale$(OBJ_EXT) pp_pack$(OBJ_EXT) pp_sort$(OBJ_EXT)
655635e perl 5.003_01: Makefile.SH
Perl 5 Porters authored Jul 10, 1996
460
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
461 mini_obj = $(obj1) $(obj2) $(obj3) $(ARCHOBJS)
462 ndt_obj = $(obj0) $(obj1) $(obj2) $(obj3) $(ARCHOBJS)
5ac1e9b @AndyA Add dtrace support
AndyA authored Jan 10, 2008
463 obj = $(ndt_obj) $(DTRACE_O)
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
464
6e2c892 Generate perlmodlib.pod at build time, instead of shipping it.
Nicholas Clark authored Jun 13, 2009
465 perltoc_pod_prereqs = extra.pods pod/perlapi.pod pod/perldelta.pod pod/perlintern.pod pod/perlmodlib.pod
7eb4769 Build perltoc.pod, rather than shipping it. This way it can't get out…
Nicholas Clark authored Apr 21, 2009
466 generated_pods = pod/perltoc.pod $(perltoc_pod_prereqs)
344af49 Generate perlapi.pod and perlintern.pod at build time, instead of shi…
Nicholas Clark authored Apr 18, 2009
467
075abff @petdance Updated lint infrastructure
petdance authored May 25, 2005
468 lintflags = \
5f66b61 @petdance Trying my "remove the pTHXes" patch again
petdance authored Feb 9, 2006
469 -b \
470 -n \
075abff @petdance Updated lint infrastructure
petdance authored May 25, 2005
471 -p \
472 -Ncheck=%all \
473 -Nlevel=4 \
bb263b4 @petdance Sun Studio lint patches
petdance authored Feb 13, 2006
474 -errchk=parentheses \
475 -errhdr=%all \
66a1b24 @petdance Random cleanups #47
petdance authored Jun 6, 2005
476 -errfmt=src \
075abff @petdance Updated lint infrastructure
petdance authored May 25, 2005
477 -errtags \
5f66b61 @petdance Trying my "remove the pTHXes" patch again
petdance authored Feb 9, 2006
478 -erroff=E_ASSIGN_NARROW_CONV \
075abff @petdance Updated lint infrastructure
petdance authored May 25, 2005
479 -erroff=E_BAD_PTR_CAST \
5f66b61 @petdance Trying my "remove the pTHXes" patch again
petdance authored Feb 9, 2006
480 -erroff=E_BAD_PTR_CAST_ALIGN \
481 -erroff=E_BAD_PTR_INT_COMBINATION \
482 -erroff=E_BAD_SIGN_EXTEND \
075abff @petdance Updated lint infrastructure
petdance authored May 25, 2005
483 -erroff=E_BLOCK_DECL_UNUSED \
5f66b61 @petdance Trying my "remove the pTHXes" patch again
petdance authored Feb 9, 2006
484 -erroff=E_CASE_FALLTHRU \
abcf5ad @petdance Makefile splint support
petdance authored Jul 2, 2006
485 -erroff=E_CONST_EXPR \
075abff @petdance Updated lint infrastructure
petdance authored May 25, 2005
486 -erroff=E_CONSTANT_CONDITION \
abcf5ad @petdance Makefile splint support
petdance authored Jul 2, 2006
487 -erroff=E_END_OF_LOOP_CODE_NOT_REACHED \
5f66b61 @petdance Trying my "remove the pTHXes" patch again
petdance authored Feb 9, 2006
488 -erroff=E_EQUALITY_NOT_ASSIGNMENT \
075abff @petdance Updated lint infrastructure
petdance authored May 25, 2005
489 -erroff=E_EXPR_NULL_EFFECT \
66a1b24 @petdance Random cleanups #47
petdance authored Jun 6, 2005
490 -erroff=E_FALSE_LOGICAL_EXPR \
491 -erroff=E_INCL_NUSD \
5f66b61 @petdance Trying my "remove the pTHXes" patch again
petdance authored Feb 9, 2006
492 -erroff=E_LOOP_EMPTY \
66a1b24 @petdance Random cleanups #47
petdance authored Jun 6, 2005
493 -erroff=E_MAIN_PARAM \
5f66b61 @petdance Trying my "remove the pTHXes" patch again
petdance authored Feb 9, 2006
494 -erroff=E_POINTER_TO_OBJECT \
495 -erroff=E_PTRDIFF_OVERFLOW \
496 -erroff=E_SHIFT_CNT_NEG_TOO_BIG_L \
497 -erroff=E_STATIC_UNUSED \
05c462c Re: Smoke [5.9.4] 27195 FAIL(m) irix 6.2 (IP22/1 cpu)
Abe Timmerman authored Feb 18, 2006
498 -erroff=E_TRUE_LOGICAL_EXPR
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
499
abcf5ad @petdance Makefile splint support
petdance authored Jul 2, 2006
500 splintflags = \
501 -I/usr/lib/gcc/i486-linux-gnu/4.0.2/include/ \
502 -D__builtin_va_list=va_list \
503 -Dsigjmp_buf=jmp_buf \
504 -warnposix \
505 \
506 +boolint \
507 +charintliteral \
508 -fixedformalarray \
509 -mustfreefresh \
510 -nestedextern \
511 -predboolint \
512 -predboolothers \
513 -preproc \
514 -boolops \
515 -shadow \
516 -nullstate \
517 +longintegral \
518 +matchanyintegral \
519 -type \
520 \
521 +line-len 999 \
522 +weak
523
524 splintfiles = $(c1)
525
e21c97b @demerphq add cflags as a dependency for all object files. (it is used to contr…
demerphq authored Dec 27, 2008
526 .c$(OBJ_EXT):
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
527 $(CCCMD) $(PLDLFLAGS) $*.c
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
528
e21c97b @demerphq add cflags as a dependency for all object files. (it is used to contr…
demerphq authored Dec 27, 2008
529 .c.i:
89ada9f @jhi Add .i and .s targets.
jhi authored Jun 22, 2001
530 $(CCCMDSRC) -E $*.c > $*.i
531
e21c97b @demerphq add cflags as a dependency for all object files. (it is used to contr…
demerphq authored Dec 27, 2008
532 .c.s:
89ada9f @jhi Add .i and .s targets.
jhi authored Jun 22, 2001
533 $(CCCMDSRC) -S $*.c
534
344af49 Generate perlapi.pod and perlintern.pod at build time, instead of shi…
Nicholas Clark authored Apr 18, 2009
535 all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) miniperl $(generated_pods) $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
51356d7 Nick's a muppet - "all" needs to remain the first real target in the
Nicholas Clark authored Jan 18, 2008
536 @echo " ";
537 @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
538
486cd78 Amend patchlevel.h so that git_version.h is only #include""ed for perl.
Nicholas Clark authored Jan 23, 2009
539 .PHONY: all translators utilities
8565263 make sure that the perl -v/-V output corresponds to the latest commit
Yves Orton authored Dec 21, 2008
540
744ac0e Make lib/Config_heavy.pl part of $(CONFIGPM) as the build ordering is…
Nicholas Clark authored Jan 31, 2009
541 lib/Config_git.pl git_version.h: miniperl$(EXE_EXT) make_patchnum.pl
16ad9bf The exit code of make_patchnum.pl is no longer used, so make it retur…
Nicholas Clark authored Jan 24, 2009
542 $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib make_patchnum.pl
dcff826 @demerphq eliminate .patchnum and related infrastrcuture from *nix based build …
demerphq authored Jan 4, 2009
543
544 # make sure that we recompile perl.c if the git version changes
545 perl$(OBJ_EXT): git_version.h
6ee623d [win32] integrate mainline
Gurusamy Sarathy authored May 14, 1998
546
2d9d815 Put Config.pm on a diet. 3K rather than 32K
Nicholas Clark authored Nov 27, 2004
547 translators: miniperl$(EXE_EXT) $(CONFIGPM) FORCE
6ee623d [win32] integrate mainline
Gurusamy Sarathy authored May 14, 1998
548 @echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all
8e07c86 This is my patch patch.1n for perl5.001.
Andy Dougherty authored Oct 31, 1995
549
2d9d815 Put Config.pm on a diet. 3K rather than 32K
Nicholas Clark authored Nov 27, 2004
550 utilities: miniperl$(EXE_EXT) $(CONFIGPM) $(plextract) lib/lib.pm FORCE
6ee623d [win32] integrate mainline
Gurusamy Sarathy authored May 14, 1998
551 @echo " "; echo " Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all
909b385 Now builds .PL utilities in the utils/ subdirectory.
Perl 5 Porters authored Jan 3, 1996
552
553
16d20bd This is my patch patch.1i for perl5.001.
Andy Dougherty authored May 30, 1995
554 # This is now done by installman only if you actually want the man pages.
555 # @echo " "; echo " Making docs"; cd pod; $(MAKE) all;
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
556
557 # Phony target to force checking subdirectories.
e50aee7 This is my patch patch.1m for perl5.001.
Andy Dougherty authored Jun 22, 1995
558 # Apparently some makes require an action for the FORCE target.
869a466 @jhi Add .PHONY targets for non-file targets,
jhi authored Jun 22, 2001
559 .PHONY: FORCE
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
560 FORCE:
4633a7c 5.002 beta 1
Larry Wall authored Nov 20, 1995
561 @sh -c true
ac9901e partial support for dynaloading on OS/390
Peter Prymmer authored Jan 19, 2001
562 !NO!SUBS!
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
563 $spitshell >>$Makefile <<!GROK!THIS!
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
564
4ba7095 @jhi Robustness support for #8218 (symlink forest) since the GNU
jhi authored Dec 21, 2000
565 # We do a copy of the op.c instead of a symlink because gcc gets huffy
566 # if we have a symlink forest to another disk (it complains about too many
567 # levels of symbolic links, even if we have only two)
568
c015c5e Include opmini.c in the dependency generation.
Nicholas Clark authored Oct 15, 2004
569 opmini.c: op.c
3d30f40 Oops. the trick is to edit Makefile.SH
Nicholas Clark authored Oct 25, 2005
570 \$(RMS) opmini.c
2c38b89 @rgs remove mv-if-diff
rgs authored Oct 24, 2005
571 \$(CPS) op.c opmini.c
c015c5e Include opmini.c in the dependency generation.
Nicholas Clark authored Oct 15, 2004
572
573 opmini\$(OBJ_EXT): opmini.c
ac9901e partial support for dynaloading on OS/390
Peter Prymmer authored Jan 19, 2001
574 \$(CCCMD) \$(PLDLFLAGS) $DPERL_EXTERNAL_GLOB opmini.c
bd0dd1d miniperl build fixes for os2 (from Yitzchak Scott-Thoennes
Gurusamy Sarathy authored Dec 28, 1999
575
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
576 perlmini.c: perl.c
577 \$(RMS) perlmini.c
578 \$(CPS) perl.c perlmini.c
579
580 perlmini\$(OBJ_EXT): perlmini.c
581 \$(CCCMD) \$(PLDLFLAGS) $DPERL_IS_MINIPERL perlmini.c
582
efa50c5 Replace run-time on-demand initialisation of PL_bitcount with a const…
Nicholas Clark authored May 20, 2009
583 globals\$(OBJ_EXT): uudmap.h bitcount.h
9444d21 Make PL_uudmap a constant global. Remove the run time initialisation
Nicholas Clark authored Apr 24, 2007
584
efa50c5 Replace run-time on-demand initialisation of PL_bitcount with a const…
Nicholas Clark authored May 20, 2009
585 uudmap.h bitcount.h: generate_uudmap\$(HOST_EXE_EXT)
586 \$(RUN) ./generate_uudmap\$(HOST_EXE_EXT) uudmap.h bitcount.h
9444d21 Make PL_uudmap a constant global. Remove the run time initialisation
Nicholas Clark authored Apr 24, 2007
587
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
588 generate_uudmap\$(HOST_EXE_EXT): generate_uudmap\$(OBJ_EXT)
589 \$(CC) -o generate_uudmap\$(EXE_EXT) \$(LDFLAGS) generate_uudmap\$(OBJ_EXT) \$(libs)
9444d21 Make PL_uudmap a constant global. Remove the run time initialisation
Nicholas Clark authored Apr 24, 2007
590
ac9901e partial support for dynaloading on OS/390
Peter Prymmer authored Jan 19, 2001
591 !GROK!THIS!
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
592 $spitshell >>$Makefile <<'!NO!SUBS!'
517e7c6 "This little thing tests for a file .patch, and if it contains
Simon Cozens authored Jul 14, 2000
593 miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h
92c28ed @jhi Back out #3735. Needs more work.
jhi authored Jul 26, 1999
594 $(CCCMD) $(PLDLFLAGS) $*.c
ecfc542 perl5.000 patch.0g: [various portability fixes, and use latest metaco…
Andy Dougherty authored Jan 18, 1995
595
92c28ed @jhi Back out #3735. Needs more work.
jhi authored Jul 26, 1999
596 perlmain.c: miniperlmain.c config.sh $(FIRSTMAKEFILE)
2c38b89 @rgs remove mv-if-diff
rgs authored Oct 24, 2005
597 sh writemain $(DYNALOADER) $(static_ext) > perlmain.c
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
598
486cd78 Amend patchlevel.h so that git_version.h is only #include""ed for perl.
Nicholas Clark authored Jan 23, 2009
599 perlmain$(OBJ_EXT): perlmain.c
92c28ed @jhi Back out #3735. Needs more work.
jhi authored Jul 26, 1999
600 $(CCCMD) $(PLDLFLAGS) $*.c
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
601
a0d0e21 perl 5.000
Larry Wall authored Oct 17, 1994
602 # The file ext.libs is a list of libraries that must be linked in
603 # for static extensions, e.g. -lm -lgdbm, etc. The individual
604 # static extension Makefile's add to it.
fed7345 perl5.000 patch.0k: MakeMaker 4.06 and to fix minor portability and b…
Andy Dougherty authored Feb 11, 1995
605 ext.libs: $(static_ext)
a0d0e21 perl 5.000
Larry Wall authored Oct 17, 1994
606 -@test -f ext.libs || touch ext.libs
85e6fe8 perl 5.0 alpha 9
Larry Wall authored May 4, 1994
607
ecfc542 perl5.000 patch.0g: [various portability fixes, and use latest metaco…
Andy Dougherty authored Jan 18, 1995
608 !NO!SUBS!
599a829 perl 5.003_07: Makefile.SH
Ilya Zakharevich authored Oct 10, 1996
609
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
610 # How to build libperl. This is still rather convoluted.
599a829 perl 5.003_07: Makefile.SH
Ilya Zakharevich authored Oct 10, 1996
611 # Load up custom Makefile.SH fragment for shared loading and executables:
8736538 cygwin32 update (untested adaptation of patch against 5.005_03)
Alexander Smishlajev authored Apr 25, 1999
612 case "$osname" in
613 *)
614 Makefile_s="$osname/Makefile.SHs"
615 ;;
616 esac
617
549a6b1 @jhi Fixed AIX dynamic loading and AIX shared Perl library.
jhi authored Jul 14, 1999
618 case "$osname" in
619 aix)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
620 $spitshell >>$Makefile <<!GROK!THIS!
9c83952 @pmqs RE: [Patch 5.7.0] Removing -ldb from the core build
pmqs authored Sep 11, 2000
621 LIBS = $perllibs
5f9d9a1 AIX magic: ccdlflags needs to be different for
Mike W Ellwood authored Jul 22, 1999
622 # In AIX we need to change this for building Perl itself from
623 # its earlier definition (which is for building external
624 # extensions *after* Perl has been built and installed)
625 CCDLFLAGS = `echo $ccdlflags|sed -e 's@-bE:.*/perl\.exp@-bE:perl.exp@'`
549a6b1 @jhi Fixed AIX dynamic loading and AIX shared Perl library.
jhi authored Jul 14, 1999
626
627 !GROK!THIS!
628 case "$useshrplib" in
629 define|true|[yY]*)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
630 $spitshell >>$Makefile <<'!NO!SUBS!'
549a6b1 @jhi Fixed AIX dynamic loading and AIX shared Perl library.
jhi authored Jul 14, 1999
631
632 LIBPERL_NONSHR = libperl_nonshr$(LIB_EXT)
633 MINIPERL_NONSHR = miniperl_nonshr$(EXE_EXT)
634
a643aca @gisle Simplify; make perl.o included in $(obj)
gisle authored Mar 16, 2006
635 $(LIBPERL_NONSHR): $(obj)
549a6b1 @jhi Fixed AIX dynamic loading and AIX shared Perl library.
jhi authored Jul 14, 1999
636 $(RMS) $(LIBPERL_NONSHR)
a643aca @gisle Simplify; make perl.o included in $(obj)
gisle authored Mar 16, 2006
637 $(AR) rcu $(LIBPERL_NONSHR) $(obj)
549a6b1 @jhi Fixed AIX dynamic loading and AIX shared Perl library.
jhi authored Jul 14, 1999
638
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
639 $(MINIPERL_NONSHR): $(LIBPERL_NONSHR) miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT)
a708953 disable internal globbing for miniperl (or build breaks out
Gurusamy Sarathy authored Oct 15, 1999
640 $(CC) $(LDFLAGS) -o $(MINIPERL_NONSHR) miniperlmain$(OBJ_EXT) \
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
641 opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(LIBPERL_NONSHR) $(LIBS)
549a6b1 @jhi Fixed AIX dynamic loading and AIX shared Perl library.
jhi authored Jul 14, 1999
642
643 MINIPERLEXP = $(MINIPERL_NONSHR)
644
645 LIBPERLEXPORT = perl.exp
646
647 !NO!SUBS!
648
649 ;;
650 *)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
651 $spitshell >>$Makefile <<'!NO!SUBS!'
549a6b1 @jhi Fixed AIX dynamic loading and AIX shared Perl library.
jhi authored Jul 14, 1999
652 MINIPERLEXP = miniperl$(EXE_EXT)
653
654 PERLEXPORT = perl.exp
655
656 !NO!SUBS!
657 ;;
658 esac
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
659 $spitshell >>$Makefile <<'!NO!SUBS!'
549a6b1 @jhi Fixed AIX dynamic loading and AIX shared Perl library.
jhi authored Jul 14, 1999
660 perl.exp: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH)
2c38b89 @rgs remove mv-if-diff
rgs authored Oct 24, 2005
661 ./$(MINIPERLEXP) makedef.pl PLATFORM=aix CC_FLAGS="$(OPTIMIZE)" | sort -u | sort -f > perl.exp
549a6b1 @jhi Fixed AIX dynamic loading and AIX shared Perl library.
jhi authored Jul 14, 1999
662
663 !NO!SUBS!
664 ;;
2c2d71f @jhi Integrate with Sarathy. perl.h and util.c required manual resolving.
jhi authored Aug 1, 1999
665 os2)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
666 $spitshell >>$Makefile <<'!NO!SUBS!'
2c2d71f @jhi Integrate with Sarathy. perl.h and util.c required manual resolving.
jhi authored Aug 1, 1999
667 MINIPERLEXP = miniperl
668
669 perl5.def: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH) miniperl.map
46aae39 Re: [PATCH 5.8.8] Build on OS/2 - missing part
Ilya Zakharevich authored Dec 9, 2006
670 ./$(MINIPERLEXP) makedef.pl PLATFORM=os2 -DPERL_DLL=$(PERL_DLL) CC_FLAGS="$(OPTIMIZE)" > perl5.def
2c2d71f @jhi Integrate with Sarathy. perl.h and util.c required manual resolving.
jhi authored Aug 1, 1999
671
672 !NO!SUBS!
673 ;;
5f9145a @rurban Cygwin build harmonization, remove cygwin/Makefile.SHs
rurban authored Jul 28, 2008
674 cygwin)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
675 $spitshell >>$Makefile <<'!NO!SUBS!'
5f9145a @rurban Cygwin build harmonization, remove cygwin/Makefile.SHs
rurban authored Jul 28, 2008
676 cygwin.c: cygwin/cygwin.c
677 $(LNS) cygwin/cygwin.c
678
679 LIBPERL_NONSHR = libperl$(LIB_EXT)
680
681 $(LIBPERL_NONSHR): $(obj)
682 $(RMS) $(LIBPERL_NONSHR)
683 $(AR) rcu $(LIBPERL_NONSHR) $(obj)
684
685 !NO!SUBS!
686 ;;
549a6b1 @jhi Fixed AIX dynamic loading and AIX shared Perl library.
jhi authored Jul 14, 1999
687 esac
688
5f9145a @rurban Cygwin build harmonization, remove cygwin/Makefile.SHs
rurban authored Jul 28, 2008
689 if test -s $Makefile_s ; then
8736538 cygwin32 update (untested adaptation of patch against 5.005_03)
Alexander Smishlajev authored Apr 25, 1999
690 . $Makefile_s
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
691 $spitshell >>$Makefile <<!GROK!THIS!
cd4d8a9 Update for OS/2 support: variable file extensions, invoke shell expli…
Perl 5 Porters authored Mar 15, 1996
692
8736538 cygwin32 update (untested adaptation of patch against 5.005_03)
Alexander Smishlajev authored Apr 25, 1999
693 Makefile: $Makefile_s
cd4d8a9 Update for OS/2 support: variable file extensions, invoke shell expli…
Perl 5 Porters authored Mar 15, 1996
694 !GROK!THIS!
695 else
5ac1e9b @AndyA Add dtrace support
AndyA authored Jan 10, 2008
696 case "$dtrace_h" in
697 ?*)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
698 $spitshell >>$Makefile <<'!NO!SUBS!'
5ac1e9b @AndyA Add dtrace support
AndyA authored Jan 10, 2008
699 $(DTRACE_H): perldtrace.d
700 $(DTRACE) -h -s perldtrace.d -o $(DTRACE_H)
701
702 mydtrace.h: $(DTRACE_H)
703
704 !NO!SUBS!
705 ;;
706 esac
707 case "$dtrace_o" in
708 ?*)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
709 $spitshell >>$Makefile <<'!NO!SUBS!'
5ac1e9b @AndyA Add dtrace support
AndyA authored Jan 10, 2008
710 $(DTRACE_O): perldtrace.d
711 $(DTRACE) -G -s perldtrace.d -o $(DTRACE_O) $(ndt_obj)
712
713 !NO!SUBS!
714 ;;
715 esac
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
716 $spitshell >>$Makefile <<'!NO!SUBS!'
908fcb8 @gisle Move DynaLoader.o into libperl.so.
gisle authored Mar 20, 2006
717 $(LIBPERL): $& $(obj) $(DYNALOADER) $(LIBPERLEXPORT)
9c9e9f0 perl 5.003_04: Makefile.SH
Perl 5 Porters authored Aug 29, 1996
718 !NO!SUBS!
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
719 case "$useshrplib" in
720 true)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
721 $spitshell >>$Makefile <<'!NO!SUBS!'
0107c41 @jandubois Cargo-cult fix for an AIX build problem
jandubois authored Apr 26, 2007
722 rm -f $@
908fcb8 @gisle Move DynaLoader.o into libperl.so.
gisle authored Mar 20, 2006
723 $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
3c321fd [inseparable changes from match from perl-5.003_98 to perl-5.003_99]
Perl 5 Porters authored Apr 30, 1997
724 !NO!SUBS!
725 case "$osname" in
726 aix)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
727 $spitshell >>$Makefile <<'!NO!SUBS!'
28e8609 @jhi generic Configure mods and HAS_GROUP additions to help MiNT/MPEix/MVS
jhi authored Jul 11, 1998
728 rm -f libperl$(OBJ_EXT)
3c321fd [inseparable changes from match from perl-5.003_98 to perl-5.003_99]
Perl 5 Porters authored Apr 30, 1997
729 mv $@ libperl$(OBJ_EXT)
730 $(AR) qv $(LIBPERL) libperl$(OBJ_EXT)
ecfc542 perl5.000 patch.0g: [various portability fixes, and use latest metaco…
Andy Dougherty authored Jan 18, 1995
731 !NO!SUBS!
3c321fd [inseparable changes from match from perl-5.003_98 to perl-5.003_99]
Perl 5 Porters authored Apr 30, 1997
732 ;;
733 esac
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
734 ;;
735 *)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
736 $spitshell >>$Makefile <<'!NO!SUBS!'
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
737 rm -f $(LIBPERL)
908fcb8 @gisle Move DynaLoader.o into libperl.so.
gisle authored Mar 20, 2006
738 $(AR) rcu $(LIBPERL) $(obj) $(DYNALOADER)
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
739 @$(ranlib) $(LIBPERL)
655635e perl 5.003_01: Makefile.SH
Perl 5 Porters authored Jul 10, 1996
740 !NO!SUBS!
d96ebe2 perl 5.003_03: Makefile.SH
Perl 5 Porters authored Aug 23, 1996
741 ;;
742 esac
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
743 $spitshell >>$Makefile <<'!NO!SUBS!'
599a829 perl 5.003_07: Makefile.SH
Ilya Zakharevich authored Oct 10, 1996
744
745 # How to build executables.
746
747 # The $& notation tells Sequent machines that it can do a parallel make,
748 # and is harmless otherwise.
749 # The miniperl -w -MExporter line is a basic cheap test to catch errors
750 # before make goes on to run preplibrary and then MakeMaker on extensions.
751 # This is very handy because later errors are often caused by miniperl
752 # build problems but that's not obvious to the novice.
753 # The Module used here must not depend on Config or any extensions.
754
ecfb218 miniperl build fixes for NeXTstep and cygwin (from Hans Mulder
Gurusamy Sarathy authored Dec 17, 1999
755 !NO!SUBS!
756
757 case "${osname}${osvers}" in
e56d2c0 Re: [perl #32717] BeOS specific Updates
bonefish@cs.tu-berlin.de authored Dec 17, 2004
758 aix*|beos*)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
759 $spitshell >>$Makefile <<'!NO!SUBS!'
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
760 miniperl$(EXE_EXT): $& miniperlmain$(OBJ_EXT) $(mini_obj) opmini$(OBJ_EXT) perlmini$(OBJ_EXT)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
761 $(CC) -o miniperl$(EXE_EXT) $(CLDFLAGS) \
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
762 $(mini_obj) \
763 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
764 $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
ecfb218 miniperl build fixes for NeXTstep and cygwin (from Hans Mulder
Gurusamy Sarathy authored Dec 17, 1999
765 !NO!SUBS!
766 ;;
e56d2c0 Re: [perl #32717] BeOS specific Updates
bonefish@cs.tu-berlin.de authored Dec 17, 2004
767 next4*)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
768 $spitshell >>$Makefile <<'!NO!SUBS!'
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
769 miniperl$(EXE_EXT): $& miniperlmain$(OBJ_EXT) $(mini_obj) perlmini$(OBJ_EXT) opmini$(OBJ_EXT)
770 $(CC) -o miniperl$(EXE_EXT) $(mini_obj) \
771 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
772 $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
535d254 @jhi AIX perl linkage tweakage.
jhi authored Feb 15, 2000
773 !NO!SUBS!
774 ;;
cb3fc42 @jhi Panther preparation.
jhi authored May 12, 2003
775 darwin*)
986530e @jhi More Panther moves.
jhi authored May 14, 2003
776 case "$osvers" in
777 [1-6].*) ;;
778 *) case "$ldflags" in
779 *"-flat_namespace"*) ;;
780 *) # to allow opmini.o to override stuff in libperl.dylib
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
781 $spitshell >>$Makefile <<!NO!SUBS!
69625aa @jhi Detypo Pantherisms.
jhi authored May 13, 2003
782 NAMESPACEFLAGS = -force_flat_namespace
783 !NO!SUBS!
986530e @jhi More Panther moves.
jhi authored May 14, 2003
784 ;;
785 esac
786 ;;
cb3fc42 @jhi Panther preparation.
jhi authored May 12, 2003
787 esac
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
788 $spitshell >>$Makefile <<'!NO!SUBS!'
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
789 miniperl$(EXE_EXT): $& miniperlmain$(OBJ_EXT) $(mini_obj) opmini$(OBJ_EXT) perlmini$(OBJ_EXT)
cb3fc42 @jhi Panther preparation.
jhi authored May 12, 2003
790 -@rm -f miniperl.xok
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
791 $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o miniperl$(EXE_EXT) \
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
792 $(mini_obj) \
793 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
794 $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
cb3fc42 @jhi Panther preparation.
jhi authored May 12, 2003
795 !NO!SUBS!
796 ;;
ecfb218 miniperl build fixes for NeXTstep and cygwin (from Hans Mulder
Gurusamy Sarathy authored Dec 17, 1999
797 *)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
798 $spitshell >>$Makefile <<'!NO!SUBS!'
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
799 miniperl$(EXE_EXT): $& miniperlmain$(OBJ_EXT) $(mini_obj) opmini$(OBJ_EXT) perlmini$(OBJ_EXT)
93c0359 @jhi Cross-configuration changes: make $from to rm the files
jhi authored Jun 21, 2001
800 -@rm -f miniperl.xok
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
801 $(LDLIBPTH) $(CC) $(CLDFLAGS) -o miniperl$(EXE_EXT) \
bf799c6 Add a perlmini.o and perlmini.c akin to opmini.o and opmini.c, for ./…
Nicholas Clark authored Jan 22, 2009
802 $(mini_obj) \
803 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
804 $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
ecfb218 miniperl build fixes for NeXTstep and cygwin (from Hans Mulder
Gurusamy Sarathy authored Dec 17, 1999
805 !NO!SUBS!
806 ;;
807 esac
808
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
809 $spitshell >>$Makefile <<'!NO!SUBS!'
599a829 perl 5.003_07: Makefile.SH
Ilya Zakharevich authored Oct 10, 1996
810
486cd78 Amend patchlevel.h so that git_version.h is only #include""ed for perl.
Nicholas Clark authored Jan 23, 2009
811 perl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
93c0359 @jhi Cross-configuration changes: make $from to rm the files
jhi authored Jun 21, 2001
812 -@rm -f miniperl.xok
908fcb8 @gisle Move DynaLoader.o into libperl.so.
gisle authored Mar 20, 2006
813 $(SHRPENV) $(LDLIBPTH) $(CC) -o perl$(PERL_SUFFIX) $(PERL_PROFILE_LDFLAGS) $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
599a829 perl 5.003_07: Makefile.SH
Ilya Zakharevich authored Oct 10, 1996
814
4ae3d70 @jhi Document the use of pixie/prof; create make targets for it.
jhi authored Mar 19, 2001
815 # Purify/Quantify Perls.
816
908fcb8 @gisle Move DynaLoader.o into libperl.so.
gisle authored Mar 20, 2006
817 pureperl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
818 $(SHRPENV) $(LDLIBPTH) purify $(CC) -o pureperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
599a829 perl 5.003_07: Makefile.SH
Ilya Zakharevich authored Oct 10, 1996
819
908fcb8 @gisle Move DynaLoader.o into libperl.so.
gisle authored Mar 20, 2006
820 purecovperl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
821 $(SHRPENV) $(LDLIBPTH) purecov $(CC) -o purecovperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
dbadb36 Minor, optional patch to Makefile.SH
Randy J. Ray authored Apr 17, 1997
822
908fcb8 @gisle Move DynaLoader.o into libperl.so.
gisle authored Mar 20, 2006
823 quantperl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
824 $(SHRPENV) $(LDLIBPTH) quantify $(CC) -o quantperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
825
7a83414 @jhi Add valgrind testing target.
jhi authored Aug 16, 2003
826 # Valgrind perl (currently Linux only)
827
828 perl.valgrind.config: config.sh
829 @echo "To build perl.valgrind you must Configure -Doptimize=-g -Uusemymalloc, checking..."
830 @$(MAKE) perl.config.dashg
831 @echo "Checking usemymalloc='n' in config.sh..."
832 @grep "^usemymalloc=" config.sh
833 @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1
834 @echo "And of course you have to have valgrind..."
4f9287d Provide a crude way for specifying the command line for
Nicholas Clark authored Nov 14, 2005
835 $(VALGRIND) ./perl -e 1 2>/dev/null || exit 1
7a83414 @jhi Add valgrind testing target.
jhi authored Aug 16, 2003
836
4ae3d70 @jhi Document the use of pixie/prof; create make targets for it.
jhi authored Mar 19, 2001
837 # Third Degree Perl (Tru64 only)
838
719561d @jhi For perl.pixie check *before* compiling that optimize is -g,
jhi authored Mar 26, 2001
839 perl.config.dashg:
83f0ef6 @jhi Add make target and documentation for gprof profiling.
jhi authored May 25, 2001
840 @echo "Checking optimize='-g' in config.sh..."
fdb8bc1 @rgs When checking whether perl is built with -g in optimisation
rgs authored Apr 18, 2006
841 @grep "^optimize=" config.sh
842 @egrep "^optimize='(.*-g.*)'" config.sh >/dev/null || exit 1
4ae3d70 @jhi Document the use of pixie/prof; create make targets for it.
jhi authored Mar 19, 2001
843
844 perl.third.config: config.sh
845 @echo "To build perl.third you must Configure -Doptimize=-g -Uusemymalloc, checking..."
6e36760 @jhi Pixie documenting.
jhi authored Mar 27, 2001
846 @$(MAKE) perl.config.dashg
83f0ef6 @jhi Add make target and documentation for gprof profiling.
jhi authored May 25, 2001
847 @echo "Checking usemymalloc='n' in config.sh..."
848 @grep "^usemymalloc=" config.sh
849 @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1
170ba84 @jhi Add prerequisites for the perl.third target.
jhi authored Mar 17, 2001
850
412c651 @jhi More robust and more paranoid perl.third target.
jhi authored Mar 18, 2001
851 perl.third: /usr/bin/atom perl.third.config perl
dca31ef @jhi Third Degree: make the options more portable between
jhi authored May 19, 2002
852 atom -tool third -L. -all -gp -toolargs="-invalid -uninit heap+stack+copy -min 0" perl
83f0ef6 @jhi Add make target and documentation for gprof profiling.
jhi authored May 25, 2001
853 @echo "Now you may run perl.third and then study perl.3log."
15615bf @jhi Add a make rule for perl.third (the Third Degree memory debugging
jhi authored Mar 17, 2001
854
4ae3d70 @jhi Document the use of pixie/prof; create make targets for it.
jhi authored Mar 19, 2001
855 # Pixie Perls (Tru64 and IRIX only)
856
719561d @jhi For perl.pixie check *before* compiling that optimize is -g,
jhi authored Mar 26, 2001
857 perl.pixie.config: config.sh
4ae3d70 @jhi Document the use of pixie/prof; create make targets for it.
jhi authored Mar 19, 2001
858 @echo "To build perl.pixie you must Configure -Doptimize=-g, checking..."
6e36760 @jhi Pixie documenting.
jhi authored Mar 27, 2001
859 @$(MAKE) perl.config.dashg
4ae3d70 @jhi Document the use of pixie/prof; create make targets for it.
jhi authored Mar 19, 2001
860
719561d @jhi For perl.pixie check *before* compiling that optimize is -g,
jhi authored Mar 26, 2001
861 perl.pixie.atom: /usr/bin/atom perl
4ae3d70 @jhi Document the use of pixie/prof; create make targets for it.
jhi authored Mar 19, 2001
862 atom -tool pixie -L. -all -toolargs="-quiet" perl
863
864 perl.pixie.irix: perl
865 pixie perl
866
719561d @jhi For perl.pixie check *before* compiling that optimize is -g,
jhi authored Mar 26, 2001
867 perl.pixie: /usr/bin/pixie perl.pixie.config perl
4ae3d70 @jhi Document the use of pixie/prof; create make targets for it.
jhi authored Mar 19, 2001
868 if test -x /usr/bin/atom; then \
869 $(MAKE) perl.pixie.atom; \
870 else \
871 $(MAKE) perl.pixie.irix; \
872 fi
83f0ef6 @jhi Add make target and documentation for gprof profiling.
jhi authored May 25, 2001
873 @echo "Now you may run perl.pixie and then run pixie."
874
875 # Gprof Perl
876
877 perl.config.dashpg:
878 @echo "Checking optimize='-pg' in config.sh..."
879 @grep "^optimize=" config.sh
64778e5 @jhi More gprofing from Doug MacEachern.
jhi authored Jun 22, 2001
880 @grep "^optimize='.*-pg.*'" config.sh >/dev/null || exit 1
83f0ef6 @jhi Add make target and documentation for gprof profiling.
jhi authored May 25, 2001
881
882 perl.gprof.config: config.sh
883 @echo "To build perl.gprof you must Configure -Doptimize=-pg, checking..."
884 @$(MAKE) perl.config.dashpg
885
886 perl.gprof: /usr/bin/gprof perl.gprof.config
64778e5 @jhi More gprofing from Doug MacEachern.
jhi authored Jun 22, 2001
887 @-rm -f perl
51a35ef @jhi Add information about gcc 3.0 basic block profiling.
jhi authored Jul 13, 2001
888 $(MAKE) PERL_SUFFIX=.gprof PERL_PROFILE_LDFLAGS=-pg perl
83f0ef6 @jhi Add make target and documentation for gprof profiling.
jhi authored May 25, 2001
889 @echo "Now you may run perl.gprof and then run gprof perl.gprof."
4ae3d70 @jhi Document the use of pixie/prof; create make targets for it.
jhi authored Mar 19, 2001
890
51a35ef @jhi Add information about gcc 3.0 basic block profiling.
jhi authored Jul 13, 2001
891 # Gcov Perl
892
893 perl.config.gcov:
894 @echo "To build perl.gcov you must use gcc 3.0 or newer, checking..."
895 @echo "Checking gccversion in config.sh..."
896 @grep "^gccversion=" config.sh
897 @grep "^gccversion='[3-9]\." config.sh >/dev/null || exit 1
898 @echo "To build perl.gcov you must Configure -Dccflags=-fprofile-arcs -ftest-coverage, checking..."
899 @echo "Checking ccflags='-fprofile-arcs -ftest-coverage' in config.sh..."
900 @grep "^ccflags=" config.sh
901 @grep "^ccflags='.*-fprofile-arcs -ftest-coverage.*'" config.sh >/dev/null || exit 1
902
903 perl.gcov: perl.config.gcov
904 @-rm -f perl
905 $(MAKE) PERL_SUFFIX=.gcov PERL_PROFILE_LDFLAGS='' perl
906 @echo "Now you may run perl.gcov and then run gcov some.c."
907
f946bb3 @jhi Add make target for microperl (kind of silly, but convenient).
jhi authored May 27, 2001
908 # Microperl. This is just a convenience thing if one happens to
909 # build also the full Perl and therefore the real big Makefile:
f4db540 Add new step to run_byacc which:
Nick Ing-Simmons authored Jun 14, 2001
910 # usually one should manually explicitly issue the below command.
f946bb3 @jhi Add make target for microperl (kind of silly, but convenient).
jhi authored May 27, 2001
911
869a466 @jhi Add .PHONY targets for non-file targets,
jhi authored Jun 22, 2001
912 .PHONY: microperl
f946bb3 @jhi Add make target for microperl (kind of silly, but convenient).
jhi authored May 27, 2001
913 microperl:
914 $(MAKE) -f Makefile.micro
915
fe5460c AIX patches for Perl 5.8.9 RC2 and gcc on AIX + suidperl on AIX READM…
Rainer Tammer authored Dec 4, 2008
916 !NO!SUBS!
917
599a829 perl 5.003_07: Makefile.SH
Ilya Zakharevich authored Oct 10, 1996
918 fi
919
6d4b7d8 @jhi Re: [PATCH] Cray XT4/Catamount build
jhi authored Sep 15, 2007
920 # Some environment have no system(), which mkpport uses.
921 # Let's try running the commands with shell.
922 case "${osname}" in
923 catamount)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
924 $spitshell >>$Makefile <<!GROK!THIS!
6d4b7d8 @jhi Re: [PATCH] Cray XT4/Catamount build
jhi authored Sep 15, 2007
925 .PHONY: makeppport
926 makeppport: miniperl\$(EXE_EXT) \$(CONFIGPM)
927 -@for f in Makefile.PL PPPort_pm.PL PPPort_xs.PL ppport_h.PL; do \
0ff33da Rename ext/Devel/PPPort to ext/Devel-PPPort
Nicholas Clark authored Feb 9, 2009
928 (cd ext/Devel-PPPort && `pwd`/run.sh ../../miniperl$(EXE_EXT) -I../../lib \$\$f); \
6d4b7d8 @jhi Re: [PATCH] Cray XT4/Catamount build
jhi authored Sep 15, 2007
929 done
930
931 !GROK!THIS!
932 ;;
933 *)
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
934 $spitshell >>$Makefile <<'!NO!SUBS!'
6d4b7d8 @jhi Re: [PATCH] Cray XT4/Catamount build
jhi authored Sep 15, 2007
935 .PHONY: makeppport
936 makeppport: miniperl$(EXE_EXT) $(CONFIGPM)
937 $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib mkppport
938
939 !NO!SUBS!
940 ;;
941 esac
942
5a20539 - crosscompilation - step 1 of N+1
Vadim Konovalov authored Sep 8, 2008
943 $spitshell >>$Makefile <<'!NO!SUBS!'
599a829 perl 5.003_07: Makefile.SH
Ilya Zakharevich authored Oct 10, 1996
944
fec02dd perl5.000 patch.0o: [address] a few more Configure and build nits.
Andy Dougherty authored Mar 10, 1995
945 # We have to call our ./makedir because Ultrix 4.3 make can't handle the line
946 # test -d lib/auto || mkdir lib/auto
5b7e50e @paulg1973 toplevel Makefile.SH
paulg1973 authored Mar 5, 2002
947 # We need to autosplit in two steps because VOS can't handle so many args
fec02dd perl5.000 patch.0o: [address] a few more Configure and build nits.
Andy Dougherty authored Mar 10, 1995
948 #
869a466 @jhi Add .PHONY targets for non-file targets,
jhi authored Jun 22, 2001
949 .PHONY: preplibrary
2d9d815 Put Config.pm on a diet. 3K rather than 32K
Nicholas Clark authored Nov 27, 2004
950 preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
cd4d8a9 Update for OS/2 support: variable file extensions, invoke shell expli…
Perl 5 Porters authored Mar 15, 1996
951 @sh ./makedir lib/auto
a0d0e21 perl 5.000
Larry Wall authored Oct 17, 1994
952 @echo " AutoSplitting perl library"
7222c10 Add $(EXE_EXT) where it was missing from $(RUN) ./miniperl
Nicholas Clark authored Jan 12, 2009
953 $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib -MAutoSplit -MFile::Find -e 'find ({no_chdir=>1, wanted => sub {autosplit_lib_modules($$_) if /\.pm$$/}}, "lib")'
abae58a @jhi (Hopefully) a fix for 20010723.004: make install needs
jhi authored Aug 12, 2001
954 $(MAKE) lib/re.pm
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
955
a04d459 lib/Config_git.pl mustn't be built concurrently with lib/Config.pm, e…
Nicholas Clark authored Feb 10, 2009
956 $(CONFIGPM_FROM_CONFIG_SH) $(CONFIGPOD): config.sh miniperl$(EXE_EXT) configpm Porting/Glossary lib/Config_git.pl
7222c10 Add $(EXE_EXT) where it was missing from $(RUN) ./miniperl
Nicholas Clark authored Jan 12, 2009
957 $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib configpm
2304df6 perl 5.0 alpha 8
Andy Dougherty authored Apr 4, 1994
958
2d9d815 Put Config.pm on a diet. 3K rather than 32K
Nicholas Clark authored Nov 27, 2004
959 lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM)
7222c10 Add $(EXE_EXT) where it was missing from $(RUN) ./miniperl
Nicholas Clark authored Jan 12, 2009
960 $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) minimod.pl > lib/ExtUtils/Miniperl.pm
fed7345 perl5.000 patch.0k: MakeMaker 4.06 and to fix minor portability and b…
Andy Dougherty authored Feb 11, 1995
961
92c28ed @jhi Back out #3735. Needs more work.
jhi authored Jul 26, 1999
962 lib/re.pm: ext/re/re.pm
960d5a3 @jhi Makefile.SH: lib/re.pm often messes restarted parallel makes
jhi authored Nov 15, 2006
963 @-rm -f $@
2c38b89 @rgs remove mv-if-diff
rgs authored Oct 24, 2005
964 cp ext/re/re.pm lib/re.pm
7cfc0d0 @jhi Use $< instead of $*.c in *perlmain.o rules.
jhi authored Jul 26, 1999
965
2d9d815 Put Config.pm on a diet. 3K rather than 32K
Nicholas Clark authored Nov 27, 2004
966 $(plextract): miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p
42c30c6 @jhi Integrate perlio:
jhi authored Mar 24, 2001
967 @-rm -f $@
4291ccc Protect against spaces in build directory name when extracting .PL files
Andy Dougherty authored Jun 1, 2009
968 $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -I"`pwd`/lib" $@.PL
72b3d9b install all README.foo with pod content as podfoo.pod
Gurusamy Sarathy authored Oct 24, 1999
969
2d9d815 Put Config.pm on a diet. 3K rather than 32K
Nicholas Clark authored Nov 27, 2004
970 x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL
36cf9c4 @jhi Extracting the s2p may require the right dynlibpath.
jhi authored Apr 11, 2002
971 cd x2p; $(LDLIBPTH) $(MAKE) s2p
180c42e @jhi Make x2p/s2p part of the test_prep target now that we
jhi authored Apr 10, 2002
972
2d9d815 Put Config.pm on a diet. 3K rather than 32K
Nicholas Clark authored Nov 27, 2004
973 lib/lib.pm: miniperl$(EXE_EXT) $(CONFIGPM)
42c30c6 @jhi Integrate perlio:
jhi authored Mar 24, 2001
974 @-rm -f $@
7222c10 Add $(EXE_EXT) where it was missing from $(RUN) ./miniperl
Nicholas Clark authored Jan 12, 2009
975 $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib lib/lib_pm.PL
4755096 integrate cfgperl changes#6293..6324 into mainline
Gurusamy Sarathy authored Jul 11, 2000
976
6c684ae @jhi Makefile.SH: de-parallelise mktables
jhi authored Dec 1, 2004
977 unidatafiles $(unidatafiles): uni.data
978
979 uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
7222c10 Add $(EXE_EXT) where it was missing from $(RUN) ./miniperl
Nicholas Clark authored Jan 12, 2009
980 cd lib/unicore && $(LDLIBPTH) $(RUN) ../../miniperl$(EXE_EXT) -I../../lib mktables -w
6c684ae @jhi Makefile.SH: de-parallelise mktables
jhi authored Dec 1, 2004
981 touch uni.data
5ad7e61 First step to generating Unicode files for the regexp engine at build
Nicholas Clark authored May 30, 2004
982
7eb4769 Build perltoc.pod, rather than shipping it. This way it can't get out…
Nicholas Clark authored Apr 21, 2009
983 # perl$(EXE_EXT) and ext because buildtoc uses Text::Wrap uses re
984 # But also this ensures that all extensions are built before we try to scan
985 # them, which picks up Devel::PPPort's documentation.
3e21d4f 7eb4769 should be $(ext) rather than ext.
Nicholas Clark authored Apr 21, 2009
986 pod/perltoc.pod: $(perltoc_pod_prereqs) perl$(EXE_EXT) $(ext) pod/buildtoc
41881f2 Add $(LDLIBPTH) to the documentation generation command lines.
Nicholas Clark authored May 5, 2009
987 $(LDLIBPTH) $(RUN) ./perl$(EXE_EXT) -Ilib pod/buildtoc --build-toc -q
7eb4769 Build perltoc.pod, rather than shipping it. This way it can't get out…
Nicholas Clark authored Apr 21, 2009
988
344af49 Generate perlapi.pod and perlintern.pod at build time, instead of shi…
Nicholas Clark authored Apr 18, 2009
989 pod/perlapi.pod pod/perlintern.pod: miniperl$(EXE_EXT) autodoc.pl embed.fnc
41881f2 Add $(LDLIBPTH) to the documentation generation command lines.
Nicholas Clark authored May 5, 2009
990 $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib autodoc.pl
344af49 Generate perlapi.pod and perlintern.pod at build time, instead of shi…
Nicholas Clark authored Apr 18, 2009
991
6e2c892 Generate perlmodlib.pod at build time, instead of shipping it.
Nicholas Clark authored Jun 13, 2009
992 pod/perlmodlib.pod: miniperl$(EXE_EXT) pod/perlmodlib.PL MANIFEST
993 $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib pod/perlmodlib.PL -q
994
8e7bc40 Move the symlink fo perl51110delta.pod to perldelta.pod to a top leve…
Nicholas Clark authored Apr 19, 2009
995 pod/perldelta.pod: pod/perl5110delta.pod
e0be038 In the Makefile, no need to change into pod/ to create symlinks to RE…
Nicholas Clark authored Apr 19, 2009
996 $(LNS) perl5110delta.pod pod/perldelta.pod
8e7bc40 Move the symlink fo perl51110delta.pod to perldelta.pod to a top leve…
Nicholas Clark authored Apr 19, 2009
997
443a5b9 @jhi Makefiles are sloppy about the exe suffix
jhi authored Dec 31, 2001
998 extra.pods: miniperl$(EXE_EXT)
ebbebb7 Re: Cygwin status, maint and blead
Yitzchak Scott-Thoennes authored Nov 13, 2005
999 -@test ! -f extra.pods || rm -f `cat extra.pods`
72b3d9b install all README.foo with pod content as podfoo.pod
Gurusamy Sarathy authored Oct 24, 1999
1000 -@rm -f extra.pods
b4bc034 README.vms and related updates (from Peter Prymmer <pvhp@best.com>)
Gurusamy Sarathy authored Feb 20, 2000
1001 -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
72b3d9b install all README.foo with pod content as podfoo.pod
Gurusamy Sarathy authored Oct 24, 1999
1002 nx=`echo $$x | sed -e "s/README\.//"`; \
e0be038 In the Makefile, no need to change into pod/ to create symlinks to RE…
Nicholas Clark authored Apr 19, 2009
1003 $(LNS) ../$$x "pod/perl"$$nx".pod" ; \
72b3d9b install all README.foo with pod content as podfoo.pod
Gurusamy Sarathy authored Oct 24, 1999
1004 echo "pod/perl"$$nx".pod" >> extra.pods ; \
1005 done
ebbebb7 Re: Cygwin status, maint and blead
Yitzchak Scott-Thoennes authored Nov 13, 2005
1006
443a5b9 @jhi Makefiles are sloppy about the exe suffix
jhi authored Dec 31, 2001
1007 extras.make: perl$(EXE_EXT)
6d4b7d8 @jhi Re: [PATCH] Cray XT4/Catamount build
jhi authored Sep 15, 2007
1008 -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" $(LDLIBPTH) $(RUN) ./perl -Ilib -MCPAN -e '@ARGV&&make(@ARGV)' `cat extras.lst`
bf35c3f @jhi extras.make, extras.test, and extras.install make targets.
jhi authored Jul 30, 2001
1009
443a5b9 @jhi Makefiles are sloppy about the exe suffix
jhi authored Dec 31, 2001
1010 extras.test: perl$(EXE_EXT)
6d4b7d8 @jhi Re: [PATCH] Cray XT4/Catamount build
jhi authored Sep 15, 2007
1011 -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" $(LDLIBPTH) $(RUN) ./perl -Ilib -MCPAN -e '@ARGV&&test(@ARGV)' `cat extras.lst`
bf35c3f @jhi extras.make, extras.test, and extras.install make targets.
jhi authored Jul 30, 2001
1012
443a5b9 @jhi Makefiles are sloppy about the exe suffix
jhi authored Dec 31, 2001
1013 extras.install: perl$(EXE_EXT)
6d4b7d8 @jhi Re: [PATCH] Cray XT4/Catamount build