mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-19 09:44:30 +01:00
a533e22a54
directories instead of /usr/share/perl.
24 lines
482 B
Makefile
24 lines
482 B
Makefile
|
|
PROG= a2p
|
|
|
|
SRCS+= a2p.c hash.c str.c walk.c util.c
|
|
CFLAGS+= -I${.CURDIR}/../perl
|
|
CLEANFILES+= y.tab.h a2p.c
|
|
|
|
LDADD= -lm
|
|
DPADD= ${LIBM}
|
|
|
|
MAN1+= a2p.1 s2p.1 h2ph.1
|
|
|
|
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}
|
|
|
|
afterinstall:
|
|
(DESTDIR=${DESTDIR}; cd ${DESTDIR}/usr/include; h2ph * sys/*)
|
|
|
|
.include "../../Makefile.inc"
|
|
.include <bsd.prog.mk>
|