1998-05-05 05:25:21 +00:00
|
|
|
# $Id: Makefile,v 1.12 1998/05/04 20:09:01 bde Exp $
|
1994-09-10 06:27:55 +00:00
|
|
|
|
|
|
|
PROG= a2p
|
|
|
|
|
1998-05-04 20:09:06 +00:00
|
|
|
SRCS= a2p.y hash.c str.c walk.c util.c
|
1994-09-10 06:27:55 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../perl
|
1998-05-05 05:25:21 +00:00
|
|
|
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:
|
1995-07-25 00:37:58 +00:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 ${.CURDIR}/s2p \
|
1994-09-12 05:10:07 +00:00
|
|
|
${DESTDIR}${BINDIR}
|
1995-07-25 00:37:58 +00:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 ${.CURDIR}/h2ph \
|
1994-09-12 05:10:07 +00:00
|
|
|
${DESTDIR}${BINDIR}
|
1994-09-10 06:27:55 +00:00
|
|
|
|
1994-10-29 07:14:55 +00:00
|
|
|
afterinstall:
|
1998-02-21 04:06:24 +00:00
|
|
|
(DESTDIR=${DESTDIR}; cd ${DESTDIR}/usr/include; ${BINDIR}/h2ph * machine/* sys/*)
|
1994-10-29 07:14:55 +00:00
|
|
|
|
1994-09-11 19:53:02 +00:00
|
|
|
.include "../../Makefile.inc"
|
1994-09-12 05:10:07 +00:00
|
|
|
.include <bsd.prog.mk>
|