diff options
author | Cem Keylan <cem@ckyln.com> | 2021-05-01 17:38:29 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-05-01 17:38:29 +0300 |
commit | 26deb2eac2a57077ae9a69c3b8a0ac8b5d50ed51 (patch) | |
tree | b5bc4b0e5bdfd80b52ac5916fb1504084121f710 /extra/oksh/files/Makefile | |
parent | 2a20fea4d26c6d65bc5beb6decaef172dc46428b (diff) | |
download | repository-26deb2eac2a57077ae9a69c3b8a0ac8b5d50ed51.tar.gz |
oksh: bump to 6.9
Diffstat (limited to 'extra/oksh/files/Makefile')
-rw-r--r-- | extra/oksh/files/Makefile | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/extra/oksh/files/Makefile b/extra/oksh/files/Makefile deleted file mode 100644 index 7337f98f..00000000 --- a/extra/oksh/files/Makefile +++ /dev/null @@ -1,73 +0,0 @@ -.SUFFIXES: -.SUFFIXES: .o .c - -PREFIX = /usr -BINDIR = ${PREFIX}/bin -MANPREFIX = ${PREFIX}/share/man - -CPPFLAGS = -D_GNU_SOURCE -DEMACS -DVI -I. -CC = cc -LDFLAGS = -static -SRC = \ - alloc.c \ - asprintf.c \ - c_ksh.c \ - c_sh.c \ - c_test.c \ - c_ulimit.c \ - confstr.c \ - edit.c \ - emacs.c \ - eval.c \ - exec.c \ - expr.c \ - history.c \ - io.c \ - jobs.c \ - lex.c \ - mail.c \ - main.c \ - misc.c \ - path.c \ - reallocarray.c \ - shf.c \ - siglist.c \ - signame.c \ - strlcat.c \ - strlcpy.c \ - strtonum.c \ - syn.c \ - table.c \ - trap.c \ - tree.c \ - tty.c \ - unvis.c \ - var.c \ - version.c \ - vi.c \ - vis.c \ - -LIBS = -lc -lncursesw - -OBJ = ${SRC:.c=.o} -BIN = ksh - -all: ${BIN} - -${BIN}: ${OBJ} - ${CC} ${LDFLAGS} -o $@ ${OBJ} ${LIBS} - -.c.o: - ${CC} -c ${CFLAGS} ${CPPFLAGS} -o $@ $< - -clean: - rm -f ${OBJ} ksh - -install: all - mkdir -p ${DESTDIR}${BINDIR} ${DESTDIR}${MANPREFIX}/man1 - cp ksh ${DESTDIR}${BINDIR} - chmod 755 ${DESTDIR}${BINDIR}/ksh - cp sh.1 ${DESTDIR}${MANPREFIX}/man1/ksh.1 - chmod 644 ${DESTDIR}${MANPREFIX}/man1/ksh.1 - -.PHONY: all clean install |