freebsd-dev/gnu/usr.bin/perl/x2p/Makefile

25 lines
539 B
Makefile
Raw Normal View History

# $Id: Makefile,v 1.12 1998/05/04 20:09:01 bde Exp $
1994-09-10 06:27:55 +00:00
PROG= a2p
SRCS= a2p.y hash.c str.c walk.c util.c
1994-09-10 06:27:55 +00:00
CFLAGS+= -I${.CURDIR}/../perl
YFLAGS=
1994-09-10 06:27:55 +00:00
LDADD= -lm
DPADD= ${LIBM}
1995-05-30 05:05:38 +00:00
MAN1+= a2p.1 s2p.1 h2ph.1
1994-09-10 06:27:55 +00:00
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 ${.CURDIR}/s2p \
${DESTDIR}${BINDIR}
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 ${.CURDIR}/h2ph \
${DESTDIR}${BINDIR}
1994-09-10 06:27:55 +00:00
afterinstall:
(DESTDIR=${DESTDIR}; cd ${DESTDIR}/usr/include; ${BINDIR}/h2ph * machine/* sys/*)
.include "../../Makefile.inc"
.include <bsd.prog.mk>