blob: b79dc41249372d04571bc4369173e2bcda70e14e (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
|
# $FreeBSD$
.include "${.CURDIR}/../config.mk"
SRCDIR= ${NCURSES_DIR}/form
LIB= form${LIB_SUFFIX}
.PATH: ${SRCDIR}
SRCS= \
ncurses_def.h \
fld_arg.c \
fld_attr.c \
fld_current.c \
fld_def.c \
fld_dup.c \
fld_ftchoice.c \
fld_ftlink.c \
fld_info.c \
fld_just.c \
fld_link.c \
fld_max.c \
fld_move.c \
fld_newftyp.c \
fld_opts.c \
fld_pad.c \
fld_page.c \
fld_stat.c \
fld_type.c \
fld_user.c \
frm_cursor.c \
frm_data.c \
frm_def.c \
frm_driver.c \
frm_hook.c \
frm_opts.c \
frm_page.c \
frm_post.c \
frm_req_name.c \
frm_scale.c \
frm_sub.c \
frm_user.c \
frm_win.c \
fty_alnum.c \
fty_alpha.c \
fty_enum.c \
fty_int.c \
fty_ipv4.c \
fty_num.c \
fty_regex.c
CLEANFILES= ncurses_def.h
CFLAGS+= -I${SRCDIR}
CFLAGS+= -I${NCURSES_DIR}/menu
DPADD= ${LIBNCURSES${LIB_SUFFIX:tu}}
LDADD= -lncurses${LIB_SUFFIX}
.if defined(ENABLE_WIDEC)
INCS= form.h
.PATH: ${NCURSES_DIR}/man
MAN= \
form.3 \
form_cursor.3 \
form_data.3 \
form_driver.3 \
form_field.3 \
form_field_attributes.3 \
form_field_buffer.3 \
form_field_info.3 \
form_field_just.3 \
form_field_new.3 \
form_field_opts.3 \
form_field_userptr.3 \
form_field_validation.3 \
form_fieldtype.3 \
form_hook.3 \
form_new.3 \
form_new_page.3 \
form_opts.3 \
form_page.3 \
form_post.3 \
form_requestname.3 \
form_userptr.3 \
form_win.3
CLEANFILES+= ${MAN:M*.3}
MLINKS= form_cursor.3 pos_form_cursor.3 \
form_data.3 data_ahead.3 \
form_data.3 data_behind.3 \
form_field.3 field_count.3 \
form_field.3 form_fields.3 \
form_field.3 move_field.3 \
form_field.3 set_form_fields.3 \
form_field_attributes.3 field_back.3 \
form_field_attributes.3 field_fore.3 \
form_field_attributes.3 field_pad.3 \
form_field_attributes.3 set_field_back.3 \
form_field_attributes.3 set_field_fore.3 \
form_field_attributes.3 set_field_pad.3 \
form_field_buffer.3 field_buffer.3 \
form_field_buffer.3 field_status.3 \
form_field_buffer.3 set_field_buffer.3 \
form_field_buffer.3 set_field_status.3 \
form_field_buffer.3 set_max_field.3 \
form_field_info.3 dynamic_fieldinfo.3 \
form_field_info.3 field_info.3 \
form_field_just.3 field_just.3 \
form_field_just.3 set_field_just.3 \
form_field_new.3 dup_field.3 \
form_field_new.3 free_field.3 \
form_field_new.3 link_field.3 \
form_field_new.3 new_field.3 \
form_field_opts.3 field_opts.3 \
form_field_opts.3 field_opts_off.3 \
form_field_opts.3 field_opts_on.3 \
form_field_opts.3 set_field_opts.3 \
form_field_userptr.3 field_userptr.3 \
form_field_userptr.3 set_field_userptr.3 \
form_field_validation.3 field_arg.3 \
form_field_validation.3 field_type.3 \
form_field_validation.3 set_field_type.3 \
form_fieldtype.3 free_fieldtype.3 \
form_fieldtype.3 link_fieldtype.3 \
form_fieldtype.3 new_fieldtype.3 \
form_fieldtype.3 set_fieldtype_arg.3 \
form_fieldtype.3 set_fieldtype_choice.3 \
form_hook.3 field_init.3 \
form_hook.3 field_term.3 \
form_hook.3 form_init.3 \
form_hook.3 form_term.3 \
form_hook.3 set_field_init.3 \
form_hook.3 set_field_term.3 \
form_hook.3 set_form_init.3 \
form_hook.3 set_form_term.3 \
form_new.3 free_form.3 \
form_new.3 new_form.3 \
form_new_page.3 new_page.3 \
form_new_page.3 set_new_page.3 \
form_opts.3 form_opts_off.3 \
form_opts.3 form_opts_on.3 \
form_opts.3 set_form_opts.3 \
form_page.3 current_field.3 \
form_page.3 field_index.3 \
form_page.3 set_current_field.3 \
form_page.3 set_form_page.3 \
form_post.3 post_form.3 \
form_post.3 unpost_form.3 \
form_requestname.3 form_request_by_name.3 \
form_requestname.3 form_request_name.3 \
form_userptr.3 set_form_userptr.3 \
form_win.3 form_sub.3 \
form_win.3 scale_form.3 \
form_win.3 set_form_sub.3 \
form_win.3 set_form_win.3
.else
MAN=
.endif
.include <bsd.lib.mk>
# Keep the .SUFFIXES line after the include of bsd.lib.mk
.SUFFIXES: .3 .3x
.3x.3:
cat ${.IMPSRC} > ${.TARGET}
|