Fix for bootstrapping. Grr. Pointy Hat Please?

This commit is contained in:
Mark Murray 2000-06-26 15:02:10 +00:00
parent 271c4bdbce
commit 609108d899
3 changed files with 14 additions and 2 deletions

View File

@ -61,12 +61,14 @@ scripts: links
@sh cflags.sh
@sh writemain.sh
@sh myconfig.SH
@miniperl ${PERL5SRC}/configpm \
@miniperl -I. ${PERL5SRC}/configpm \
Config.pm Porting/Glossary myconfig
@ln -sf ../Config.pm lib/Config.pm
@touch ${.TARGET}
.if !defined(NO_PERL_SCRIPT_MAKE)
config.h: scripts
.endif
CLEANFILES+= links scripts
CLEANFILES+= config.h config.sh config_h.sh Config.pm

View File

@ -13,12 +13,17 @@ SRCS= perl.c gv.c toke.c perly.c op.c regcomp.c dump.c util.c mg.c \
DPADD= ${LIBM}
LDADD= -lm
NO_PERL_SCRIPT_MAKE= true
# NOPIC= true
.include <bsd.lib.mk>
build-tools: lib${LIB}.a
config.h: links
@sh config_h.sh
.SUFFIXES:
.SUFFIXES: .o .po .So .s .S .c

View File

@ -16,6 +16,8 @@ LDADD= ${MYLIBPERL} -lm -lcrypt
build-tools: ${PROG}
NO_PERL_SCRIPT_MAKE= true
.include <bsd.prog.mk>
.PATH: ${PERL5SRC}
@ -23,4 +25,7 @@ build-tools: ${PROG}
opmini.c: op.c
ln -sf ${.OODATE} ${.TARGET}
CLEANFILES+= opmini.c
config.h: links
@sh config_h.sh
CLEANFILES+= opmini.c config.h