freebsd-dev/gnu/usr.bin/perl/lib/Makefile
Joerg Wunsch 20ef00ec9c Add a small `gethostname' package. It uses __sysctl(2), and thus
avoids the kludgy backquotes that are required by now (`hostname`).

Usage:

require "gethostname.pl";
$thishost = &gethostname'gethostname;
1996-02-13 13:17:49 +00:00

18 lines
522 B
Makefile

PLIBDIR= ${DESTDIR}/usr/share/perl
PLIB+= abbrev.pl assert.pl bigfloat.pl bigint.pl bigrat.pl cacheout.pl
PLIB+= chat2.pl complete.pl ctime.pl dumpvar.pl exceptions.pl fastcwd.pl
PLIB+= find.pl finddepth.pl flush.pl getcwd.pl gethostname.pl getopts.pl
PLIB+= importenv.pl look.pl newgetopt.pl open2.pl perldb.pl pwd.pl
PLIB+= shellwords.pl stat.pl syslog.pl termcap.pl timelocal.pl validate.pl
NOOBJ=
install:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PLIB} ${PLIBDIR}
clean:
cleandir:
.include <bsd.prog.mk>