summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/Makefile
blob: a37ec8d49b585478ebc40f8d02b6d23ba2c9ebd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# $OpenBSD: Makefile,v 1.51 2011/01/08 00:48:54 nicm Exp $

PROG=	tmux
SRCS=	arguments.c attributes.c cfg.c client.c clock.c \
	cmd-attach-session.c cmd-bind-key.c \
	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-mode.c \
	cmd-choose-buffer.c cmd-delete-buffer.c cmd-detach-client.c \
	cmd-find-window.c cmd-has-session.c cmd-kill-pane.c \
	cmd-kill-server.c cmd-kill-session.c cmd-kill-window.c \
	cmd-link-window.c cmd-list-buffers.c \
	cmd-list-clients.c cmd-list-commands.c cmd-list-keys.c \
	cmd-list-sessions.c cmd-list-windows.c cmd-list-panes.c \
	cmd-list.c cmd-load-buffer.c cmd-join-pane.c \
	cmd-lock-server.c \
	cmd-move-window.c cmd-new-session.c cmd-new-window.c \
	cmd-paste-buffer.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 \
	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-show-buffer.c \
	cmd-show-messages.c cmd-show-options.c \
	cmd-source-file.c cmd-split-window.c cmd-start-server.c cmd-string.c \
	cmd-run-shell.c cmd-suspend-client.c cmd-swap-pane.c cmd-swap-window.c \
	cmd-switch-client.c cmd-unbind-key.c cmd-unlink-window.c \
	cmd-set-environment.c cmd-show-environment.c cmd-choose-client.c \
	cmd-display-message.c cmd-display-panes.c cmd-if-shell.c \
	cmd-pipe-pane.c cmd-capture-pane.c cmd.c \
	colour.c environ.c grid-view.c grid-utf8.c grid.c input-keys.c \
	input.c key-bindings.c key-string.c \
	layout-custom.c layout-set.c layout-string.c layout.c log.c job.c \
	mode-key.c names.c options.c options-table.c paste.c procname.c \
	resize.c screen-redraw.c screen-write.c screen.c session.c status.c \
	signal.c server-fn.c server.c server-client.c server-window.c \
	tmux.c tty-acs.c tty-keys.c tty-term.c tty.c utf8.c \
	window-choose.c window-clock.c window-copy.c window.c \
	xterm-keys.c xmalloc.c

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

LDADD=  -lutil -lcurses -levent -lm
DPADD=  ${LIBUTIL} ${LIBCURSES} ${LIBEVENT} ${LIBM}

.include <bsd.prog.mk>