From ad9687aff39896f41522791fb63a3c81aa442673 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Fri, 1 Oct 1999 02:41:30 +0000 Subject: make sure a trivial apm.h is created, as some people have assumed that all architectures have apm and have just included apm.h blindly. --- sys/alpha/conf/files.alpha | 5 +++++ sys/conf/files.alpha | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/sys/alpha/conf/files.alpha b/sys/alpha/conf/files.alpha index 272d1f6f317a5..6223c7162a623 100644 --- a/sys/alpha/conf/files.alpha +++ b/sys/alpha/conf/files.alpha @@ -12,6 +12,11 @@ font8x16.o optional std8x16font \ compile-with "uudecode < /usr/share/syscons/fonts/${STD8X16FONT}-8x16.fnt && file2c 'unsigned char font_16[16*256] = {' '};' < ${STD8X16FONT}-8x16 > font8x16.c && ${CC} -c ${CFLAGS} font8x16.c" \ no-implicit-rule before-depend \ clean "${STD8X16FONT}-8x16 font8x16.c" +# make sure apm.h gets made correctly +apm.h standard \ + compile-with "echo '#define NAPM 0' > apm.h" \ + no-obj no-implicit-rule before-depend + # atkbdmap.h optional atkbd_dflt_keymap \ compile-with "kbdcontrol -L ${ATKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > atkbdmap.h" \ diff --git a/sys/conf/files.alpha b/sys/conf/files.alpha index 272d1f6f317a5..6223c7162a623 100644 --- a/sys/conf/files.alpha +++ b/sys/conf/files.alpha @@ -12,6 +12,11 @@ font8x16.o optional std8x16font \ compile-with "uudecode < /usr/share/syscons/fonts/${STD8X16FONT}-8x16.fnt && file2c 'unsigned char font_16[16*256] = {' '};' < ${STD8X16FONT}-8x16 > font8x16.c && ${CC} -c ${CFLAGS} font8x16.c" \ no-implicit-rule before-depend \ clean "${STD8X16FONT}-8x16 font8x16.c" +# make sure apm.h gets made correctly +apm.h standard \ + compile-with "echo '#define NAPM 0' > apm.h" \ + no-obj no-implicit-rule before-depend + # atkbdmap.h optional atkbd_dflt_keymap \ compile-with "kbdcontrol -L ${ATKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > atkbdmap.h" \ -- cgit v1.3