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