diff options
author | mjacob <mjacob@FreeBSD.org> | 1999-10-01 02:41:30 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 1999-10-01 02:41:30 +0000 |
commit | db3af1298dc458350fe091f545a29b1d51098727 (patch) | |
tree | f5674c68ac9cf2366196065db5236c73b4a6fdc6 /sys | |
parent | b6956e3e3c2c6dfe8094bba6c656a99d0e36c597 (diff) | |
download | FreeBSD-src-db3af1298dc458350fe091f545a29b1d51098727.zip FreeBSD-src-db3af1298dc458350fe091f545a29b1d51098727.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/conf/files.alpha | 5 | ||||
-rw-r--r-- | sys/conf/files.alpha | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sys/alpha/conf/files.alpha b/sys/alpha/conf/files.alpha index 272d1f6..6223c71 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 272d1f6..6223c71 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" \ |