386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Thu, 14 May 1992 19:33:47 +0000 (11:33 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Thu, 14 May 1992 19:33:47 +0000 (11:33 -0800)
Work on file usr/othersrc/public/zsh-2.2/src/config.h
Work on file usr/othersrc/public/zsh-2.2/src/Makefile

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/othersrc/public/zsh-2.2/src/Makefile [new file with mode: 0644]
usr/othersrc/public/zsh-2.2/src/config.h [new file with mode: 0644]

diff --git a/usr/othersrc/public/zsh-2.2/src/Makefile b/usr/othersrc/public/zsh-2.2/src/Makefile
new file mode 100644 (file)
index 0000000..b048de8
--- /dev/null
@@ -0,0 +1,45 @@
+#! /bin/make -f
+# Makefile for zsh
+# generated by buildzsh
+
+OBJS=builtin.o cond.o exec.o glob.o hist.o init.o jobs.o lex.o loop.o \
+math.o mem.o params.o parse.o subst.o table.o text.o utils.o watch.o \
+zle_bindings.o zle_hist.o zle_main.o zle_misc.o zle_move.o zle_refresh.o \
+zle_tricky.o zle_utils.o zle_vi.o zle_word.o
+
+BINDIR=/usr/local/bin
+MANDIR=/usr/local/man/man1
+
+# debugging flags
+#CFLAGS=-g -Wreturn-type -Wunused -Wpointer-arith -DQDEBUG
+#CC=gcc -traditional
+
+CC=cc
+CFLAGS= -O
+LIBS= -ltermcap
+
+ZSHPATH=zsh
+
+.c.o:
+       $(CC) $(CFLAGS) -c $<
+
+all: $(ZSHPATH)
+
+$(ZSHPATH): $(OBJS)
+       $(CC) -o $(ZSHPATH) $(OBJS) $(LIBS) $(LFLAGS)
+       
+tags: /tmp
+       ctags *.[cy]
+
+# I hate this next line
+$(OBJS): config.h zsh.h zle.h signals.h ztype.h funcs.h
+
+clean:
+       rm -f *.o zsh core 
+
+cleanall:
+       rm -f *.o zsh core Makefile signals.h config.h
+
+install: zsh
+       install -s -m 755 zsh $(BINDIR)
+       install -m 444 ../man/man1/zsh.1 $(MANDIR)
diff --git a/usr/othersrc/public/zsh-2.2/src/config.h b/usr/othersrc/public/zsh-2.2/src/config.h
new file mode 100644 (file)
index 0000000..ed6099b
--- /dev/null
@@ -0,0 +1,111 @@
+/* this file is created automatically by buildzsh */
+
+/* define this if you are sysvish */
+/* #define SYSV */
+
+#define TERMIOS
+/* #define TTY_NEEDS_DRAINING */
+/* #define CLOBBERS_TYPEAHEAD */
+
+#define HAS_STDLIB
+
+#define HAS_STRING
+
+#define HAS_LOCALE
+
+/* define this if you have a host field in utmp */
+#define UTMP_HOST
+
+/* define this if you have WAITPID */
+/* #define WAITPID */
+
+/* define this if you have SELECT */
+#define HAS_SELECT
+
+/* define this if you have <sys/select.h> */
+/* #define HAS_SYS_SELECT */
+
+/* we can't just test for S_IFIFO or check to see if the mknod worked,
+   because the NeXTs sold by a vendor which will remain nameless will
+   happily create the FIFO for you, and then panic when you try to do
+       something weird with them, because they aren't supported by the OS. */
+
+/* #define NO_FIFOS */
+
+/* define this if you have strftime() */
+#define HAS_STRFTIME
+
+/* #define HAS_TCSETPGRP */
+
+#define HAS_TCCRAP
+
+#define HAS_SETPGID
+
+/* #define HAS_SIGRELSE */
+
+/* define this if you have RFS */
+/* #define HAS_RFS */
+
+/* define this if you have a working getrusage and wait3 */
+#define HAS_RUSAGE
+
+/* define this if your signal handlers return void */
+#define SIGVOID
+#ifdef sgi
+#undef SIGVOID
+#endif
+
+/* define this if signal handlers need to be reset each time */
+/* #define RESETHANDNEEDED */
+
+#ifdef SIGVOID
+#define HANDTYPE void
+#else
+#define HANDTYPE int
+#define INTHANDTYPE
+#endif
+
+/* a string corresponding to the host type */
+#define HOSTTYPE "386BSD"
+
+/* the default editor for the fc builtin */
+#define DEFFCEDIT "vi"
+
+/* the path of wtmp */
+#define WTMP_FILE "/dev/null"
+
+/* the path of utmp */
+#define UTMP_FILE "/etc/utmp"
+
+/* default prefix for temporary files */
+#define DEFTMPPREFIX "/tmp/zsh"
+
+/* define if you prefer "suspended" to "stopped" */
+#define USE_SUSPENDED
+
+/* the file to source whenever zsh is run; if undefined, don't source
+       anything */
+#define GLOBALZSHRC "/etc/zshrc"
+
+/* the file to source whenever zsh is run as a login shell; if
+       undefined, don't source anything */
+#define GLOBALZLOGIN "/etc/zlogin"
+
+/* the file to source whenever zsh is run as a login shell, before
+       zshrc is read; if undefined, don't source anything */
+#define GLOBALZPROFILE "/etc/zprofile"
+
+/* the default HISTSIZE */
+#define DEFAULT_HISTSIZE 30
+
+#define _BSD_SIGNALS   /* this could be an iris, you never know */
+#define _BSD           /* this could be HP-UX, you never know */
+#define _BSD_INCLUDES  /* this could be AIX, you never know */
+
+/* if your compiler doesn't like void *, change this to char *
+       and ignore all the warnings.
+*/
+
+typedef void *vptr;
+
+#define JOB_CONTROL