Report error if creating socket fails with -D.
[tmux.git] / Makefile
blob4cbbd34a7c28ec575c464cba0cb0a2c978ad0f27
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-set-buffer.c \
59 cmd-set-environment.c \
60 cmd-set-option.c \
61 cmd-show-environment.c \
62 cmd-show-messages.c \
63 cmd-show-options.c \
64 cmd-show-prompt-history.c \
65 cmd-source-file.c \
66 cmd-split-window.c \
67 cmd-swap-pane.c \
68 cmd-swap-window.c \
69 cmd-switch-client.c \
70 cmd-unbind-key.c \
71 cmd-wait-for.c \
72 cmd.c \
73 colour.c \
74 control-notify.c \
75 control.c \
76 environ.c \
77 file.c \
78 format.c \
79 format-draw.c \
80 grid-reader.c \
81 grid-view.c \
82 grid.c \
83 input-keys.c \
84 input.c \
85 job.c \
86 key-bindings.c \
87 key-string.c \
88 layout-custom.c \
89 layout-set.c \
90 layout.c \
91 log.c \
92 menu.c \
93 mode-tree.c \
94 names.c \
95 notify.c \
96 options-table.c \
97 options.c \
98 paste.c \
99 popup.c \
100 proc.c \
101 procname.c \
102 regsub.c \
103 resize.c \
104 screen-redraw.c \
105 screen-write.c \
106 screen.c \
107 server-client.c \
108 server-fn.c \
109 server.c \
110 session.c \
111 spawn.c \
112 status.c \
113 style.c \
114 tmux.c \
115 tty-acs.c \
116 tty-features.c \
117 tty-keys.c \
118 tty-term.c \
119 tty.c \
120 utf8.c \
121 window-buffer.c \
122 window-client.c \
123 window-clock.c \
124 window-copy.c \
125 window-customize.c \
126 window-tree.c \
127 window.c \
128 xmalloc.c
130 CDIAGFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
131 CDIAGFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
132 CDIAGFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
133 CDIAGFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
135 CFLAGS += -I${.CURDIR}
137 LDADD= -lutil -lcurses -levent -lm
138 DPADD= ${LIBUTIL} ${LIBCURSES} ${LIBEVENT} ${LIBM}
140 .include <bsd.prog.mk>