fac6ec1f62
This backs out (sort of) delta 1.18 to perl/miniperl/Makefile. Update to the ld(1) comment by peter in this revision: ld(1) built as part of the cross-tools stage of buildworld has been fixed to look for dynamic dependencies in the right place, ${WORLDTMP}/usr/lib, effective binutils/ld/Makefile,v 1.20. Approved by: markm
42 lines
804 B
Makefile
42 lines
804 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= miniperl
|
|
NOMAN= true
|
|
SRCS= miniperlmain.c
|
|
SRCS+= perl.c gv.c toke.c perly.c op.c regcomp.c dump.c util.c mg.c \
|
|
hv.c av.c run.c pp_hot.c sv.c pp.c scope.c pp_ctl.c pp_sys.c \
|
|
doop.c doio.c regexec.c utf8.c taint.c universal.c \
|
|
xsutils.c globals.c perlio.c config.h
|
|
CFLAGS+=-I${.OBJDIR} -I${PERL5SRC} -DPERL_EXTERNAL_GLOB -DPERL_CORE
|
|
DPADD= ${LIBM} ${LIBCRYPT}
|
|
LDADD= -lm -lcrypt
|
|
|
|
# In FreeBSD 4.0, setproctitle(3) is in -lutil.
|
|
.if defined(BOOTSTRAPPING)
|
|
DPADD+= ${LIBUTIL}
|
|
LDADD+= -lutil
|
|
.endif
|
|
|
|
# Miniperl _must_ be static!!
|
|
NOSHARED= yes
|
|
|
|
# We need miniperl early in `depend'.
|
|
afterdepend: all
|
|
|
|
build-tools: depend all
|
|
|
|
install:
|
|
|
|
NO_PERL_SCRIPT_MAKE= true
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${PERL5SRC}
|
|
|
|
config.h: links
|
|
@sh config_h.sh
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .o .po .So .s .S .c
|