diff options
author | June McEnroe <june@causal.agency> | 2020-03-09 03:56:54 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-03-09 03:56:54 -0400 |
commit | 12a84d215d1b9b3b47b791b33ccf867414c037c1 (patch) | |
tree | 6d1ad2bc74c0710a353b06f240c0a5da8bed49a7 /bin/1sh/Makefile | |
parent | Add The Stone Sky (diff) | |
download | src-12a84d215d1b9b3b47b791b33ccf867414c037c1.tar.gz src-12a84d215d1b9b3b47b791b33ccf867414c037c1.zip |
Remove 1sh sources
I'm going to recreate it from fresh sh sources for clean git history.
Diffstat (limited to '')
-rw-r--r-- | bin/1sh/Makefile | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/bin/1sh/Makefile b/bin/1sh/Makefile deleted file mode 100644 index afd0350b..00000000 --- a/bin/1sh/Makefile +++ /dev/null @@ -1,88 +0,0 @@ -PREFIX = /usr/local -MANDIR = ${PREFIX}/share/man - -CFLAGS += -std=c99 -Wall -Wextra -DSHELL -LDLIBS = -ledit - --include config.mk - -SRCS += alias.c -SRCS += arith_yacc.c -SRCS += arith_yylex.c -SRCS += cd.c -SRCS += echo.c -SRCS += error.c -SRCS += eval.c -SRCS += exec.c -SRCS += expand.c -SRCS += histedit.c -SRCS += input.c -SRCS += jobs.c -SRCS += kill.c -SRCS += mail.c -SRCS += main.c -SRCS += memalloc.c -SRCS += miscbltin.c -SRCS += mystring.c -SRCS += options.c -SRCS += output.c -SRCS += parser.c -SRCS += printf.c -SRCS += redir.c -SRCS += show.c -SRCS += test.c -SRCS += trap.c -SRCS += var.c - -GENSRCS = builtins.c nodes.c syntax.c -GENHDRS = builtins.h nodes.h syntax.h token.h - -SRCS += ${GENSRCS} -OBJS = ${SRCS:.c=.o} - -MANS = 1sh.1 1sh-kill.1 1sh-printf.1 1sh-test.1 - -all: tags 1sh - -1sh: ${OBJS} - ${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@ - -${OBJS}: ${GENHDRS} - -builtins.c builtins.h: mkbuiltins builtins.def - sh mkbuiltins . - -nodes.c nodes.h: mknodes nodetypes nodes.c.pat - ./mknodes nodetypes nodes.c.pat - -syntax.c syntax.h: mksyntax - ./mksyntax - -token.h: mktokens - sh mktokens - -tags: *.h *.c - ctags -w *.h *.c - -depend: ${SRCS} ${GENHDRS} - ${CC} ${CFLAGS} -MM ${SRCS} > .depend - --include .depend - -clean: - rm -f 1sh ${OBJS} mknodes mksyntax ${GENSRCS} ${GENHDRS} tags .depend - -install: 1sh ${MANS} - install -d ${PREFIX}/bin ${MANDIR}/man1 - install 1sh ${PREFIX}/bin - install -m 644 ${MANS} ${MANDIR}/man1 - -uninstall: - rm -f ${PREFIX}/bin/1sh ${MANS:%=${MANDIR}/man1/%} - -shell: - grep -q '^${PREFIX}/bin/1sh$$' /etc/shells \ - || echo '${PREFIX}/bin/1sh' >> /etc/shells - -unshell: - sed -i sed '\;^${PREFIX}/bin/1sh$$;d' /etc/shells |