head	1.18;
access;
symbols
	RELENG_4_11_0_RELEASE:1.13.2.2
	RELENG_4_11:1.13.2.2.0.18
	RELENG_4_11_BP:1.13.2.2
	RELENG_4_10_0_RELEASE:1.13.2.2
	RELENG_4_10:1.13.2.2.0.16
	RELENG_4_10_BP:1.13.2.2
	RELENG_4_9_0_RELEASE:1.13.2.2
	RELENG_4_9:1.13.2.2.0.14
	RELENG_4_9_BP:1.13.2.2
	RELENG_4_8_0_RELEASE:1.13.2.2
	RELENG_4_8:1.13.2.2.0.12
	RELENG_4_8_BP:1.13.2.2
	RELENG_4_7_0_RELEASE:1.13.2.2
	RELENG_4_7:1.13.2.2.0.10
	RELENG_4_7_BP:1.13.2.2
	RELENG_4_6_2_RELEASE:1.13.2.2
	RELENG_4_6_1_RELEASE:1.13.2.2
	RELENG_4_6_0_RELEASE:1.13.2.2
	RELENG_4_6:1.13.2.2.0.8
	RELENG_4_6_BP:1.13.2.2
	RELENG_4_5_0_RELEASE:1.13.2.2
	RELENG_4_5:1.13.2.2.0.6
	RELENG_4_5_BP:1.13.2.2
	RELENG_4_4_0_RELEASE:1.13.2.2
	RELENG_4_4:1.13.2.2.0.4
	RELENG_4_4_BP:1.13.2.2
	RELENG_4_3_0_RELEASE:1.13.2.2
	RELENG_4_3:1.13.2.2.0.2
	RELENG_4_3_BP:1.13.2.2
	RELENG_4_2_0_RELEASE:1.13.2.2
	RELENG_4_1_1_RELEASE:1.13.2.1
	PRE_SMPNG:1.17
	RELENG_4_1_0_RELEASE:1.13.2.1
	RELENG_3_5_0_RELEASE:1.6.2.2
	RELENG_4_0_0_RELEASE:1.13
	RELENG_4:1.13.0.2
	RELENG_4_BP:1.13
	RELENG_3_4_0_RELEASE:1.6.2.2
	RELENG_3_3_0_RELEASE:1.6.2.2
	RELENG_3_2_PAO:1.6.2.1.0.2
	RELENG_3_2_PAO_BP:1.6.2.1
	RELENG_3_2_0_RELEASE:1.6.2.1
	RELENG_3_1_0_RELEASE:1.6
	RELENG_3:1.6.0.2
	RELENG_3_BP:1.6
	RELENG_3_0_0_RELEASE:1.5;
locks; strict;
comment	@# @;


1.18
date	2002.05.16.09.57.09;	author markm;	state dead;
branches;
next	1.17;

1.17
date	2000.08.13.01.40.06;	author imp;	state Exp;
branches;
next	1.16;

1.16
date	2000.06.25.14.48.16;	author markm;	state Exp;
branches;
next	1.15;

1.15
date	2000.06.04.23.16.14;	author ache;	state Exp;
branches;
next	1.14;

1.14
date	2000.03.27.15.58.53;	author bde;	state Exp;
branches;
next	1.13;

1.13
date	2000.03.08.15.45.14;	author markm;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	99.12.18.13.55.11;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	99.12.16.10.55.39;	author marcel;	state Exp;
branches;
next	1.10;

1.10
date	99.09.24.15.32.02;	author markm;	state Exp;
branches;
next	1.9;

1.9
date	99.09.04.10.02.02;	author markm;	state Exp;
branches;
next	1.8;

1.8
date	99.08.27.23.36.23;	author peter;	state Exp;
branches;
next	1.7;

1.7
date	99.05.02.15.29.52;	author markm;	state Exp;
branches;
next	1.6;

1.6
date	99.01.12.07.57.01;	author peter;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	98.10.11.18.13.42;	author markm;	state Exp;
branches;
next	1.4;

1.4
date	98.09.22.12.00.58;	author markm;	state Exp;
branches;
next	1.3;

1.3
date	98.09.16.17.25.52;	author markm;	state Exp;
branches;
next	1.2;

1.2
date	98.09.12.15.45.30;	author markm;	state Exp;
branches;
next	1.1;

1.1
date	98.09.09.07.20.28;	author markm;	state Exp;
branches;
next	;

1.13.2.1
date	2000.06.04.23.19.48;	author ache;	state Exp;
branches;
next	1.13.2.2;

1.13.2.2
date	2000.10.05.09.54.52;	author markm;	state Exp;
branches;
next	1.13.2.3;

1.13.2.3
date	2012.11.17.07.23.08;	author svnexp;	state Exp;
branches;
next	;

1.6.2.1
date	99.05.05.13.28.50;	author markm;	state Exp;
branches;
next	1.6.2.2;

1.6.2.2
date	99.08.29.14.34.23;	author peter;	state Exp;
branches;
next	;


desc
@@


1.18
log
@Remove the perl build. Farewell, old friend.
@
text
@# $FreeBSD: src/gnu/usr.bin/perl/suidperl/Makefile,v 1.17 2000/08/13 01:40:06 imp Exp $

PROG=	suidperl
NOMAN=	true
CFLAGS+=-I${PERL5SRC} -I${.OBJDIR} -DPERL_CORE
CFLAGS+=-DIAMSUID
SRCS=	perlmain.c config.h
SRCS+=	sperl.c
NOSHARED= no
LDFLAGS=-Wl,-E
DPADD=	${DYNALOADER} ${LIBPERL} ${LIBM} ${LIBCRYPT} ${LIBMD}
LDADD=	${DYNALOADER} -lperl -lm -lcrypt -lmd
LINKS=	${BINDIR}/${PROG} ${BINDIR}/sperl5 \
	${BINDIR}/${PROG} ${BINDIR}/sperl${VERSION}
BINOWN=	root
.if defined(ENABLE_SUIDPERL) && ${ENABLE_SUIDPERL} == "true"
BINMODE=4511
.else
BINMODE=511
.endif

CLEANFILES=	Config.pm perlmain.c \
		autosplit ext.libs
CLEANFILES+=	sperl.c

.include <bsd.prog.mk>

beforedepend all:	scripts

${PROG}: scripts autosplit ${DYNALOADER}

perlmain.c: scripts autosplit
	sh writemain ${DYNALOADER} > ${.TARGET}

.PATH:	${PERL5SRC}

sperl.c: ${PERL5SRC}/perl.c
	ln -sf ${.OODATE} ${.TARGET}
@


1.17
log
@Always build and install suidperl.  Only install suidperl setuid when
ENABLE_SUIDPERL is set to true.  When perl is updated to remove the
fork mail code, additional warnings will enable the users to know what
is gonig on and how to correct it.  Markm will make those commits as
part of his perl patch integration.  suidperl is installed with
execute permissions so that markm's added error messages wil be seen
by the user.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/suidperl/Makefile,v 1.16 2000/06/25 14:48:16 markm Exp $
@


1.16
log
@Userland build stuff for Perl5.006.

This is cleaned up quite a lot since 5.00502, and the library modules
are broken out into individual dirs. This should please a lot folk.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/suidperl/Makefile,v 1.15 2000/06/04 23:16:14 ache Exp $
d16 1
d18 3
@


1.15
log
@Remove libxpg4
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/suidperl/Makefile,v 1.14 2000/03/27 15:58:53 bde Exp $
d5 4
a8 2
CFLAGS+=-I${PERL5SRC} -I${.OBJDIR} -DIAMSUID
SRCS=	perlmain.c sperl.c config.h
a10 1
DYNALOADER= lib/auto/DynaLoader/DynaLoader.a
d13 2
a16 1
LINKS=	${BINDIR}/${PROG} ${BINDIR}/sperl5.00503
d18 3
a20 5
CLEANFILES=	Config.pm perlmain.c sperl.c \
		autosplit pod2man.PL pod2man ext.libs \
		man3pages

STATIC_EXT=	DynaLoader/DynaLoader
d24 1
a24 33
MAKEMAKER_ARGS=	INSTALLDIRS=perl PERL_SRC=${.OBJDIR} \
		INSTALLMAN3DIR=${DESTDIR}/usr/share/perl/man3 \
		PERL=perl FULLPERL=perl DEFINE=-I${DESTDIR}/usr/include

${PROG}: Config.pm autosplit lib/auto/DynaLoader/DynaLoader.a

sperl.c: perl.c
	@@ln -sf ${.OODATE} ${.TARGET}

Config.pm: links ${PERL5SRC}/configpm myconfig config.sh
	miniperl ${PERL5SRC}/configpm \
		Config.pm Porting/Glossary myconfig config.sh
	@@cd lib ; ln -sf ../${.TARGET}

perlmain.c: config.sh writemain config.h
	sh writemain lib/auto/DynaLoader/DynaLoader.a > ${.TARGET}

autosplit: links Config.pm lib/*.pm lib/*/*.pm
	miniperl -I${.OBJDIR}/lib \
		-e 'use AutoSplit; autosplit_lib_modules(@@ARGV)' \
		lib/*.pm lib/*/*.pm
	touch ${.TARGET}

.for I in ${STATIC_EXT}
ext/${I:H}/Makefile: links ext/${I:H}/Makefile.PL cflags Config.pm config.h
	@@cd ext/${I:H}; \
	miniperl -I${.OBJDIR}/lib Makefile.PL ${MAKEMAKER_ARGS} \
		LINKTYPE=static LIBS="-lperl -lm"; \
	make -B config PERL_SRC=${.OBJDIR}

lib/auto/${I}.a: links ext/${I:H}/Makefile
	@@cd ext/${I:H}; \
	make -B all PERL_SRC=${.OBJDIR}
d26 1
a26 1
all:	lib/auto/${I}.a
d28 2
a29 2
STATICS+=	lib/auto/${I}.a
.endfor
d32 3
@


1.14
log
@Don't abuse LDADD for holding linker flags.  Doing so broke
`make checkdpadd'.  Linker flags (ones passed via ${CC}) go in
LDFLAGS.

Fixed some style bugs (misformatting of $FreeBSD$).
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/suidperl/Makefile,v 1.13 2000/03/08 15:45:14 markm Exp $
d10 2
a11 2
DPADD=	${DYNALOADER} ${LIBPERL} ${LIBM} ${LIBCRYPT} ${LIBMD} ${LIBXPG4}
LDADD=	${DYNALOADER} -lperl -lm -lcrypt -lmd -lxpg4
@


1.13
log
@Considerable upgrade to the way perl links to shared objects. This
fixes the way that third-party apps like apache link in perl .so's
(and previously did not get libperl linked in.)

NOTE - you neeed to recompile all your perl stuff - all the p5-*
por4ts with C code, and things like mod_perl.
@
text
@d1 1
a1 3
#
# $FreeBSD: src/gnu/usr.bin/perl/suidperl/Makefile,v 1.12 1999/12/18 13:55:11 peter Exp $
#
d8 1
d11 1
a11 1
LDADD=	-Wl,-E ${DYNALOADER} -lperl -lm -lcrypt -lmd -lxpg4
@


1.13.2.1
log
@MFC: remove libxpg4
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/perl/suidperl/Makefile,v 1.13 2000/03/08 15:45:14 markm Exp $
d11 2
a12 2
DPADD=	${DYNALOADER} ${LIBPERL} ${LIBM} ${LIBCRYPT} ${LIBMD}
LDADD=	-Wl,-E ${DYNALOADER} -lperl -lm -lcrypt -lmd
@


1.13.2.2
log
@MFC: Merge the CURRENT perl-building method to STABLE. This will
dramatically reduce the dependance on miniperl.

NOTE!! This does not bring Perl-5.6.0 to STABLE !!

NOTE!! You should delete /usr/bin/miniperl !!
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/perl/suidperl/Makefile,v 1.13.2.1 2000/06/04 23:19:48 ache Exp $
a12 2
LINKS=	${BINDIR}/${PROG} ${BINDIR}/sperl5 \
	${BINDIR}/${PROG} ${BINDIR}/sperl${VERSION}
a13 1
.if defined(ENABLE_SUIDPERL) && ${ENABLE_SUIDPERL} == "true"
d15 7
a21 7
.else
BINMODE=511
.endif

CLEANFILES=	Config.pm perlmain.c \
		autosplit ext.libs
CLEANFILES+=	sperl.c
d25 33
a57 1
beforedepend all: scripts
d59 1
a59 1
${PROG}: scripts autosplit ${DYNALOADER}
d61 2
a62 2
perlmain.c: scripts autosplit
	sh writemain ${DYNALOADER} > ${.TARGET}
a64 3

sperl.c: ${PERL5SRC}/perl.c
	@@ln -sf ${.OODATE} ${.TARGET}
@


1.13.2.3
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/gnu/usr.bin/perl/suidperl/Makefile 66671 2000-10-05 09:55:01Z markm $
@


1.12
log
@Revert the libcrypt/libmd stuff back to how it was.  This should not have
happened as it was working around problems elsewhere (ie: binutils/ld
not doing the right thing according to the ELF design).  libcrypt has
been adjusted to not need the runtime -lmd.  It's still not quite right
(ld is supposed to work damnit) but at least it doesn't impact all the
users of libcrypt in Marcel's cross-build model.
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/perl/suidperl/Makefile,v 1.11 1999/12/16 10:55:39 marcel Exp $
d10 3
a12 2
DPADD=	lib/auto/DynaLoader/DynaLoader.a ${LIBPERL} ${LIBM} ${LIBCRYPT}
LDADD=	lib/auto/DynaLoader/DynaLoader.a -lperl -lm -lcrypt
d25 4
d37 1
a37 1
	cd lib ; ln -sf ../${.TARGET}
d49 4
a52 5
ext/${I:H}/Makefile: links ext/${I:H}/Makefile.PL cflags Config.pm
	cd ext/${I:H}; \
	miniperl -I${.OBJDIR}/lib Makefile.PL \
		LINKTYPE=static INSTALLDIRS=perl PERL_SRC=${.OBJDIR} \
		LIBS="-lperl" INSTALLMAN3DIR=${DESTDIR}/usr/share/perl/man3; \
d56 1
a56 1
	cd ext/${I:H}; \
@


1.11
log
@Add libmd (or move it after libcrypt). We don't want the linker to be
smart because it will definitely get it wrong. This popped up during
cross-linking.
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/perl/suidperl/Makefile,v 1.10 1999/09/24 15:32:02 markm Exp $
d10 2
a11 3
DYNALOADER= lib/auto/DynaLoader/DynaLoader.a
DPADD=	${DYNALOADER} ${LIBPERL} ${LIBM} ${LIBCRYPT} ${LIBMD}
LDADD=	${DYNALOADER} -lperl -lm -lcrypt -lmd
@


1.10
log
@Low-level, but significant cleanup of Perl's build process.

This should significantly ease "make; make install" loops.
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/perl/suidperl/Makefile,v 1.9 1999/09/04 10:02:02 markm Exp $
d10 3
a12 2
DPADD=	lib/auto/DynaLoader/DynaLoader.a ${LIBPERL} ${LIBM} ${LIBCRYPT}
LDADD=	lib/auto/DynaLoader/DynaLoader.a -lperl -lm -lcrypt
@


1.9
log
@Allow perl to be built with thread support.

Submitted by:	Doug Ambrisko <ambrisko@@whistle.com>
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/perl/suidperl/Makefile,v 1.8 1999/08/27 23:36:23 peter Exp $
d16 3
a18 4

CLEANFILES=	config.h config.sh config_h.sh writemain writemain.sh \
		Config.pm cflags cflags.sh myconfig perlmain.c miniperlmain.c \
		autosplit regcomp.c regexec.c ext.libs sperl.c
d24 1
a24 12
PERL_THREADED?= no
.if ${PERL_THREADED} == "true"
CFLAGS+=        -pthread
LDADD+=         -pthread
.endif
     
PERL_DEBUGGING?=        no
.if ${PERL_DEBUGGING} == "true"
CFLAGS+=        -DDEBUGGING
.endif

${PROG}: linkfarm Config.pm autosplit lib/auto/DynaLoader/DynaLoader.a
d29 1
a29 7
config.h: linkfarm
	sh config_h.sh

cflags: linkfarm
	sh cflags.sh

Config.pm: linkfarm
d34 1
a34 1
perlmain.c: linkfarm writemain config.h
d37 1
a37 4
writemain: linkfarm
	sh writemain.sh

autosplit: linkfarm Config.pm lib/*.pm lib/*/*.pm
d44 1
a44 1
ext/${I:H}/Makefile: linkfarm ext/${I:H}/Makefile.PL cflags Config.pm
d51 1
a51 1
lib/auto/${I}.a: linkfarm ext/${I:H}/Makefile
@


1.8
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d24 11
@


1.7
log
@System Perl is now 5.00503! There is support for threads, but this is
not currently enabled. Thread-boffins are welcome to send me patches.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.6 1999/01/12 07:57:01 peter Exp $
@


1.6
log
@When doing a setuid script, the usual #!/usr/bin/perl detects it and execs
/usr/bin/sperl5.00502 to implement it, so that name had better exist..

Reviewed by:	markm (a while ago)
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1998/10/11 18:13:42 markm Exp $
d14 1
a14 1
LINKS=	${BINDIR}/${PROG} ${BINDIR}/sperl5.00502
@


1.6.2.1
log
@MFC: system Perl is now 5.00503!
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.7 1999/05/02 15:29:52 markm Exp $
d14 1
a14 1
LINKS=	${BINDIR}/${PROG} ${BINDIR}/sperl5.00503
@


1.6.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.5
log
@Very substantial debug/improvement of the FreeBSD/Perl5 build.

o make install ; make install now works
o make all ; make all is quiet the second time
o Dependancies are properliy debugged; this means that make -jN has a
  far hihjer likelyhood of working.
o a proper 'link farm' has been constructed for the build. This
  dramatically simplifies the dependancy tangle.
o for perldoc's use, all the .pod files are installed.
o the man3 docs are properly compressed.
o the man pages and libary code are installed by the makefiles, not
  by a perl script.
o at the end, h2ph is run.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.4 1998/09/22 12:00:58 markm Exp $
d14 2
@


1.4
log
@Big cleanup of the perl build.

1) Inspired by JB's finding of a hardcoded /usr/bin/ranlib in the
   config files, these have been properly cleaned up and have
   been personalised for FreeBSD, not MarkM.

2) Inspired by Peter, copying of the lib/ext etc dirs has been
   replaced by a link farm.

3) Common code has been moved to a higher-level Makefile.inc.

This has been tested with a make -j8.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1998/09/16 17:25:52 markm Exp $
d16 4
a19 2
		Config.pm cflags cflags.sh myconfig perlmain.c miniperlmain.c
CLEANDIRS=	lib ext Porting hints
d23 1
a23 3
STATIC_EXT=	DynaLoader/DynaLoader

${PROG}: Config.pm lib/auto/DynaLoader/DynaLoader.a
d25 2
a26 1
lib/auto/DynaLoader/DynaLoader.a: Config.pm autosplit
d28 1
a28 1
config.h: config_h.sh config.sh
d31 2
a32 17
config.sh: ${.CURDIR}/../libperl/config.SH-${OBJFORMAT}.${MACHINE_ARCH}
	ln -sf ${.OODATE} ${.TARGET}

config_h.sh: config_h.SH
	ln -sf ${.OODATE} ${.TARGET}

cflags.sh: cflags.SH
	ln -sf ${.OODATE} ${.TARGET}

cflags: cflags.sh
	sh ${.OODATE}

lib/re.pm: lib ext hints ext/re/re.pm
	cat ${PERL5SRC}/ext/re/re.pm > ${.OBJDIR}/lib/re.pm

lib/Config.pm: Config.pm
	cp -p ${.OODATE} ${.TARGET}
d34 1
a34 4
myconfig: ${PERL5SRC}/myconfig
	ln -sf ${.OODATE} ${.TARGET}

Config.pm: myconfig config.sh lib ext hints Porting lib/re.pm
d37 1
d39 1
a39 7
${.OBJDIR}/miniperlmain.c: miniperlmain.c
	@@ln -sf ${.OODATE} ${.TARGET}

sperl.c: perl.c
	@@ln -sf ${.OODATE} ${.TARGET}

perlmain.c: ${.OBJDIR}/miniperlmain.c config.sh writemain config.h
d42 2
a43 5
writemain.sh: writemain.SH
	@@ln -sf ${.OODATE} ${.TARGET}

writemain: writemain.sh
	sh ${.OODATE}
d45 1
a45 1
autosplit: lib ext Porting hints
d49 1
d52 1
a52 1
lib/auto/${I}.a: cflags lib/Config.pm ${DEPEND_H}
d55 9
a63 3
		INSTALLDIRS=perl PERL_SRC=${.OBJDIR}; \
	make -B config PERL_SRC=${.OBJDIR}; \
	make -B all LINKTYPE=static PERL_SRC=${.OBJDIR}
@


1.3
log
@Generalise the build a bit more.

1) Fix up the NOSHARED stuff (bde)
2) Accomodate CFLAGS (vanilla)
3) Provide separate files for i386 and alpha (Doug Rabson)

In case 3, the supplied files were corrupted, but the concepts
sound enough, so I just copied what exists into
config.SH-{elf|aout}.{i386|alpha}. Alpha team, go ahead and do what
is necessary on config.SH-elf.alpha. :-)
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1998/09/12 15:45:30 markm Exp $
d21 1
a21 7
HEADERS=EXTERN.h INTERN.h XSUB.h XSlock.h av.h bytecode.h byterun.h \
	cc_runtime.h cop.h cv.h dosish.h embed.h embedvar.h fakethr.h form.h \
	gv.h handy.h hv.h intrpvar.h iperlsys.h keywords.h mg.h nostdio.h \
	objXSUB.h objpp.h op.h opcode.h patchlevel.h perl.h perlio.h \
	perlsdio.h perlsfio.h perlvars.h perly.h pp.h pp_proto.h proto.h \
	regcomp.h regexp.h regnodes.h scope.h sv.h thrdvar.h thread.h \
	unixish.h util.h
d23 3
a25 1
${PROG}: lib/auto/DynaLoader/DynaLoader.a
d31 1
a31 1
	cp -p ${.OODATE} ${.TARGET}
d34 1
a34 1
	cp -p ${.OODATE} ${.TARGET}
d37 1
a37 1
	cp -p ${.OODATE} ${.TARGET}
a41 16
lib:
	@@rm -rf lib
	cp -rp ${PERL5SRC}/lib .

ext:
	@@rm -rf ext
	cp -rp ${PERL5SRC}/ext .

Porting:
	@@rm -rf Porting
	cp -rp ${PERL5SRC}/Porting .

hints:
	@@rm -rf hints
	cp -rp ${PERL5SRC}/hints .

d46 1
a46 1
	@@cp -p ${.OODATE} ${.TARGET}
d49 1
a49 1
	@@ln -sf ${.OODATE} ${.TARGET}
a54 17
DEPEND_H=

.for I in ${HEADERS}
${.OBJDIR}/${I}: ${I}
	@@ln -sf ${.OODATE} ${.TARGET}

CLEANFILES+= ${.OBJDIR}/${I}
DEPEND_H+= ${.OBJDIR}/${I}
.endfor

lib/auto/DynaLoader/DynaLoader.a: cflags lib/Config.pm ${DEPEND_H}
	cd ext/DynaLoader; \
	miniperl -I../../lib Makefile.PL \
		INSTALLDIRS=perl PERL_SRC=${.OBJDIR}; \
	make -B config PERL_SRC=${.OBJDIR}; \
	make -B all LINKTYPE=static PERL_SRC=${.OBJDIR}

d69 16
@


1.2
log
@Fix parallel building.

(Tested by make -j12 buildworld on a 4-cpu SMP box).

Address (but not solve) ELF shareable objects causing perl to
dump core. (I have a heck of a lot to learn about ELF).

Lots of help by: bde, jkh, jb and others
@
text
@d2 1
a2 1
# $Id$
d34 1
a34 1
config.sh: ${.CURDIR}/../libperl/config.SH-${OBJFORMAT}
@


1.1
log
@Bring in the Perl5 BMake files. This ends the easy stuff.

I'll be doiung the rest in stages.
@
text
@d9 2
d34 2
a35 2
config.sh: ${.CURDIR}/../libperl/config.SH
	@@ln -sf ${.OODATE} ${.TARGET}
d38 1
a38 1
	@@ln -sf ${.OODATE} ${.TARGET}
d41 1
a41 1
	@@ln -sf ${.OODATE} ${.TARGET}
d66 1
a66 1
	@@cd lib; ln -s ../${.OODATE}
d71 1
a71 1
Config.pm: myconfig lib ext hints Porting lib/re.pm
d89 2
a90 2
	make config PERL_SRC=${.OBJDIR}; \
	make all LINKTYPE=static PERL_SRC=${.OBJDIR}
d98 1
a98 1
perlmain.c: ${.OBJDIR}/miniperlmain.c config.sh writemain
@
