1# $NetBSD: Makefile,v 1.11 2020/12/02 13:54:25 wiz Exp $ 2# Original from FreeBSD, no rcs id. 3 4LIBISPRIVATE= yes 5 6LIB= install 7SRCS= automatic.c conflicts.c dewey.c \ 8 fexec.c file.c global.c gpgsig.c iterate.c license.c lpkg.c \ 9 opattern.c parse-config.c pkcs7.c pkg_signature.c \ 10 pkgdb.c pkg_io.c plist.c remove.c \ 11 str.c version.c var.c vulnerabilities-file.c xwrapper.c 12MAN= pkg_install.conf.5 pkg_summary.5 13 14version.o: version.h version.c 15 16.include <bsd.init.mk> 17 18pkg_install.conf.5: ${DIST}/lib/pkg_install.conf.5.in 19 ${TOOL_SED} -e 's,@SYSCONFDIR@,/etc,' \ 20 ${DIST}/lib/pkg_install.conf.5.in > ${.TARGET} 21 22.PATH: ${DIST}/lib 23 24CLEANFILES+= pkg_install.conf.5 25 26CPPFLAGS+= -DNETBSD 27CPPFLAGS+= -DPREFIX=\"/usr/pkg\" 28 29COPTS.plist.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=restrict :} 30 31.include <bsd.lib.mk> 32