]> git.saurik.com Git - apple/libc.git/blob - db/btree/Makefile.inc
Libc-763.13.tar.gz
[apple/libc.git] / db / btree / Makefile.inc
1 # from @(#)Makefile.inc 8.2 (Berkeley) 7/14/94
2 # $FreeBSD: src/lib/libc/db/btree/Makefile.inc,v 1.4 2002/11/18 09:50:54 ru Exp $
3
4 .PATH: ${.CURDIR}/db/btree
5 CWD := ${.CURDIR}/db/btree
6
7 .include "Makefile.fbsd_begin"
8 FBSDMISRCS= bt_close.c bt_conv.c bt_delete.c bt_get.c bt_open.c \
9 bt_overflow.c bt_page.c bt_put.c bt_search.c bt_seq.c bt_split.c \
10 bt_utils.c
11 .for _src in ${FBSDMISRCS}
12 CFLAGS-${_src:R}-fbsd.${_src:E} += -D__DBINTERFACE_PRIVATE
13 .endfor
14 .for _src in bt_open.c bt_overflow.c
15 CFLAGS-${_src:R}-fbsd.${_src:E} += -UDEBUG
16 .endfor
17 FBSDHDRS= btree.h
18 .include "Makefile.fbsd_end"
19
20 # This .for statement forces evaluation of ${CWD}
21 .for _cwd in ${CWD}
22
23 # need to rename extern.h to make it unique
24 .ifmake autopatch
25 ${_cwd}/bt_extern.h: ${_cwd}/FreeBSD/extern.h _AUTOPATCH
26 AUTOPATCHHDRS+= ${_cwd}/bt_extern.h
27 .endif # autopatch
28
29 INSTBTREEPRIVHDRS_AUTOPATCH+= ${_cwd}/bt_extern.h ${_cwd}/btree.h
30
31 .endfor # _cwd