406f5f9aec
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. :-)
36 lines
716 B
Makefile
36 lines
716 B
Makefile
#
|
|
# $Id: Makefile,v 1.3 1998/09/12 19:16:32 markm Exp $
|
|
#
|
|
|
|
LIB= perl
|
|
|
|
CFLAGS+=-I${.OBJDIR} -I${PERL5SRC}
|
|
|
|
SRCS= perl.c gv.c toke.c perly.c op.c regcomp.c dump.c util.c mg.c byterun.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 taint.c deb.c universal.c globals.c perlio.c \
|
|
config.h
|
|
|
|
# NOPIC= true
|
|
|
|
beforeinstall beforedepend all: config.h config.sh
|
|
|
|
CLEANFILES+= config.h config.sh config_h.sh
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .o .po .so .s .S .c
|
|
|
|
.PATH: ${PERL5SRC}
|
|
|
|
config.h: config_h.sh config.sh
|
|
sh config_h.sh
|
|
|
|
config.sh: config.SH-${OBJFORMAT}.${MACHINE_ARCH}
|
|
ln -sf ${.OODATE} ${.TARGET}
|
|
|
|
config_h.sh: config_h.SH
|
|
ln -sf ${.OODATE} ${.TARGET}
|