]> git.saurik.com Git - apple/libc.git/blob - uuid/Makefile.inc
Libc-391.4.1.tar.gz
[apple/libc.git] / uuid / Makefile.inc
1 # uuid sources
2 .PATH: ${.CURDIR}/uuid
3
4 # uuid/uuid.h is now installed by xnu
5
6 UUIDSRCS = clear.c compare.c copy.c gen_uuid.c isnull.c pack.c parse.c \
7 unpack.c unparse.c
8 UUIDHDRS = uuidP.h
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
13 PRIVUUID_INSTHDRS += ${.CURDIR}/uuid/namespace.h
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}