From f7012583e9a7594cbb5ebe8e974bb69061189262 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 25 Nov 2003 01:40:27 +0000 Subject: 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. --- src/mkhdr | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'src/mkhdr') 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 -- cgit v1.2.3