diff options
author | Murray Stokely <murray@FreeBSD.org> | 2002-03-29 23:03:17 +0000 |
---|---|---|
committer | Murray Stokely <murray@FreeBSD.org> | 2002-03-29 23:03:17 +0000 |
commit | adca9ffd3dea76774443a81c148cf946cf388a08 (patch) | |
tree | 6cdb8acff66e199590f5c4adb25ac58065d4c2f2 /usr.sbin/sysinstall/Makefile | |
parent | ede9f03a1a89e4925318c01fe16da5b4d848d9de (diff) | |
download | src-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/Makefile | 6 |
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 |