Handle NULL client (in config file) when showing a status message; also
[tmux-openbsd.git] / Makefile
blob6cd1b1b5eef406d95aa389f8579c9d4b7bdded31
1 # $OpenBSD$
3 PROG= tmux
4 SRCS= alerts.c \
5 arguments.c \
6 attributes.c \
7 cfg.c \
8 client.c \
9 cmd-attach-session.c \
10 cmd-bind-key.c \
11 cmd-break-pane.c \
12 cmd-capture-pane.c \
13 cmd-choose-tree.c \
14 cmd-command-prompt.c \
15 cmd-confirm-before.c \
16 cmd-copy-mode.c \
17 cmd-detach-client.c \
18 cmd-display-menu.c \
19 cmd-display-message.c \
20 cmd-display-panes.c \
21 cmd-find-window.c \
22 cmd-find.c \
23 cmd-if-shell.c \
24 cmd-join-pane.c \
25 cmd-kill-pane.c \
26 cmd-kill-server.c \
27 cmd-kill-session.c \
28 cmd-kill-window.c \
29 cmd-list-buffers.c \
30 cmd-list-clients.c \
31 cmd-list-keys.c \
32 cmd-list-panes.c \
33 cmd-list-sessions.c \
34 cmd-list-windows.c \
35 cmd-load-buffer.c \
36 cmd-lock-server.c \
37 cmd-move-window.c \
38 cmd-new-session.c \
39 cmd-new-window.c \
40 cmd-parse.y \
41 cmd-paste-buffer.c \
42 cmd-pipe-pane.c \
43 cmd-queue.c \
44 cmd-refresh-client.c \
45 cmd-rename-session.c \
46 cmd-rename-window.c \
47 cmd-resize-pane.c \
48 cmd-resize-window.c \
49 cmd-respawn-pane.c \
50 cmd-respawn-window.c \
51 cmd-rotate-window.c \
52 cmd-run-shell.c \
53 cmd-save-buffer.c \
54 cmd-select-layout.c \
55 cmd-select-pane.c \
56 cmd-select-window.c \
57 cmd-send-keys.c \
58 cmd-server-access.c \
59 cmd-set-buffer.c \
60 cmd-set-environment.c \
61 cmd-set-option.c \
62 cmd-show-environment.c \
63 cmd-show-messages.c \
64 cmd-show-options.c \
65 cmd-show-prompt-history.c \
66 cmd-source-file.c \
67 cmd-split-window.c \
68 cmd-swap-pane.c \
69 cmd-swap-window.c \
70 cmd-switch-client.c \
71 cmd-unbind-key.c \
72 cmd-wait-for.c \
73 cmd.c \
74 colour.c \
75 control-notify.c \
76 control.c \
77 environ.c \
78 file.c \
79 format.c \
80 format-draw.c \
81 grid-reader.c \
82 grid-view.c \
83 grid.c \
84 hyperlinks.c \
85 input-keys.c \
86 input.c \
87 job.c \
88 key-bindings.c \
89 key-string.c \
90 layout-custom.c \
91 layout-set.c \
92 layout.c \
93 log.c \
94 menu.c \
95 mode-tree.c \
96 names.c \
97 notify.c \
98 options-table.c \
99 options.c \
100 paste.c \
101 popup.c \
102 proc.c \
103 procname.c \
104 regsub.c \
105 resize.c \
106 screen-redraw.c \
107 screen-write.c \
108 screen.c \
109 server-acl.c \
110 server-client.c \
111 server-fn.c \
112 server.c \
113 session.c \
114 spawn.c \
115 status.c \
116 style.c \
117 tmux.c \
118 tty-acs.c \
119 tty-features.c \
120 tty-keys.c \
121 tty-term.c \
122 tty.c \
123 utf8.c \
124 utf8-combined.c \
125 window-buffer.c \
126 window-client.c \
127 window-clock.c \
128 window-copy.c \
129 window-customize.c \
130 window-tree.c \
131 window.c \
132 xmalloc.c
134 CDIAGFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
135 CDIAGFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
136 CDIAGFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
137 CDIAGFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
139 CFLAGS += -I${.CURDIR}
141 LDADD= -lutil -lcurses -levent -lm
142 DPADD= ${LIBUTIL} ${LIBCURSES} ${LIBEVENT} ${LIBM}
144 .include <bsd.prog.mk>