head	1.13;
access;
symbols
	RELENG_4_11_0_RELEASE:1.11.2.1
	RELENG_4_11:1.11.2.1.0.18
	RELENG_4_11_BP:1.11.2.1
	RELENG_4_10_0_RELEASE:1.11.2.1
	RELENG_4_10:1.11.2.1.0.16
	RELENG_4_10_BP:1.11.2.1
	RELENG_4_9_0_RELEASE:1.11.2.1
	RELENG_4_9:1.11.2.1.0.14
	RELENG_4_9_BP:1.11.2.1
	RELENG_4_8_0_RELEASE:1.11.2.1
	RELENG_4_8:1.11.2.1.0.12
	RELENG_4_8_BP:1.11.2.1
	RELENG_4_7_0_RELEASE:1.11.2.1
	RELENG_4_7:1.11.2.1.0.10
	RELENG_4_7_BP:1.11.2.1
	RELENG_4_6_2_RELEASE:1.11.2.1
	RELENG_4_6_1_RELEASE:1.11.2.1
	RELENG_4_6_0_RELEASE:1.11.2.1
	RELENG_4_6:1.11.2.1.0.8
	RELENG_4_6_BP:1.11.2.1
	RELENG_4_5_0_RELEASE:1.11.2.1
	RELENG_4_5:1.11.2.1.0.6
	RELENG_4_5_BP:1.11.2.1
	RELENG_4_4_0_RELEASE:1.11.2.1
	RELENG_4_4:1.11.2.1.0.4
	RELENG_4_4_BP:1.11.2.1
	RELENG_4_3_0_RELEASE:1.11.2.1
	RELENG_4_3:1.11.2.1.0.2
	RELENG_4_3_BP:1.11.2.1
	RELENG_4_2_0_RELEASE:1.11.2.1
	RELENG_4_1_1_RELEASE:1.11
	PRE_SMPNG:1.12
	RELENG_4_1_0_RELEASE:1.11
	RELENG_3_5_0_RELEASE:1.6.2.1
	RELENG_4_0_0_RELEASE:1.11
	RELENG_4:1.11.0.2
	RELENG_4_BP:1.11
	RELENG_3_4_0_RELEASE:1.6.2.1
	RELENG_3_3_0_RELEASE:1.6.2.1
	RELENG_3_2_PAO:1.6.0.4
	RELENG_3_2_PAO_BP:1.6
	RELENG_3_2_0_RELEASE:1.6
	RELENG_3_1_0_RELEASE:1.6
	RELENG_3:1.6.0.2
	RELENG_3_BP:1.6
	RELENG_3_0_0_RELEASE:1.6;
locks; strict;
comment	@# @;


1.13
date	2002.05.16.09.57.11;	author markm;	state dead;
branches;
next	1.12;

1.12
date	2000.06.27.15.28.13;	author markm;	state Exp;
branches;
next	1.11;

1.11
date	99.12.18.13.55.12;	author peter;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	99.12.16.12.12.28;	author marcel;	state Exp;
branches;
next	1.9;

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

1.8
date	99.09.04.10.02.04;	author markm;	state Exp;
branches;
next	1.7;

1.7
date	99.08.27.23.36.33;	author peter;	state Exp;
branches;
next	1.6;

1.6
date	98.09.22.12.00.59;	author markm;	state Exp;
branches
	1.6.2.1;
next	1.5;

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

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

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

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

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

1.11.2.1
date	2000.10.05.09.54.57;	author markm;	state Exp;
branches;
next	1.11.2.2;

1.11.2.2
date	2012.11.17.07.23.09;	author svnexp;	state Exp;
branches;
next	;

1.6.2.1
date	99.08.29.14.34.38;	author peter;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Remove the perl build. Farewell, old friend.
@
text
@#
# $FreeBSD: src/gnu/usr.bin/perl/x2p/a2pl/Makefile,v 1.12 2000/06/27 15:28:13 markm Exp $
#

PROG=	a2p
CFLAGS+=-I${PERL5SRC}/x2p -I${.OBJDIR} -I${.OBJDIR}/temp
LDFLAGS+=-lperl -lm -lcrypt
SRCS=	a2p.c hash.c str.c util.c walk.c config.h

CLEANDIRS+=	temp
CLEANFILES+=	${PROG}.1

config.h: temp

temp:
	@@mkdir temp

.include <bsd.prog.mk>

.PATH: ${PERL5SRC}/x2p
.PATH: ${PERL5SRC}

.SUFFIXES:
.SUFFIXES: .c .h .o

${PROG}.1: ${PROG}.pod
	${MINIPERL} ${MINIPERLOPT} ${.OBJDIR}/../../pod/pod2man/pod2man ${.OODATE} > ${.TARGET}
@


1.12
log
@Fix the upgrade-build case.
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/perl/x2p/a2pl/Makefile,v 1.11 1999/12/18 13:55:12 peter Exp $
@


1.11
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/x2p/a2pl/Makefile,v 1.10 1999/12/16 12:12:28 marcel Exp $
d27 1
a27 1
	miniperl ${MINIPERLOPT} ${.OBJDIR}/../../pod/pod2man/pod2man ${.OODATE} > ${.TARGET}
@


1.11.2.1
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/x2p/a2pl/Makefile,v 1.12 2000/06/27 15:28:13 markm Exp $
d27 1
a27 1
	${MINIPERL} ${MINIPERLOPT} ${.OBJDIR}/../../pod/pod2man/pod2man ${.OODATE} > ${.TARGET}
@


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


1.10
log
@Add libmd to LDFLAGS. libmd is needed by libcrypt.
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/perl/x2p/a2pl/Makefile,v 1.9 1999/09/24 15:32:11 markm Exp $
d7 1
a7 1
LDFLAGS+=-lperl -lm -lcrypt -lmd
@


1.9
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/x2p/a2pl/Makefile,v 1.8 1999/09/04 10:02:04 markm Exp $
d7 1
a7 1
LDFLAGS+=-lperl -lm -lcrypt
@


1.8
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/x2p/a2pl/Makefile,v 1.7 1999/08/27 23:36:33 peter Exp $
d10 7
a16 1
beforedepend all: config.h temp
a19 11
PERL_THREADED?= no
.if ${PERL_THREADED} == "true"
CFLAGS+=        -pthread
LDADD+=         -pthread
.endif
     
PERL_DEBUGGING?=        no
.if ${PERL_DEBUGGING} == "true"
CFLAGS+=        -DDEBUGGING
.endif

a24 17

temp:
	@@mkdir temp

CLEANFILES+= config.h config_h.sh config.sh ${PROG}.1

config.h: config_h.sh config.sh
	sh config_h.sh

${.CURDIR}/../../libperl/config.sh:
	cd ${.CURDIR}/../../libperl ; make config.sh

config.sh: ${.CURDIR}/../../libperl/config.sh
	ln -sf  ${CANONICALOBJDIR}/../../libperl/config.sh ${.TARGET}

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


1.7
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d14 11
d39 5
a43 2
config.sh: ${.CURDIR}/../../libperl/config.SH-${OBJFORMAT}.${MACHINE_ARCH}
	ln -sf ${.OODATE} ${.TARGET}
@


1.6
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.5 1998/09/16 17:25:52 markm Exp $
@


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


1.5
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.4 1998/09/12 19:16:33 markm Exp $
d29 1
a29 1
	@@ln -sf ${.OODATE} ${.TARGET}
d32 1
a32 1
	@@ln -sf ${.OODATE} ${.TARGET}
@


1.4
log
@Allow libperl to be a shared library.

This has the delightful side effect of fixing ELF .so objects.

Asked-for-by: peter
@
text
@d2 1
a2 1
# $Id$
d28 1
a28 1
config.sh: ${.CURDIR}/../../libperl/config.SH-${OBJFORMAT}
@


1.3
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
@d7 1
a7 1
LDFLAGS+=-lperl
@


1.2
log
@Dorkus sum. I managed to commit an earlier version of this. This fixes the
broken perl build.

* NOTE * * NOTE * * NOTE *

PERL5 RELIES IN A MAKE WORLD FOR THE BOOTSTRAP!!

* NOTE * * NOTE * * NOTE *
@
text
@d7 2
a8 1
SRCS=	a2p.c hash.c str.c util.c walk.c
d10 1
a10 1
beforedepend all: ${.OBJDIR}/config.h temp
d15 1
d23 1
a23 2
CLEANFILES+= ${.OBJDIR}/config.h ${.OBJDIR}/config_h.sh ${.OBJDIR}/config.sh \
		${PROG}.1
d25 1
a25 1
${.OBJDIR}/config.h: ${.OBJDIR}/config_h.sh ${.OBJDIR}/config.sh
d28 1
a28 1
${.OBJDIR}/config.sh: ${.CURDIR}/../../libperl/config.SH
d31 1
a31 1
${.OBJDIR}/config_h.sh: ${PERL5SRC}/config_h.SH
@


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

I'll be doiung the rest in stages.
@
text
@d34 1
a34 1
	miniperl ${.OBJDIR}/../../pod/pod2man/pod2man ${.OODATE} > ${.TARGET}
@
