]> git.saurik.com Git - apple/libc.git/blame - uuid/Makefile.inc
Libc-391.5.22.tar.gz
[apple/libc.git] / uuid / Makefile.inc
CommitLineData
59e0d9fe
A
1# uuid sources
2.PATH: ${.CURDIR}/uuid
3
3d9156a7
A
4# uuid/uuid.h is now installed by xnu
5
59e0d9fe
A
6UUIDSRCS = clear.c compare.c copy.c gen_uuid.c isnull.c pack.c parse.c \
7 unpack.c unparse.c
3d9156a7 8UUIDHDRS = uuidP.h
59e0d9fe
A
9UUIDFROMMAN = libuuid.3.in
10UUIDTOMAN = uuid.3.in
11UUIDMAN3 = 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 13PRIVUUID_INSTHDRS += ${.CURDIR}/uuid/namespace.h
59e0d9fe
A
14
15.for _src in ${UUIDSRCS}
16${SYMROOT}/${_src:R}-uuid.${_src:E}: uuidsrc/${_src} _AUTOPATCHSYM
17MISRCS+= ${_src}
18AUTOPATCHSRCS+= ${SYMROOT}/${_src:R}-uuid.${_src:E}
19.endfor
20
21.for _src in ${UUIDHDRS}
22${SYMROOT}/${_src}: uuidsrc/${_src} _AUTOPATCHSYM
23AUTOPATCHHDRS+= ${SYMROOT}/${_src}
24.endfor
25
26.for _src in ${UUIDMAN3}
27${_src:R}-uuid.${_src:E}: uuidsrc/${_src} _AUTOPATCH
28MAN3+= ${_src:R}
29AUTOPATCHMAN+= ${_src:R}
30.endfor
31
32${UUIDTOMAN:R}-uuid.${UUIDTOMAN:E}: uuidsrc/${UUIDFROMMAN} _AUTOPATCH
33MAN3+= ${UUIDTOMAN:R}
34AUTOPATCHMAN+= ${UUIDTOMAN:R}