1 # from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
2 # $FreeBSD: src/lib/libc/db/hash/Makefile.inc,v 1.5 2002/11/18 09:50:54 ru Exp $
4 .PATH: ${.CURDIR}/db/hash
5 CWD := ${.CURDIR}/db/hash
7 .include "Makefile.fbsd_begin"
8 FBSDMISRCS= hash.c hash_bigkey.c hash_buf.c hash_func.c hash_log2.c \
10 .for _src in ${FBSDMISRCS}
11 CFLAGS-${_src:R}-fbsd.${_src:E} += -D__DBINTERFACE_PRIVATE
13 .for _src in hash.c hash_bigkey.c hash_buf.c hash_page.c
14 CFLAGS-${_src:R}-fbsd.${_src:E} += -UDEBUG
16 FBSDHDRS= hash.h page.h
17 .include "Makefile.fbsd_end"
19 # need to rename extern.h to make it unique
22 # This .for statement forces evaluation of ${CWD}
24 ${_cwd}/hash_extern.h: ${_cwd}/FreeBSD/extern.h _AUTOPATCH
25 AUTOPATCHHDRS+= ${_cwd}/hash_extern.h