ed4a07ffcc
o make install ; make install now works o make all ; make all is quiet the second time o Dependancies are properliy debugged; this means that make -jN has a far hihjer likelyhood of working. o a proper 'link farm' has been constructed for the build. This dramatically simplifies the dependancy tangle. o for perldoc's use, all the .pod files are installed. o the man3 docs are properly compressed. o the man pages and libary code are installed by the makefiles, not by a perl script. o at the end, h2ph is run.
34 lines
714 B
Makefile
34 lines
714 B
Makefile
#
|
|
# $Id: Makefile,v 1.6 1998/09/26 16:17:05 markm Exp $
|
|
#
|
|
|
|
PROG= miniperl
|
|
NOMAN= true
|
|
CFLAGS+=-I${PERL5SRC} -I${.OBJDIR}
|
|
SRCS= miniperlmain.c config.h
|
|
# Miniperl _must_ be static!!
|
|
NOSHARED= yes
|
|
DPADD= ${LIBPERL} ${LIBM} ${LIBCRYPT}
|
|
LDADD= -lperl -lm -lcrypt
|
|
|
|
# Trick the bootstrap tools into thinking that miniperl is perl.
|
|
# This gets overwritten.
|
|
LINKS= ${BINDIR}/${PROG} ${BINDIR}/perl
|
|
|
|
CLEANFILES= config.h config.sh config_h.sh
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
miniperlmain.o: config.h
|
|
|
|
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: config_h.SH
|
|
@ln -sf ${.OODATE} ${.TARGET}
|
|
|
|
.PATH: ${PERL5SRC}
|