It is based on the AT&T Plan 9 shell of the same name. The shell offers a C-like syntax (much more so than the C shell), and a powerful mechanism for manipulating variables. It is reasonably small and fast, especially when compared to contemporary shells. Its use is intended to be interactive, but the language lends itself well to scripts.
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
$NetBSD: patch-aa,v 1.1.1.1 2005/07/20 16:14:54 leonardschmidt Exp $
|
|
|
|
--- config.mk.orig 2005-07-20 08:27:46.000000000 +0000
|
|
+++ config.mk
|
|
@@ -1,15 +1,15 @@
|
|
# Customize to fit your system
|
|
|
|
# paths
|
|
-PREFIX = /usr/local
|
|
-MANPREFIX = ${PREFIX}/share/man
|
|
+#PREFIX = /usr/local
|
|
+MANPREFIX = ${PREFIX}/man
|
|
|
|
INCDIR = ${PREFIX}/include
|
|
LIBDIR = ${PREFIX}/lib
|
|
|
|
# includes and libs
|
|
-INCLUDES = -I. -I${INCDIR} -I/usr/include
|
|
-LIBS = -L${LIBDIR} -L/usr/lib -lc
|
|
+INCLUDES = -I. -I${INCDIR} -I${PREFIX}/include
|
|
+LIBS = -L${LIBDIR} -L${PREFIX}/lib -lc
|
|
|
|
# str{l,n}{cat,cpy} support, if you have OpenBSD you can use strl*
|
|
STRLCPY = strncpy
|
|
@@ -18,13 +18,12 @@ STRLFLAGS = -DSTRLCPY=${STRLCPY} -DSTR
|
|
|
|
# compiler
|
|
VERSION = 20050720
|
|
-CFLAGS = -Os -Wall -pedantic ${INCLUDES} ${STRLFLAGS} \
|
|
- -DVERSION=\"${VERSION}\"
|
|
-LDFLAGS = -static ${LIBS}
|
|
+CFLAGS += ${INCLUDES} ${STRLFLAGS} -DVERSION=\"${VERSION}\"
|
|
+LDFLAGS += -static ${LIBS}
|
|
|
|
# userland
|
|
AR = ar cr
|
|
-CC = cc
|
|
+#CC = cc
|
|
YACC = yacc
|
|
CP = cp -f
|
|
COMPRESS = bzip2
|