freebsd-dev/gnu/usr.bin/perl/x2p/a2pl/Makefile
Mark Murray 7b73600389 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.
1998-09-22 12:00:59 +00:00

36 lines
742 B
Makefile

#
# $Id: Makefile,v 1.5 1998/09/16 17:25:52 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
beforedepend all: config.h temp
.include <bsd.prog.mk>
.PATH: ${PERL5SRC}/x2p
.PATH: ${PERL5SRC}
.SUFFIXES:
.SUFFIXES: .c .h .o
temp:
@mkdir temp
CLEANFILES+= config.h config_h.sh config.sh ${PROG}.1
config.h: config_h.sh config.sh
sh config_h.sh
config.sh: ${.CURDIR}/../../libperl/config.SH-${OBJFORMAT}.${MACHINE_ARCH}
ln -sf ${.OODATE} ${.TARGET}
config_h.sh: ${PERL5SRC}/config_h.SH
ln -sf ${.OODATE} ${.TARGET}
${PROG}.1: ${PROG}.pod
miniperl ${MINIPERLOPT} ${.OBJDIR}/../../pod/pod2man/pod2man ${.OODATE} > ${.TARGET}