2009-06-01 22:58:49 +00:00
|
|
|
# $OpenBSD$
|
|
|
|
|
|
|
|
PROG= tmux
|
2009-11-04 22:44:53 +00:00
|
|
|
SRCS= attributes.c cfg.c client.c clock.c \
|
|
|
|
cmd-attach-session.c cmd-bind-key.c \
|
2009-06-01 22:58:49 +00:00
|
|
|
cmd-break-pane.c cmd-choose-session.c cmd-choose-window.c \
|
|
|
|
cmd-clear-history.c cmd-clock-mode.c cmd-command-prompt.c \
|
|
|
|
cmd-confirm-before.c cmd-copy-buffer.c cmd-copy-mode.c \
|
2010-06-21 21:44:09 +00:00
|
|
|
cmd-choose-buffer.c cmd-delete-buffer.c cmd-detach-client.c \
|
2009-06-01 22:58:49 +00:00
|
|
|
cmd-find-window.c cmd-generic.c cmd-has-session.c cmd-kill-pane.c \
|
|
|
|
cmd-kill-server.c cmd-kill-session.c cmd-kill-window.c \
|
|
|
|
cmd-last-window.c cmd-link-window.c cmd-list-buffers.c \
|
|
|
|
cmd-list-clients.c cmd-list-commands.c cmd-list-keys.c \
|
2009-10-10 17:19:38 +00:00
|
|
|
cmd-list-sessions.c cmd-list-windows.c cmd-list-panes.c \
|
2010-01-07 20:52:18 +00:00
|
|
|
cmd-list.c cmd-load-buffer.c cmd-join-pane.c \
|
2009-09-24 14:17:09 +00:00
|
|
|
cmd-lock-server.c cmd-lock-client.c cmd-lock-session.c \
|
|
|
|
cmd-move-window.c cmd-new-session.c cmd-new-window.c \
|
2009-06-01 22:58:49 +00:00
|
|
|
cmd-next-layout.c cmd-next-window.c cmd-paste-buffer.c \
|
|
|
|
cmd-previous-layout.c cmd-previous-window.c cmd-refresh-client.c \
|
|
|
|
cmd-rename-session.c cmd-rename-window.c cmd-resize-pane.c \
|
|
|
|
cmd-respawn-window.c cmd-rotate-window.c cmd-save-buffer.c \
|
2010-05-05 23:24:23 +00:00
|
|
|
cmd-select-layout.c cmd-select-pane.c cmd-select-window.c \
|
|
|
|
cmd-send-keys.c cmd-send-prefix.c cmd-server-info.c cmd-set-buffer.c \
|
|
|
|
cmd-set-option.c cmd-set-window-option.c cmd-show-buffer.c \
|
|
|
|
cmd-show-messages.c cmd-show-options.c cmd-show-window-options.c \
|
|
|
|
cmd-source-file.c cmd-split-window.c cmd-start-server.c cmd-string.c \
|
2009-09-20 19:15:01 +00:00
|
|
|
cmd-run-shell.c cmd-suspend-client.c cmd-swap-pane.c cmd-swap-window.c \
|
2009-06-01 22:58:49 +00:00
|
|
|
cmd-switch-client.c cmd-unbind-key.c cmd-unlink-window.c \
|
2009-08-25 12:18:51 +00:00
|
|
|
cmd-set-environment.c cmd-show-environment.c cmd-choose-client.c \
|
2010-05-05 23:24:23 +00:00
|
|
|
cmd-display-message.c cmd-display-panes.c cmd-if-shell.c \
|
2009-12-01 18:42:38 +00:00
|
|
|
cmd-pipe-pane.c cmd-capture-pane.c cmd.c \
|
2009-11-18 17:02:17 +00:00
|
|
|
colour.c environ.c grid-view.c grid-utf8.c grid.c input-keys.c \
|
2010-05-26 16:44:32 +00:00
|
|
|
input.c key-bindings.c key-string.c \
|
2010-06-29 03:30:13 +00:00
|
|
|
layout-custom.c layout-set.c layout-string.c layout.c log.c job.c \
|
2009-12-03 17:44:02 +00:00
|
|
|
mode-key.c names.c options.c paste.c procname.c \
|
2009-10-22 19:41:51 +00:00
|
|
|
resize.c screen-redraw.c screen-write.c screen.c session.c status.c \
|
2010-05-04 17:28:16 +00:00
|
|
|
signal.c server-fn.c server.c server-client.c server-window.c \
|
2010-09-11 16:19:22 +00:00
|
|
|
tmux.c tty-acs.c tty-keys.c tty-term.c tty.c utf8.c \
|
2010-04-06 21:35:44 +00:00
|
|
|
window-choose.c window-clock.c window-copy.c window.c \
|
2009-10-26 17:46:33 +00:00
|
|
|
xterm-keys.c xmalloc.c
|
2009-06-01 22:58:49 +00:00
|
|
|
|
2009-06-25 07:42:41 +00:00
|
|
|
CDIAGFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
|
|
|
|
CDIAGFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
|
|
|
|
CDIAGFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
|
|
|
|
CDIAGFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
|
2009-06-01 22:58:49 +00:00
|
|
|
|
2009-11-04 20:50:11 +00:00
|
|
|
LDADD= -lutil -lcurses -levent
|
2010-01-31 11:11:28 +00:00
|
|
|
DPADD= ${LIBUTIL} ${LIBCURSES} ${LIBEVENT}
|
2009-06-01 22:58:49 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|