1 # $NetBSD: Makefile,v 1.1 2016/01/13 19:01:56 christos Exp $ 2 3 # $FreeBSD: src/gnu/usr.bin/groff/src/utils/indxbib/Makefile,v 1.7 2003/05/01 13:22:21 ru Exp $ 4 5 DIST_SUBDIR= src/utils/indxbib 6 7 .include <bsd.init.mk> 8 9 PROG_CXX= indxbib 10 SRCS= indxbib.cpp signal.c 11 DPADD+= ${LIBBIB} 12 LDADD+= ${LIBBIB} 13 CLEANFILES= ${MAN} 14 15 .include <bsd.own.mk> 16 17 .if make(install) 18 COMMON_WORDS_FILE!= ${TOOL_AWK} -F\" '/COMMON_WORDS_FILE/ { print $$2 }' \ 19 ${.CURDIR}/../../include/defs.h 20 21 .if ${MKSHARE} != "no" 22 FILES=eign 23 FILESNAME=${COMMON_WORDS_FILE:T} 24 FILESDIR=${COMMON_WORDS_FILE:H} 25 .endif 26 .endif 27 28 .include <bsd.prog.mk> 29