summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2010-02-28 08:36:37 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2010-02-28 08:36:37 +0000
commit70eb22fc44d281586d5327e7d64b4a7fed9b9491 (patch)
tree05eb9653bdb77038f663084c92e4090b0afc1b5f /usr.sbin
parent7557e67edfd4c02a4c55aa0247caec831eddbf50 (diff)
build for loongson; ok miod@ jasper@ matthieu@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/apm/Makefile10
-rw-r--r--usr.sbin/apmd/Makefile10
2 files changed, 12 insertions, 8 deletions
diff --git a/usr.sbin/apm/Makefile b/usr.sbin/apm/Makefile
index f9eeef9f5b6..db902fd5542 100644
--- a/usr.sbin/apm/Makefile
+++ b/usr.sbin/apm/Makefile
@@ -1,9 +1,11 @@
-# $OpenBSD: Makefile,v 1.12 2008/08/11 18:45:13 kettenis Exp $
+# $OpenBSD: Makefile,v 1.13 2010/02/28 08:36:36 otto Exp $
.if (${MACHINE} == "amd64") || (${MACHINE} == "i386") || \
- (${MACHINE} == "macppc") || (${MACHINE} == "sparc") || \
- (${MACHINE} == "sparc64") || (${MACHINE} == "zaurus")
+ (${MACHINE} == "loongson") || (${MACHINE} == "macppc") || \
+ (${MACHINE} == "sparc") || (${MACHINE} == "sparc64") || \
+ (${MACHINE} == "zaurus")
+
SRCS= apm.c apmsubr.c
.PATH: ${.CURDIR}/../apmd
@@ -16,7 +18,7 @@ NOPROG=yes
.endif
MAN= apm.8
-MANSUBDIR=amd64 i386 macppc sparc sparc64 zaurus
+MANSUBDIR=amd64 i386 loongson macppc sparc sparc64 zaurus
MLINKS= apm.8 zzz.8
.include <bsd.prog.mk>
diff --git a/usr.sbin/apmd/Makefile b/usr.sbin/apmd/Makefile
index d16a30cbf93..546ca41e596 100644
--- a/usr.sbin/apmd/Makefile
+++ b/usr.sbin/apmd/Makefile
@@ -1,8 +1,10 @@
-# $OpenBSD: Makefile,v 1.10 2008/08/11 18:45:13 kettenis Exp $
+# $OpenBSD: Makefile,v 1.11 2010/02/28 08:36:36 otto Exp $
.if (${MACHINE} == "amd64") || (${MACHINE} == "i386") || \
- (${MACHINE} == "macppc") || (${MACHINE} == "sparc") || \
- (${MACHINE} == "sparc64") || (${MACHINE} == "zaurus")
+ (${MACHINE} == "loongson") || (${MACHINE} == "macppc") || \
+ (${MACHINE} == "sparc") || (${MACHINE} == "sparc64") || \
+ (${MACHINE} == "zaurus")
+
SRCS= apmd.c apmsubr.c
PROG= apmd
@@ -11,6 +13,6 @@ NOPROG=yes
.endif
MAN= apmd.8
-MANSUBDIR=amd64 i386 macppc sparc sparc64 zaurus
+MANSUBDIR=amd64 i386 loongson macppc sparc sparc64 zaurus
.include <bsd.prog.mk>