]> git.saurik.com Git - apple/libc.git/blame_incremental - db/hash/Makefile.inc
Libc-498.1.5.tar.gz
[apple/libc.git] / db / hash / Makefile.inc
... / ...
CommitLineData
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 $
3
4.PATH: ${.CURDIR}/db/hash
5CWD := ${.CURDIR}/db/hash
6
7.include "Makefile.fbsd_begin"
8FBSDMISRCS= hash.c hash_bigkey.c hash_buf.c hash_func.c hash_log2.c \
9 hash_page.c ndbm.c
10.for _src in ${FBSDMISRCS}
11CFLAGS-${_src:R}-fbsd.${_src:E} += -D__DBINTERFACE_PRIVATE
12.endfor
13.for _src in hash.c hash_bigkey.c hash_buf.c hash_page.c
14CFLAGS-${_src:R}-fbsd.${_src:E} += -UDEBUG
15.endfor
16FBSDHDRS= hash.h page.h
17.include "Makefile.fbsd_end"
18
19# need to rename extern.h to make it unique
20.ifmake autopatch
21
22# This .for statement forces evaluation of ${CWD}
23.for _cwd in ${CWD}
24${_cwd}/hash_extern.h: ${_cwd}/FreeBSD/extern.h _AUTOPATCH
25AUTOPATCHHDRS+= ${_cwd}/hash_extern.h
26.endfor # _cwd
27
28.endif # autopatch