aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/Makefile
diff options
context:
space:
mode:
authorMurray Stokely <murray@FreeBSD.org>2002-03-29 23:03:17 +0000
committerMurray Stokely <murray@FreeBSD.org>2002-03-29 23:03:17 +0000
commitadca9ffd3dea76774443a81c148cf946cf388a08 (patch)
tree6cdb8acff66e199590f5c4adb25ac58065d4c2f2 /usr.sbin/sysinstall/Makefile
parentede9f03a1a89e4925318c01fe16da5b4d848d9de (diff)
downloadsrc-adca9ffd3dea76774443a81c148cf946cf388a08.tar.gz
src-adca9ffd3dea76774443a81c148cf946cf388a08.zip
Only build and link the pccard module on architectures that support it (and
that have room for pccardd on mfsroot.flp).
Notes
Notes: svn path=/head/; revision=93401
Diffstat (limited to 'usr.sbin/sysinstall/Makefile')
-rw-r--r--usr.sbin/sysinstall/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/Makefile b/usr.sbin/sysinstall/Makefile
index ec921e026fe8..2320d95189eb 100644
--- a/usr.sbin/sysinstall/Makefile
+++ b/usr.sbin/sysinstall/Makefile
@@ -6,10 +6,14 @@ SRCS= anonFTP.c cdrom.c command.c config.c devices.c dhcp.c \
disks.c dispatch.c dist.c dmenu.c doc.c dos.c floppy.c \
ftp.c globals.c http.c index.c install.c installUpgrade.c keymap.c \
label.c main.c makedevs.c media.c menus.c misc.c modules.c \
- mouse.c msg.c network.c nfs.c options.c package.c pccard.c \
+ mouse.c msg.c network.c nfs.c options.c package.c \
system.c tape.c tcpip.c termcap.c ttys.c ufs.c usb.c user.c \
variable.c wizard.c keymap.h
+.if ${MACHINE_ARCH} == "i386"
+SRCS+= pccard.c
+.endif
+
CFLAGS+= -I${.CURDIR}/../../gnu/lib/libdialog -I.
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98