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 $
4 .PATH: ${.CURDIR}/db/btree
5 CWD := ${.CURDIR}/db/btree
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 \
11 .for _src in ${FBSDMISRCS}
12 CFLAGS-${_src:R}-fbsd.${_src:E} += -D__DBINTERFACE_PRIVATE
14 .for _src in bt_open.c bt_overflow.c
15 CFLAGS-${_src:R}-fbsd.${_src:E} += -UDEBUG
18 .include "Makefile.fbsd_end"
20 # This .for statement forces evaluation of ${CWD}
23 # need to rename extern.h to make it unique
25 ${_cwd}/bt_extern.h: ${_cwd}/FreeBSD/extern.h _AUTOPATCH
26 AUTOPATCHHDRS+= ${_cwd}/bt_extern.h
29 INSTBTREEPRIVHDRS_AUTOPATCH+= ${_cwd}/bt_extern.h ${_cwd}/btree.h