1 # This file is read by Makefile.SH to produce rules for $(LIBPERL) (and
2 # some additional rules as well).
4 # Rerun `sh Makefile.SH; make depend' after making any change.
6 # Additional rules supported: perl_, aout_test, aout_install, use them
7 # for a.out style perl (which may fork).
9 perl_fullversion="5.00${PERL_VERSION}_$PERL_SUBVERSION"
11 *-thread*) perl_fullversion="${perl_fullversion}-threaded";;
14 dll_post="`echo $perl_fullversion | sum | sed -e 's/^0*//' | awk '{print $1}'`"
15 dll_post="`printf '%x' $dll_post | tr '[a-z]' '[A-Z]'`"
19 for xxx in $aout_extra_static_ext; do
20 aout_extra_dir=`echo "$xxx" | sed -e 's/::/\//g'`
21 aout_extra_lib="lib/auto/$aout_extra_dir/"`basename "$aout_extra_dir"`
22 aout_extra_libs="$aout_extra_libs$aout_extra_sep$aout_extra_lib$aout_lib_ext"
26 $spitshell >>Makefile <<!GROK!THIS!
28 PERL_FULLVERSION = $perl_fullversion
30 AOUT_OPTIMIZE = \$(OPTIMIZE)
31 AOUT_CCCMD = \$(CC) -DPERL_CORE $aout_ccflags \$(AOUT_OPTIMIZE)
33 AOUT_OBJ_EXT = $aout_obj_ext
34 AOUT_LIB_EXT = $aout_lib_ext
35 AOUT_LIBPERL = libperl$aout_lib_ext
36 AOUT_CLDFLAGS = $aout_ldflags
38 AOUT_LIBPERL_DLL = libperl_dll$aout_lib_ext
39 AOUT_CCCMD_DLL = \$(CC) -DDOSISH -DOS2=2 -DEMBED -I. -DPACK_MALLOC -DDEBUGGING_MSTATS -DTWO_POT_OPTIMIZE -DPERL_EMERGENCY_SBRK
40 AOUT_CLDFLAGS_DLL = -Zexe -Zmt -Zcrtdll -Zstack 32000
43 SO_CCCMD = \$(CC) $ccflags \$(OPTIMIZE)
46 PERL_DLL_LD_OPT = -Zmap -Zlinker /map/li
48 PERL_DLL_BASE = perl$dll_post
49 PERL_DLL = \$(PERL_DLL_BASE)\$(DLSUFFIX)
50 TEST_PERL_DLL = perl_dll_t
51 CONFIG_ARGS = $config_args
52 AOUT_EXTRA_LIBS = $aout_extra_libs
56 $spitshell >>Makefile <<'!NO!SUBS!'
57 PREPLIBRARY_LIBPERL = $(LIBPERL)
58 $(LIBPERL): perl.imp perl5.def libperl_override.lib
59 emximp -o $(LIBPERL) perl.imp
60 cp $(LIBPERL) perl.lib
62 imp_version: $(FIRSTMAKEFILE)
63 echo $(PERL_DLL_BASE) > imp_version.tmp
64 sh mv-if-diff imp_version.tmp $@
66 libperl_override.imp: os2/os2add.sym miniperl imp_version
67 ./miniperl -wnle 'print "$$_\t$(PERL_DLL_BASE)\t$$_\t?"' os2/os2add.sym > tmp.imp
68 echo 'strdup $(PERL_DLL_BASE) Perl_strdup ?' >> tmp.imp
69 echo 'putenv $(PERL_DLL_BASE) Perl_putenv ?' >> tmp.imp
70 sh mv-if-diff tmp.imp $@
72 libperl_override.lib: libperl_override.imp
73 emximp -o $@ libperl_override.imp
75 libperl_dllmain.imp: imp_version
76 echo 'main $(PERL_DLL_BASE) dll_perlmain ?' >> tmpdll.imp
77 sh mv-if-diff tmpdll.imp $@
79 libperl_dllmain.lib: libperl_dllmain.imp
80 emximp -o $@ libperl_dllmain.imp
82 libperl_dllmain.a: libperl_dllmain.imp
83 emximp -o $@ libperl_dllmain.imp
85 $(AOUT_LIBPERL_DLL): perl.imp $(PERL_DLL) perl5.def
86 emximp -o $(AOUT_LIBPERL_DLL) perl.imp
88 perl.imp: perl5.def imp_version
89 emximp -o perl.imp perl5.def
90 echo 'emx_calloc emxlibcm 400 ?' >> $@
91 echo 'emx_free emxlibcm 401 ?' >> $@
92 echo 'emx_malloc emxlibcm 402 ?' >> $@
93 echo 'emx_realloc emxlibcm 403 ?' >> $@
95 .PHONY: perl_dll installcmd aout_clean aout_install aout_install.perl \
96 perlrexx test_prep_perl_ test_prep_perl_sys test_prep_perl_stat \
97 test_prep_perl_stat_aout test_prep_various \
98 stat_aout_harness aout_harness stat_harness sys_harness all_harness \
99 stat_aout_test aout_test stat_test sys_test all_test \
100 perl___harness test_harness_redir
102 perl_dll: $(PERL_DLL)
104 perl_dll_t: t/$(PERL_DLL)
106 t/$(PERL_DLL): $(PERL_DLL)
107 $(LNS) $(PERL_DLL) t/$(PERL_DLL)
109 $(PERL_DLL): $(obj) perl5.def perl$(OBJ_EXT) perlmain$(OBJ_EXT) $(DYNALOADER)
110 $(LD) $(LD_OPT) $(LDDLFLAGS) $(PERL_DLL_LD_OPT) -o $@ perl$(OBJ_EXT) $(obj) perlmain$(OBJ_EXT) $(DYNALOADER) $(libs) perl5.def || ( rm $(PERL_DLL) && sh -c false )
112 perl5.olddef: perl.linkexp
113 echo "LIBRARY '$(PERL_DLL_BASE)' INITINSTANCE TERMINSTANCE" > $@
114 echo DESCRIPTION "'Perl interpreter v$(PERL_FULLVERSION), export autogenerated'" >>$@
115 echo STACKSIZE 32768 >>$@
116 echo CODE LOADONCALL >>$@
117 echo DATA LOADONCALL NONSHARED MULTIPLE >>$@
121 if [ ! -z "$myttyname" ] ; then
122 $spitshell >>Makefile <<'!NO!SUBS!'
123 echo ' "ttyname"' >>$@
127 $spitshell >>Makefile <<'!NO!SUBS!'
128 cat perl.linkexp >>$@
130 # grep -v '"\(malloc\|realloc\|free\)"' perl.linkexp >>$@
133 perl.exports: perl.exp EXTERN.h perl.h
134 (echo "#include \"EXTERN.h\" \n#include \"perl.h\" \n#include \"perl.exp\""; \
135 echo "malloc\nrealloc\ncalloc\nfree") | \
136 $(CC) -DEMBED -E - | \
137 awk '{if ($$2 == "") print $$1}' | sort | uniq > $@
139 perl.linkexp: perl.exports perl.map os2/os2.sym
140 cat perl.exports os2/os2.sym perl.map | sort | uniq -d | sed -e 's/\w\+/ "\0"/' > perl.linkexp
142 # We link miniperl statically, since .DLL depends on $(DYNALOADER)
144 miniperl.map: miniperl
146 miniperl.exe: miniperl
148 miniperl: $(obj) perl$(OBJ_EXT) miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT)
149 $(CC) $(CLDFLAGS) -o miniperl miniperlmain$(OBJ_EXT) perl$(OBJ_EXT) `echo $(obj)|sed -e 's/\bop\./opmini./g'` $(libs) -Zmap -Zlinker /map/PM:VIO
150 @./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
152 depend: os2ish.h dlfcn.h os2thread.h os2.c
154 # Stupid make? Needed...
155 os2$(OBJ_EXT) : os2.c
157 os2.c: os2/os2.c os2ish.h
160 dl_os2.c: os2/dl_os2.c os2ish.h
163 os2ish.h: os2/os2ish.h
166 os2thread.h: os2/os2thread.h
172 # Non-Forking dynamically loaded perl
173 # Make many: they are useful in low-memory conditions (floppy boot? Lot of shared memory used?)
175 perl___$(EXE_EXT) perl___: $& libperl_dllmain$(LIB_EXT)
176 $(SHRPENV) $(CC) $(CLDFLAGS) $(CCDLFLAGS) -o perl___ libperl_dllmain$(LIB_EXT) -Zlinker /map/PM:VIO
177 $(SHRPENV) $(CC) $(CLDFLAGS) $(CCDLFLAGS) -Zstack 8192 -o perl___8 libperl_dllmain$(LIB_EXT) -Zlinker /map/PM:VIO
178 $(SHRPENV) $(CC) $(CLDFLAGS) $(CCDLFLAGS) -Zstack 4096 -o perl___4 libperl_dllmain$(LIB_EXT) -Zlinker /map/PM:VIO
179 $(SHRPENV) $(CC) $(CLDFLAGS) $(CCDLFLAGS) -Zstack 2048 -o perl___2 libperl_dllmain$(LIB_EXT) -Zlinker /map/PM:VIO
180 $(SHRPENV) $(CC) $(CLDFLAGS) $(CCDLFLAGS) -Zstack 1024 -o perl___1 libperl_dllmain$(LIB_EXT) -Zlinker /map/PM:VIO
181 $(SHRPENV) $(CC) $(CLDFLAGS) $(CCDLFLAGS) -Zstack 512 -o perl___05 libperl_dllmain$(LIB_EXT) -Zlinker /map/PM:VIO
182 $(SHRPENV) $(CC) $(CLDFLAGS) $(CCDLFLAGS) -Zstack 320 -o perl___03 libperl_dllmain$(LIB_EXT) -Zlinker /map/PM:VIO
184 # This one is compiled -Zsys, so cannot do many things:
187 STAT_CLDFLAGS = -Zexe -Zomf -Zmt -Zstack 32000
189 # Non-forking dynamically loaded perl with a wrong CRT library:
191 perl_stat perl_stat$(EXE_EXT): $& libperl_dllmain$(LIB_EXT)
192 $(SHRPENV) $(CC) $(STAT_CLDFLAGS) $(CCDLFLAGS) -o perl_stat libperl_dllmain$(LIB_EXT) -Zlinker /map/PM:VIO
194 # Remove -Zcrtdll, add -Zsys
195 SYS_CLDFLAGS = $(STAT_CLDFLAGS) -Zsys
197 # Non-Forking dynamically loaded perl without EMX - so with wrong CRT library
199 perl_sys perl_sys$(EXE_EXT): $& libperl_dllmain$(LIB_EXT)
200 $(SHRPENV) $(CC) $(SYS_CLDFLAGS) $(CCDLFLAGS) -o perl_sys libperl_dllmain$(LIB_EXT) -Zlinker /map/PM:VIO
203 @perl -e 'die qq{Give the option INSTALLCMDDIR=... to make!} if $$ARGV[0] eq ""' $(INSTALLCMDDIR)
204 ./miniperl -Ilib os2/perl2cmd.pl $(INSTALLCMDDIR)
208 aout_obj = $(addsuffix $(AOUT_OBJ_EXT),$(basename $(obj)))
209 AOUT_DYNALOADER = $(addsuffix $(AOUT_LIB_EXT),$(basename $(DYNALOADER)))
210 aout_ext = $(static_ext) $(dynamic_ext) $(AOUT_EXTRA_LIBS)
211 aout_static_ext = $(addsuffix $(AOUT_LIB_EXT),$(basename $(aout_ext)))
212 aout_static_lib = $(addsuffix $(LIB_EXT),$(basename $(aout_ext)))
214 aout_static_ext_dll = $(addsuffix $(AOUT_LIB_EXT),$(basename $(static_ext)))
215 DYNALOADER_OBJ = ext/DynaLoader/DynaLoader$(OBJ_EXT)
216 aout_static_ext_dll = $(addsuffix $(AOUT_LIB_EXT),$(basename $(static_ext)))
217 AOUT_DYNALOADER_OBJ = $(addsuffix $(AOUT_OBJ_EXT),$(basename $(DYNALOADER_OBJ)))
219 $(AOUT_DYNALOADER_OBJ) : $(DYNALOADER_OBJ)
222 $(DYNALOADER_OBJ) : $(DYNALOADER)
225 $(AOUT_LIBPERL) : $(aout_obj) perl$(AOUT_OBJ_EXT)
227 $(AOUT_AR) rcu $@ perl$(AOUT_OBJ_EXT) $(aout_obj)
228 cp $@ perl$(AOUT_LIB_EXT)
231 $(AOUT_CCCMD) $(PLDLFLAGS) -c $*.c
233 opmini$(AOUT_OBJ_EXT): op.c
234 $(AOUT_CCCMD) $(PLDLFLAGS) -DPERL_EXTERNAL_GLOB -o opmini$(AOUT_OBJ_EXT) -c op.c
236 perlmain(AOUT_OBJ_EXT): perlmain.c
237 $(AOUT_CCCMD_DLL) $(PLDLFLAGS) -c perlmain.c
239 # Assume that extensions are at most 4 deep (this is so with 5.8.1)
240 aout_extlist: $(aout_static_ext) $(AOUT_DYNALOADER)
241 echo lib/auto/*.a lib/auto/*/*.a lib/auto/*/*/*.a lib/auto/*/*/*/*.a | tr ' ' '\n' | grep -v '\*' > $@.tmp
242 sh mv-if-diff $@.tmp $@
244 aout_perlmain.c: miniperlmain.c config.sh makefile $(static_ext_autoinit) $(aout_static_ext) writemain aout_extlist
245 sh writemain `cat aout_extlist` > aout_perlmain.tmp
246 sh mv-if-diff aout_perlmain.tmp aout_perlmain.c
248 _preplibrary = miniperl lib/Config.pm lib/lib.pm lib/re.pm
250 miniperl_: $& miniperlmain$(AOUT_OBJ_EXT) $(AOUT_LIBPERL) opmini$(AOUT_OBJ_EXT) $(_preplibrary)
251 $(CC) $(AOUT_CLDFLAGS) $(CCDLFLAGS) -o miniperl_ miniperlmain$(AOUT_OBJ_EXT) opmini$(AOUT_OBJ_EXT) $(AOUT_LIBPERL) $(libs)
253 # Forking statically loaded perl
255 # Need a miniperl_ dependency, since $(AOUT_DYNALOADER) is build via implicit
256 # rules, thus would not rebuild miniperl_ via an explicit rule
258 perl_$(EXE_EXT) perl_: $& miniperl_ aout_perlmain$(AOUT_OBJ_EXT) $(AOUT_LIBPERL) $(AOUT_DYNALOADER) $(aout_static_ext) ext.libs aout_extlist
259 $(CC) $(AOUT_CLDFLAGS) $(CCDLFLAGS) $(OPTIMIZE) -o perl_ aout_perlmain$(AOUT_OBJ_EXT) `cat aout_extlist` $(AOUT_LIBPERL) `cat ext.libs` $(libs)
262 STAT_AOUT_CLDFLAGS = -Zexe -Zmt -Zstack 32000
264 # Forking dynamically loaded perl with a wrong CRT library:
266 perl_stat_aout$(EXE_EXT) perl_stat_aout: $& libperl_dllmain$(AOUT_LIB_EXT)
267 $(SHRPENV) $(CC) $(STAT_AOUT_CLDFLAGS) $(CCDLFLAGS) $(OPTIMIZE) -o perl_stat_aout libperl_dllmain$(AOUT_LIB_EXT)
269 PERLREXX_DLL = perlrexx.dll
271 perl perl$(EXE_EXT) : perl__ perl___ $(PERLREXX_DLL) $(PERL_DLL)
273 # Dynamically loaded PM-application perl:
275 perl__$(EXE_EXT) perl__: $& libperl_dllmain$(LIB_EXT)
276 $(CC) $(CLDFLAGS) $(CCDLFLAGS) -o perl__ libperl_dllmain$(LIB_EXT) -Zlinker /PM:PM
278 # Forking dynamically loaded perl:
280 perl$(EXE_EXT) perl: $& libperl_dllmain$(AOUT_LIB_EXT)
281 $(CC) $(AOUT_CLDFLAGS_DLL) $(CCDLFLAGS) -o perl libperl_dllmain$(AOUT_LIB_EXT)
286 -rm *perl_.* *.o *.a lib/auto/*/*.a lib/auto/*/*/*.a lib/auto/*/*/*/*.a ext/*/Makefile.aout ext/*/*/Makefile.aout ext/*/*/*/Makefile.aout
288 aout_install: perl_ aout_install.perl
290 aout_install.perl: perl_ installperl
291 ./perl_ installperl --destdir="$(DESTDIR)"
293 perlrexx: $(PERLREXX_DLL)
296 perlrexx.c: os2/perlrexx.c
299 # Remove -Zexe, add -Zdll -Zso. No stack needed
300 SO_CLDFLAGS = -Zdll -Zso -Zomf -Zmt -Zsys
302 # A callable-from-REXX DLL
304 $(PERLREXX_DLL): perlrexx$(OBJ_EXT) perlrexx.def
305 $(SHRPENV) $(CC) $(SO_CLDFLAGS) $(CCDLFLAGS) -o $@ perlrexx$(OBJ_EXT) $(DYNALOADER) $(static_ext) $(LIBPERL) `cat ext.libs` $(libs) perlrexx.def
307 perlrexx.def: miniperl $(_preplibrary)
308 echo "LIBRARY 'perlrexx' INITINSTANCE TERMINSTANCE" > tmp.def
309 echo "DESCRIPTION '@#perl5-porters@perl.org:`miniperl -Ilib -MConfig -e 'print \$$]'`#@ REXX to Perl `miniperl -Ilib -MConfig -e 'print \$$Config{version}'` interface'" >> tmp.def
310 echo "EXPORTS" >> tmp.def
311 echo ' "PERL"' >> tmp.def
312 echo ' "PERLTERM"' >> tmp.def
313 echo ' "PERLINIT"' >> tmp.def
314 echo ' "PERLEXIT"' >> tmp.def
315 echo ' "PERLEVAL"' >> tmp.def
316 echo ' "PERLLASTERROR"' >> tmp.def
317 echo ' "PERLEVALSUBCOMMAND"' >> tmp.def
318 echo ' "PERLEXPORTALL"' >> tmp.def
319 echo ' "PERLDROPALL"' >> tmp.def
320 echo ' "PERLDROPALLEXIT"' >> tmp.def
321 sh mv-if-diff tmp.def $@
324 perlrexx$(OBJ_EXT): perlrexx.c
325 $(SO_CCCMD) $(PLDLFLAGS) -c perlrexx.c
327 # To test with harness, one needed to HARNESS_IGNORE_EXITCODE=2
329 # Define to be empty to get a TTY test
330 REDIR_TEST = 2>&1 | tee 00_$@
332 test_prep_perl_: test_prep_pre miniperl_ ./perl_$(EXE_EXT)
333 PERL=./perl_ $(MAKE) _test_prep
335 test_prep_various: test_prep_pre miniperl $(dynamic_ext) $(TEST_PERL_DLL)
337 test_prep_perl_sys: test_prep_various ./perl_sys$(EXE_EXT)
338 PERL=./perl_sys $(MAKE) _test_prep
340 test_prep_perl___: test_prep_various ./perl___$(EXE_EXT)
341 PERL=./perl___ $(MAKE) _test_prep
343 test_prep_perl_stat: test_prep_various ./perl_stat$(EXE_EXT)
344 PERL=./perl_stat $(MAKE) _test_prep
346 test_prep_perl_stat_aout: test_prep_various ./perl_stat_aout$(EXE_EXT)
347 PERL=./perl_stat_aout $(MAKE) _test_prep
349 aout_test: test_prep_perl_
350 PERL=./perl_ $(MAKE) _test
352 aout_harness: test_prep_perl_
353 -PERL=./perl_ $(MAKE) TESTFILE=harness _test $(REDIR_TEST)
355 sys_test: test_prep_perl_sys
356 PERL=./perl_sys $(MAKE) _test
358 sys_harness: test_prep_perl_sys
359 -PERL=./perl_sys $(MAKE) TESTFILE=harness _test $(REDIR_TEST)
361 stat_test: test_prep_perl_stat
362 PERL=./perl_stat $(MAKE) _test
364 stat_harness: test_prep_perl_stat
365 -PERL=./perl_stat $(MAKE) TESTFILE=harness _test $(REDIR_TEST)
367 stat_aout_test: test_prep_perl_stat_aout
368 PERL=./perl_stat_aout $(MAKE) _test
370 stat_aout_harness: test_prep_perl_stat_aout
371 -PERL=./perl_stat_aout $(MAKE) TESTFILE=harness _test $(REDIR_TEST)
373 perl___test: test_prep_perl___
374 PERL=./perl___ $(MAKE) _test
376 perl___harness: test_prep_perl___
377 -PERL=./perl___ $(MAKE) TESTFILE=harness _test $(REDIR_TEST)
379 all_test: test aout_test perl___test sys_test stat_test stat_aout_test
381 test_harness_redir: test_prep
382 -PERL=./perl $(MAKE) TESTFILE=harness _test $(REDIR_TEST)
384 all_harness: test_harness_redir aout_harness perl___harness sys_harness stat_harness stat_aout_harness
388 # Now we need to find directories in ./ext/ which are up to 3 level deep
389 # Currently (2001/06) there is no directories 4 levels deep.
390 # (Only directories so that there is no Makefile.PL some levels up matter.)
394 preci='ext/%/Makefile.aout '
397 # echo "...Checking '$d'..."
398 # skip the kid if the parent exists: cmp SDBFile/sdbm, done by MakeMaker
399 if test ! -e "$d/Makefile.PL"; then
400 # Need to treat subdirectories manually
401 # echo "...Checking subdirs of '$d'..."
405 if test ! -d $dd; then
408 if test -e "$dd/Makefile.PL"; then
409 if test "X$d_treated" = "X"; then
411 # echo "...Found parentless 2-level deep Makefile.PL's in $d/*/:" $d/*/Makefile.PL
413 preci="$preci $d/%/Makefile.aout"
416 # Need to treat subsubdirectories manually
418 for ddd in $dd/* # ext/*/*/*/Makefile.PL
420 if test ! -d $ddd; then
423 if test -e "$ddd/Makefile.PL"; then
424 if test "X$dd_treated" = "X"; then
426 # echo "...Found parentless 3-level deep Makefile.PL's in $dd/*/:" $dd/*/Makefile.PL
428 preci="$preci $dd/%/Makefile.aout"
437 # ext/threads is marked as NORECURS, so we need to specialcase it
438 if echo "$static_ext $dynamic_ext" | grep -q threads/shared ; then
439 preci="$preci ext/threads/%/Makefile.aout"
440 dirs="$dirs ext/threads"
443 $spitshell >>Makefile <<!GROK!THIS!
446 # Set this to FORCE to force a rebuilt of aout extensions
448 AOUT_EXTENSIONS_FORCE =
454 # Remove the leading component ext/
458 $spitshell >>Makefile <<!GROK!THIS!
459 lib/auto/$p/*/%.a : $d/%/Makefile.aout
460 @cd $d/\$(basename \$(notdir \$@)) ; make -f Makefile.aout config || echo "\$(MAKE) config failed, continuing anyway..."
461 cd $d/\$(basename \$(notdir \$@)) ; make -f Makefile.aout LINKTYPE=static CCCDLFLAGS=
463 $d/%/Makefile.aout : miniperl_ \$(_preplibrary) \$(AOUT_EXTENSIONS_FORCE)
464 cd \$(dir \$@) ; ../../../../miniperl_ -I ../../../../lib Makefile.PL FIRST_MAKEFILE=Makefile.aout INSTALLDIRS=perl PERL_CORE=1
473 $spitshell >>Makefile <<!GROK!THIS!
474 lib/auto/$p/*/%.a : $d/%/Makefile.aout
475 @cd $d/\$(basename \$(notdir \$@)) ; make -f Makefile.aout config || echo "\$(MAKE) config failed, continuing anyway..."
476 cd $d/\$(basename \$(notdir \$@)) ; make -f Makefile.aout LINKTYPE=static CCCDLFLAGS=
478 $d/%/Makefile.aout : miniperl_ \$(_preplibrary) \$(AOUT_EXTENSIONS_FORCE)
479 cd \$(dir \$@) ; ../../../miniperl_ -I ../../../lib Makefile.PL FIRST_MAKEFILE=Makefile.aout INSTALLDIRS=perl PERL_CORE=1
485 # We need to special-case OS2/DLL/DLL.a, since the recipe above will
486 # try to find it in ext/OS2/DLL
488 $spitshell >>Makefile <<'!NO!SUBS!'
489 lib/auto/OS2/DLL/DLL.a : lib/auto/OS2/REXX/REXX.a
492 lib/auto/*/%.a : ext/%/Makefile.aout
493 @cd ext/$(basename $(notdir $@)) ; make -f Makefile.aout config || echo "\$(MAKE) config failed, continuing anyway..."
494 cd ext/$(basename $(notdir $@)) ; make -f Makefile.aout LINKTYPE=static CCCDLFLAGS=
496 ext/%/Makefile.aout : miniperl_ $(_preplibrary) $(AOUT_EXTENSIONS_FORCE)
497 cd $(dir $@) ; ../../miniperl_ -I ../../lib Makefile.PL FIRST_MAKEFILE=Makefile.aout INSTALLDIRS=perl PERL_CORE=1