1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Use #include <pccard_conf.h> instead of -DPCCARD.

Now we don't have to make clean before make boot.flp's.
This commit is contained in:
Tatsumi Hosokawa 1999-07-06 09:16:00 +00:00
parent 2618634bae
commit 0f37309e5c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48625
9 changed files with 50 additions and 27 deletions

View File

@ -333,7 +333,7 @@ release.4:
.else
cp ${.CURDIR}/boot_crunch.conf.generic ${.OBJDIR}/boot_crunch.conf
.endif
cd ${.CURDIR}/sysinstall && make clean obj depend all install
cd ${.CURDIR}/sysinstall && make obj depend all install
rm -rf ${RD}/crunch
mkdir -p ${RD}/crunch
export RELEASE_BUILD_FIXIT=noway ; \

View File

@ -5,7 +5,7 @@ BINDIR=/stand
NOSHARED=YES
CLEANFILES+= makedevs.c rtermcap rtermcap.tmp dumpnlist
CLEANFILES+= keymap.tmp keymap.h
CLEANFILES+= keymap.tmp keymap.h pccard_conf.h
.PATH: ${.CURDIR}/../disklabel ${.CURDIR}/../../usr.bin/cksum
@ -13,8 +13,8 @@ SRCS= anonFTP.c cdrom.c command.c config.c devices.c kget.c \
disks.c dispatch.c dist.c dmenu.c doc.c dos.c floppy.c \
ftp.c globals.c index.c install.c installUpgrade.c keymap.c \
label.c lndir.c main.c makedevs.c media.c menus.c misc.c mouse.c \
msg.c network.c nfs.c options.c package.c pccard.c system.c \
tape.c tcpip.c termcap.c ufs.c user.c variable.c wizard.c \
msg.c network.c nfs.c options.c package.c pccard_conf.h pccard.c \
system.c tape.c tcpip.c termcap.c ufs.c user.c variable.c wizard.c \
keymap.h
CFLAGS+= -Wall -I${.CURDIR}/../../gnu/lib/libdialog -I${.OBJDIR}
@ -23,13 +23,19 @@ CFLAGS+= -DUC_PRIVATE -DKERN_NO_SYMBOLS
PCCARD?= NO
.if ${PCCARD} == "YES"
CFLAGS+= -DPCCARD
.endif
DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL} ${LIBDISK} ${LIBFTPIO}
LDADD= -ldialog -lncurses -lmytinfo -lutil -ldisk -lftpio
cleanconfig:
rm -f pccard_conf.h
pccard_conf.h: cleanconfig
.if ${PCCARD} == "YES"
echo "#define PCCARD 1" > pccard_conf.h
.else
echo "#undef PCCARD" > pccard_conf.h
.endif
makedevs.c: Makefile rtermcap keymap.h
rm -f makedevs.tmp
echo '#include <sys/types.h>' > makedevs.tmp

View File

@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
* $Id: main.c,v 1.51 1999/02/05 22:15:50 jkh Exp $
* $Id: main.c,v 1.52 1999/06/17 19:04:55 markm Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -35,6 +35,7 @@
*/
#include "sysinstall.h"
#include "pccard_conf.h"
#include <sys/signal.h>
#include <sys/fcntl.h>

View File

@ -1,7 +1,7 @@
/*
* PC-card support for sysinstall
*
* $Id: pccard.c,v 1.2 1999/06/30 05:04:37 hosokawa Exp $
* $Id: pccard.c,v 1.4 1999/07/04 15:54:14 hosokawa Exp $
*
* Copyright (c) 1997-1999
* Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>. All rights reserved.
@ -15,6 +15,7 @@
*/
#include "sysinstall.h"
#include "pccard_conf.h"
#include <sys/fcntl.h>
#include <sys/time.h>
#include <pccard/cardinfo.h>

View File

@ -5,7 +5,7 @@ BINDIR=/stand
NOSHARED=YES
CLEANFILES+= makedevs.c rtermcap rtermcap.tmp dumpnlist
CLEANFILES+= keymap.tmp keymap.h
CLEANFILES+= keymap.tmp keymap.h pccard_conf.h
.PATH: ${.CURDIR}/../disklabel ${.CURDIR}/../../usr.bin/cksum
@ -13,8 +13,8 @@ SRCS= anonFTP.c cdrom.c command.c config.c devices.c kget.c \
disks.c dispatch.c dist.c dmenu.c doc.c dos.c floppy.c \
ftp.c globals.c index.c install.c installUpgrade.c keymap.c \
label.c lndir.c main.c makedevs.c media.c menus.c misc.c mouse.c \
msg.c network.c nfs.c options.c package.c pccard.c system.c \
tape.c tcpip.c termcap.c ufs.c user.c variable.c wizard.c \
msg.c network.c nfs.c options.c package.c pccard_conf.h pccard.c \
system.c tape.c tcpip.c termcap.c ufs.c user.c variable.c wizard.c \
keymap.h
CFLAGS+= -Wall -I${.CURDIR}/../../gnu/lib/libdialog -I${.OBJDIR}
@ -23,13 +23,19 @@ CFLAGS+= -DUC_PRIVATE -DKERN_NO_SYMBOLS
PCCARD?= NO
.if ${PCCARD} == "YES"
CFLAGS+= -DPCCARD
.endif
DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL} ${LIBDISK} ${LIBFTPIO}
LDADD= -ldialog -lncurses -lmytinfo -lutil -ldisk -lftpio
cleanconfig:
rm -f pccard_conf.h
pccard_conf.h: cleanconfig
.if ${PCCARD} == "YES"
echo "#define PCCARD 1" > pccard_conf.h
.else
echo "#undef PCCARD" > pccard_conf.h
.endif
makedevs.c: Makefile rtermcap keymap.h
rm -f makedevs.tmp
echo '#include <sys/types.h>' > makedevs.tmp

View File

@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
* $Id: main.c,v 1.51 1999/02/05 22:15:50 jkh Exp $
* $Id: main.c,v 1.52 1999/06/17 19:04:55 markm Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -35,6 +35,7 @@
*/
#include "sysinstall.h"
#include "pccard_conf.h"
#include <sys/signal.h>
#include <sys/fcntl.h>

View File

@ -5,7 +5,7 @@ BINDIR=/stand
NOSHARED=YES
CLEANFILES+= makedevs.c rtermcap rtermcap.tmp dumpnlist
CLEANFILES+= keymap.tmp keymap.h
CLEANFILES+= keymap.tmp keymap.h pccard_conf.h
.PATH: ${.CURDIR}/../disklabel ${.CURDIR}/../../usr.bin/cksum
@ -13,8 +13,8 @@ SRCS= anonFTP.c cdrom.c command.c config.c devices.c kget.c \
disks.c dispatch.c dist.c dmenu.c doc.c dos.c floppy.c \
ftp.c globals.c index.c install.c installUpgrade.c keymap.c \
label.c lndir.c main.c makedevs.c media.c menus.c misc.c mouse.c \
msg.c network.c nfs.c options.c package.c pccard.c system.c \
tape.c tcpip.c termcap.c ufs.c user.c variable.c wizard.c \
msg.c network.c nfs.c options.c package.c pccard_conf.h pccard.c \
system.c tape.c tcpip.c termcap.c ufs.c user.c variable.c wizard.c \
keymap.h
CFLAGS+= -Wall -I${.CURDIR}/../../gnu/lib/libdialog -I${.OBJDIR}
@ -23,13 +23,19 @@ CFLAGS+= -DUC_PRIVATE -DKERN_NO_SYMBOLS
PCCARD?= NO
.if ${PCCARD} == "YES"
CFLAGS+= -DPCCARD
.endif
DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL} ${LIBDISK} ${LIBFTPIO}
LDADD= -ldialog -lncurses -lmytinfo -lutil -ldisk -lftpio
cleanconfig:
rm -f pccard_conf.h
pccard_conf.h: cleanconfig
.if ${PCCARD} == "YES"
echo "#define PCCARD 1" > pccard_conf.h
.else
echo "#undef PCCARD" > pccard_conf.h
.endif
makedevs.c: Makefile rtermcap keymap.h
rm -f makedevs.tmp
echo '#include <sys/types.h>' > makedevs.tmp

View File

@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
* $Id: main.c,v 1.51 1999/02/05 22:15:50 jkh Exp $
* $Id: main.c,v 1.52 1999/06/17 19:04:55 markm Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -35,6 +35,7 @@
*/
#include "sysinstall.h"
#include "pccard_conf.h"
#include <sys/signal.h>
#include <sys/fcntl.h>

View File

@ -1,7 +1,7 @@
/*
* PC-card support for sysinstall
*
* $Id: pccard.c,v 1.2 1999/06/30 05:04:37 hosokawa Exp $
* $Id: pccard.c,v 1.4 1999/07/04 15:54:14 hosokawa Exp $
*
* Copyright (c) 1997-1999
* Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>. All rights reserved.
@ -15,6 +15,7 @@
*/
#include "sysinstall.h"
#include "pccard_conf.h"
#include <sys/fcntl.h>
#include <sys/time.h>
#include <pccard/cardinfo.h>