plan9port/src/mkhdr

39 lines
474 B
Text
Raw Normal View History

2003-11-23 18:10:54 +00:00
SYSNAME=`uname`
2005-11-01 18:35:44 +00:00
# objtype rules also in Makefile
2005-01-11 17:43:53 +00:00
OBJTYPE=`uname -m | sed '
s;i.86;386;;
s;amd64;x86_64;;
2005-01-11 17:43:53 +00:00
s;/.*;;;
s; ;;g;
2005-11-01 18:35:44 +00:00
s;armv4l;arm;g;
2005-01-11 17:43:53 +00:00
s;PowerMacintosh;power;g;
2005-05-01 18:40:01 +00:00
s;macppc;power;g;
2005-01-11 17:43:53 +00:00
s;ppc64;power;g;
s;ppc;power;g'`
BIN=$PLAN9/bin
LIBDIR=$PLAN9/lib
O=o
OS=$O
2003-11-23 19:49:17 +00:00
CC=9c
2005-07-13 03:52:28 +00:00
#CC=9r
2003-11-23 19:49:17 +00:00
LD=9l
AS=9a
AR=9ar
2006-02-24 17:46:47 +00:00
INSTALL=install
2003-11-23 18:10:54 +00:00
CFLAGS=
2003-11-23 19:49:17 +00:00
LDFLAGS=
2003-11-23 18:10:54 +00:00
AFLAGS=
CLEANFILES=
NUKEFILES=
2005-01-11 21:28:31 +00:00
YACC=9 yacc
2005-01-14 04:24:09 +00:00
LEX=9 lex
YFLAGS=-d
2004-02-29 23:09:35 +00:00
LIB=
2004-02-29 23:20:28 +00:00
SHORTLIB=9
2003-11-23 18:10:54 +00:00
2003-11-23 20:04:53 +00:00
<|cat $PLAN9/src/mk.$SYSNAME-$OBJTYPE 2>/dev/null || true
2003-11-23 18:10:54 +00:00