summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-07-31 14:53:43 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-07-31 14:53:43 +0000
commit01d06d60a4a7104d72058aed82cd717b35e68bbb (patch)
tree1d276752726f07df857b6b0d2110c2240c75fccd
parent6566359095ef060380dc78c4dbc84d2befcf6df0 (diff)
downloadFreeBSD-src-01d06d60a4a7104d72058aed82cd717b35e68bbb.zip
FreeBSD-src-01d06d60a4a7104d72058aed82cd717b35e68bbb.tar.gz
Simplify the Makefile. The i386 and amd64 sections are equal.
Sponsored by: The FreeBSD Foundation
-rw-r--r--lib/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/Makefile b/lib/Makefile
index aad8362..0f5294f 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -167,7 +167,7 @@ _libnetgraph= libnetgraph
_libypclnt= libypclnt
.endif
-.if ${MACHINE_ARCH} == "i386"
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
.if ${MK_NCP} != "no"
_libncp= libncp
.endif
@@ -181,15 +181,6 @@ _libefi= libefi
_libsmb= libsmb
.endif
-.if ${MACHINE_ARCH} == "amd64"
-.if ${MK_NCP} != "no"
-_libncp= libncp
-.endif
-_libsmb= libsmb
-_libvgl= libvgl
-_libproc= libproc
-.endif
-
.if ${MACHINE_CPUARCH} == "powerpc"
_libsmb= libsmb
.endif
OpenPOWER on IntegriCloud