freebsd-dev/gnu/usr.bin/perl/libperl/Makefile
John Polstra f92bdbd010 Switch to using ".So" as the extension for PIC object files rather
than ".so".  The old extension conflicted with well-established
naming conventions for dynamically loadable modules.

The "clean" targets continue to remove ".so" files too, to deal with
old systems.
1999-01-09 21:51:00 +00:00

36 lines
716 B
Makefile

#
# $Id: Makefile,v 1.4 1998/09/16 17:25:51 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}