aboutsummaryrefslogtreecommitdiff
path: root/src/mkhdr
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-11-25 01:40:27 +0000
committerrsc <devnull@localhost>2003-11-25 01:40:27 +0000
commitf7012583e9a7594cbb5ebe8e974bb69061189262 (patch)
tree8eb3244abdd1eed893cad51ce12fccb0a9f7a1f7 /src/mkhdr
parentdc13c29ed174fd15e0b025ca4fea8af71015067d (diff)
downloadplan9port-f7012583e9a7594cbb5ebe8e974bb69061189262.tar.gz
plan9port-f7012583e9a7594cbb5ebe8e974bb69061189262.tar.bz2
plan9port-f7012583e9a7594cbb5ebe8e974bb69061189262.zip
Add the #goo to allow use in C++.
Silence a few more warnings. Strip down the mkfiles more. Fix bug in X11 mouse handling, note groups.
Diffstat (limited to 'src/mkhdr')
-rw-r--r--src/mkhdr23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/mkhdr b/src/mkhdr
index cbb0569f..8172845d 100644
--- a/src/mkhdr
+++ b/src/mkhdr
@@ -1,26 +1,25 @@
SYSNAME=`uname`
OBJTYPE=`uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'`
+BIN=$PLAN9/bin
+LIBDIR=$PLAN9/lib
+
+# BUG - figure this out automatically
X11=/usr/X11R6
+
+O=o
+OS=$O
+
CC=9c
LD=9l
AS=9a
AR=9ar
+INSTALL=install -c
CFLAGS=
LDFLAGS=
AFLAGS=
-O=o
-
-BIN=$PLAN9/bin
-LIBDIR=$PLAN9/lib
+CLEANFILES=
+NUKEFILES=
<|cat $PLAN9/src/mk.$SYSNAME-$OBJTYPE 2>/dev/null || true
-OS=$O
-LD=9l
-LDFLAGS=$LDFLAGS -L$LIBDIR
-
-CLEANFILES=*.$O
-NUKEFILES=
-
-INSTALL=install -c