]>
Commit | Line | Data |
---|---|---|
59e0d9fe A |
1 | # uuid sources |
2 | .PATH: ${.CURDIR}/uuid | |
3 | ||
4 | UUIDSRCS = clear.c compare.c copy.c gen_uuid.c isnull.c pack.c parse.c \ | |
5 | unpack.c unparse.c | |
6 | UUIDHDRS = uuid.h uuidP.h | |
7 | UUIDFROMMAN = libuuid.3.in | |
8 | UUIDTOMAN = uuid.3.in | |
9 | UUIDMAN3 = uuid_clear.3.in uuid_compare.3.in uuid_copy.3.in uuid_generate.3.in \ | |
10 | uuid_is_null.3.in uuid_parse.3.in uuid_unparse.3.in | |
11 | ||
12 | .for _src in ${UUIDSRCS} | |
13 | ${SYMROOT}/${_src:R}-uuid.${_src:E}: uuidsrc/${_src} _AUTOPATCHSYM | |
14 | MISRCS+= ${_src} | |
15 | AUTOPATCHSRCS+= ${SYMROOT}/${_src:R}-uuid.${_src:E} | |
16 | .endfor | |
17 | ||
18 | .for _src in ${UUIDHDRS} | |
19 | ${SYMROOT}/${_src}: uuidsrc/${_src} _AUTOPATCHSYM | |
20 | AUTOPATCHHDRS+= ${SYMROOT}/${_src} | |
21 | .endfor | |
22 | ||
23 | .for _src in ${UUIDMAN3} | |
24 | ${_src:R}-uuid.${_src:E}: uuidsrc/${_src} _AUTOPATCH | |
25 | MAN3+= ${_src:R} | |
26 | AUTOPATCHMAN+= ${_src:R} | |
27 | .endfor | |
28 | ||
29 | ${UUIDTOMAN:R}-uuid.${UUIDTOMAN:E}: uuidsrc/${UUIDFROMMAN} _AUTOPATCH | |
30 | MAN3+= ${UUIDTOMAN:R} | |
31 | AUTOPATCHMAN+= ${UUIDTOMAN:R} |