From ba9e6e8ae6e33eff0a30cdfe35f7e6681fb0179a Mon Sep 17 00:00:00 2001 From: uebayasi Date: Tue, 1 Dec 2009 09:01:45 +0000 Subject: [PATCH] Add pkg_install as a tool. --- tools/pkg_install/Makefile | 6 ++++++ tools/pkg_install/Makefile.inc | 3 +++ tools/pkg_install/pkg_add/Makefile | 8 ++++++++ tools/pkg_install/pkg_admin/Makefile | 8 ++++++++ tools/pkg_install/pkg_create/Makefile | 8 ++++++++ tools/pkg_install/pkg_delete/Makefile | 8 ++++++++ tools/pkg_install/pkg_info/Makefile | 8 ++++++++ 7 files changed, 49 insertions(+) create mode 100644 tools/pkg_install/Makefile create mode 100644 tools/pkg_install/Makefile.inc create mode 100644 tools/pkg_install/pkg_add/Makefile create mode 100644 tools/pkg_install/pkg_admin/Makefile create mode 100644 tools/pkg_install/pkg_create/Makefile create mode 100644 tools/pkg_install/pkg_delete/Makefile create mode 100644 tools/pkg_install/pkg_info/Makefile diff --git a/tools/pkg_install/Makefile b/tools/pkg_install/Makefile new file mode 100644 index 000000000000..cbdf118bf4f0 --- /dev/null +++ b/tools/pkg_install/Makefile @@ -0,0 +1,6 @@ +# $NetBSD: Makefile,v 1.1 2009/12/01 09:01:45 uebayasi Exp $ + +SUBDIR= lib .WAIT pkg_add pkg_create pkg_delete pkg_info +# XXX pkg_admin + +.include diff --git a/tools/pkg_install/Makefile.inc b/tools/pkg_install/Makefile.inc new file mode 100644 index 000000000000..854be640d256 --- /dev/null +++ b/tools/pkg_install/Makefile.inc @@ -0,0 +1,3 @@ +HOST_LDFLAGS:= -L../lib -linstall + +.include "${NETBSDSRCDIR}/external/bsd/pkg_install/sbin/Makefile.inc" diff --git a/tools/pkg_install/pkg_add/Makefile b/tools/pkg_install/pkg_add/Makefile new file mode 100644 index 000000000000..4f6b501a53a7 --- /dev/null +++ b/tools/pkg_install/pkg_add/Makefile @@ -0,0 +1,8 @@ +# $NetBSD: Makefile,v 1.1 2009/12/01 09:01:46 uebayasi Exp $ + +HOSTPROGNAME= ${_TOOL_PREFIX}pkg_add +HOST_SRCDIR= external/bsd/pkg_install/sbin/pkg_add + +.include "${.CURDIR}/../Makefile.inc" + +.include "${.CURDIR}/../../Makefile.host" diff --git a/tools/pkg_install/pkg_admin/Makefile b/tools/pkg_install/pkg_admin/Makefile new file mode 100644 index 000000000000..5779c51545e2 --- /dev/null +++ b/tools/pkg_install/pkg_admin/Makefile @@ -0,0 +1,8 @@ +# $NetBSD: Makefile,v 1.1 2009/12/01 09:01:46 uebayasi Exp $ + +HOSTPROGNAME= ${_TOOL_PREFIX}pkg_admin +HOST_SRCDIR= external/bsd/pkg_install/sbin/pkg_admin + +.include "${.CURDIR}/../Makefile.inc" + +.include "${.CURDIR}/../../Makefile.host" diff --git a/tools/pkg_install/pkg_create/Makefile b/tools/pkg_install/pkg_create/Makefile new file mode 100644 index 000000000000..e0032fe1d25b --- /dev/null +++ b/tools/pkg_install/pkg_create/Makefile @@ -0,0 +1,8 @@ +# $NetBSD: Makefile,v 1.1 2009/12/01 09:01:46 uebayasi Exp $ + +HOSTPROGNAME= ${_TOOL_PREFIX}pkg_create +HOST_SRCDIR= external/bsd/pkg_install/sbin/pkg_create + +.include "${.CURDIR}/../Makefile.inc" + +.include "${.CURDIR}/../../Makefile.host" diff --git a/tools/pkg_install/pkg_delete/Makefile b/tools/pkg_install/pkg_delete/Makefile new file mode 100644 index 000000000000..efd5fc2de012 --- /dev/null +++ b/tools/pkg_install/pkg_delete/Makefile @@ -0,0 +1,8 @@ +# $NetBSD: Makefile,v 1.1 2009/12/01 09:01:46 uebayasi Exp $ + +HOSTPROGNAME= ${_TOOL_PREFIX}pkg_delete +HOST_SRCDIR= external/bsd/pkg_install/sbin/pkg_delete + +.include "${.CURDIR}/../Makefile.inc" + +.include "${.CURDIR}/../../Makefile.host" diff --git a/tools/pkg_install/pkg_info/Makefile b/tools/pkg_install/pkg_info/Makefile new file mode 100644 index 000000000000..1c71ea0ef41f --- /dev/null +++ b/tools/pkg_install/pkg_info/Makefile @@ -0,0 +1,8 @@ +# $NetBSD: Makefile,v 1.1 2009/12/01 09:01:46 uebayasi Exp $ + +HOSTPROGNAME= ${_TOOL_PREFIX}pkg_info +HOST_SRCDIR= external/bsd/pkg_install/sbin/pkg_info + +.include "${.CURDIR}/../Makefile.inc" + +.include "${.CURDIR}/../../Makefile.host"