vis functions for Linux.

This commit is contained in:
Nicholas Marriott
2009-01-10 12:52:57 +00:00
parent a1b43faa43
commit 934e6d9413
5 changed files with 314 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.46 2008-12-15 21:21:56 nicm Exp $
# $Id: GNUmakefile,v 1.47 2009-01-10 12:52:57 nicm Exp $
.PHONY: clean
@ -31,9 +31,9 @@ SRCS= tmux.c server.c server-msg.c server-fn.c buffer.c buffer-poll.c status.c \
cmd-show-window-options.c cmd-command-prompt.c cmd-set-buffer.c \
cmd-show-buffer.c cmd-list-buffers.c cmd-delete-buffer.c \
cmd-list-commands.c cmd-move-window.c cmd-select-prompt.c \
cmd-respawn-window.c cmd-source-file.c \
cmd-respawn-window.c cmd-source-file.c cmd-server-info.c \
window-scroll.c window-more.c window-copy.c options.c paste.c \
tty.c tty-keys.c tty-write.c colour.c utf8.c options-cmd.c
tty.c tty-term.c tty-keys.c tty-write.c colour.c utf8.c options-cmd.c
CC?= gcc
INCDIRS+= -I. -I-
@ -88,7 +88,7 @@ endif
ifeq ($(shell uname),Linux)
INCDIRS+= -Icompat
SRCS+= compat/strlcpy.c compat/strlcat.c compat/strtonum.c \
compat/fgetln.c compat/getopt_long.c
compat/fgetln.c compat/getopt_long.c compat/vis.c
CFLAGS+= $(shell getconf LFS_CFLAGS) -D_GNU_SOURCE \
-DNO_STRLCPY -DNO_STRLCAT -DNO_STRTONUM -DNO_SETPROCTITLE \
-DNO_QUEUE_H -DNO_TREE_H -DUSE_PTY_H -DNO_FGETLN \