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