summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/sign/Makefile.bsd-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/sign/Makefile.bsd-wrapper')
-rw-r--r--usr.sbin/pkg_install/sign/Makefile.bsd-wrapper20
1 files changed, 20 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/sign/Makefile.bsd-wrapper b/usr.sbin/pkg_install/sign/Makefile.bsd-wrapper
new file mode 100644
index 00000000000..b8b64ec6335
--- /dev/null
+++ b/usr.sbin/pkg_install/sign/Makefile.bsd-wrapper
@@ -0,0 +1,20 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1999/09/27 21:40:03 espie Exp $
+
+PROG= pkg_sign
+SRCS= main.c sign.c
+
+.if exists(${.CURDIR}/../lib/${__objdir})
+LDADD+= -L${.CURDIR}/../lib/${__objdir} -linstall
+DPADD+= ${.CURDIR}/../lib/${__objdir}/libinstall.a
+.else
+LDADD+= -L${.CURDIR}/../lib -linstall
+DPADD+= ${.CURDIR}/../lib/libinstall.a
+.endif
+
+LINKS= ${BINDIR}/pkg_sign ${BINDIR}/check_sign
+MANLINKS=pkg_sign.1 check_sign.1
+
+CLEANFILES=varmain.o
+
+.include <bsd.prog.mk>
+