diff options
author | jkh <jkh@FreeBSD.org> | 1996-11-09 20:50:23 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-11-09 20:50:23 +0000 |
commit | 050dc7a285a54922078f15841dec55e2300a9bfb (patch) | |
tree | c51cdfcfdf08cb86e5b6703a0a659bdc16eb09ac /usr.sbin | |
parent | 0118326e5f151868b7b9ada4aa8c57670a8a52b6 (diff) | |
download | FreeBSD-src-050dc7a285a54922078f15841dec55e2300a9bfb.zip FreeBSD-src-050dc7a285a54922078f15841dec55e2300a9bfb.tar.gz |
Disgusting kludge to make depend rule work again in the fact of
Joerg's keymap.[ch] changes. If there's a better way, I'd like to know.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sade/Makefile | 18 | ||||
-rw-r--r-- | usr.sbin/sysinstall/Makefile | 18 |
2 files changed, 12 insertions, 24 deletions
diff --git a/usr.sbin/sade/Makefile b/usr.sbin/sade/Makefile index de1227e..b09ec99 100644 --- a/usr.sbin/sade/Makefile +++ b/usr.sbin/sade/Makefile @@ -1,6 +1,8 @@ PROG= sysinstall NOMAN= yes -CLEANFILES+= makedevs.c rtermcap dumpnlist + +CLEANFILES+= makedevs.c rtermcap rtermcap.tmp dumpnlist +CLEANFILES+= keymap.tmp keymap.h .PATH: ${.CURDIR}/../disklabel ${.CURDIR}/../../usr.bin/cksum @@ -22,7 +24,7 @@ DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL} ${LIBDISK} LDADD= -ldialog -lncurses -lmytinfo -lutil -ldisk -makedevs.c: Makefile rtermcap +makedevs.c: Makefile rtermcap keymap.h rm -f makedevs.tmp echo '#include <sys/types.h>' > makedevs.tmp ./rtermcap cons25 | \ @@ -51,14 +53,13 @@ makedevs.c: Makefile rtermcap rtermcap: ${.CURDIR}/rtermcap.c ${CC} -o rtermcap ${.CURDIR}/rtermcap.c -ltermcap + KEYMAPS= be.iso br275.iso danish.iso fr.iso german.iso it.iso jp.106 \ norwegian.iso ru.koi8-r spanish.iso swedish.iso \ swissgerman.iso uk.iso us.dvorak us.iso -CLEANFILES+= rtermcap rtermcap.tmp makedevs.c -keymap.o: keymap.c keymap.h -keymap.h: Makefile +keymap.h: rm -f keymap.tmp for map in ${KEYMAPS} ; do \ kbdcontrol -L $$map >> keymap.tmp ; \ @@ -71,12 +72,5 @@ keymap.h: Makefile ( echo " { 0 }"; echo "};" ; echo "" ) >> keymap.tmp mv keymap.tmp keymap.h -CLEANFILES+= keymap.tmp keymap.h - - -testftp: ftp.c - cc -o testftp -I../libdisk -DSTANDALONE_FTP ftp.c - -CLEANFILES+= testftp .include <bsd.prog.mk> diff --git a/usr.sbin/sysinstall/Makefile b/usr.sbin/sysinstall/Makefile index de1227e..b09ec99 100644 --- a/usr.sbin/sysinstall/Makefile +++ b/usr.sbin/sysinstall/Makefile @@ -1,6 +1,8 @@ PROG= sysinstall NOMAN= yes -CLEANFILES+= makedevs.c rtermcap dumpnlist + +CLEANFILES+= makedevs.c rtermcap rtermcap.tmp dumpnlist +CLEANFILES+= keymap.tmp keymap.h .PATH: ${.CURDIR}/../disklabel ${.CURDIR}/../../usr.bin/cksum @@ -22,7 +24,7 @@ DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL} ${LIBDISK} LDADD= -ldialog -lncurses -lmytinfo -lutil -ldisk -makedevs.c: Makefile rtermcap +makedevs.c: Makefile rtermcap keymap.h rm -f makedevs.tmp echo '#include <sys/types.h>' > makedevs.tmp ./rtermcap cons25 | \ @@ -51,14 +53,13 @@ makedevs.c: Makefile rtermcap rtermcap: ${.CURDIR}/rtermcap.c ${CC} -o rtermcap ${.CURDIR}/rtermcap.c -ltermcap + KEYMAPS= be.iso br275.iso danish.iso fr.iso german.iso it.iso jp.106 \ norwegian.iso ru.koi8-r spanish.iso swedish.iso \ swissgerman.iso uk.iso us.dvorak us.iso -CLEANFILES+= rtermcap rtermcap.tmp makedevs.c -keymap.o: keymap.c keymap.h -keymap.h: Makefile +keymap.h: rm -f keymap.tmp for map in ${KEYMAPS} ; do \ kbdcontrol -L $$map >> keymap.tmp ; \ @@ -71,12 +72,5 @@ keymap.h: Makefile ( echo " { 0 }"; echo "};" ; echo "" ) >> keymap.tmp mv keymap.tmp keymap.h -CLEANFILES+= keymap.tmp keymap.h - - -testftp: ftp.c - cc -o testftp -I../libdisk -DSTANDALONE_FTP ftp.c - -CLEANFILES+= testftp .include <bsd.prog.mk> |