]>
Commit | Line | Data |
---|---|---|
5b2abdfb | 1 | # from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 |
59e0d9fe | 2 | # $FreeBSD: src/lib/libc/db/hash/Makefile.inc,v 1.5 2002/11/18 09:50:54 ru Exp $ |
5b2abdfb A |
3 | |
4 | .PATH: ${.CURDIR}/db/hash | |
b5d655f7 | 5 | CWD := ${.CURDIR}/db/hash |
5b2abdfb | 6 | |
59e0d9fe A |
7 | .include "Makefile.fbsd_begin" |
8 | FBSDMISRCS= 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} | |
11 | CFLAGS-${_src:R}-fbsd.${_src:E} += -D__DBINTERFACE_PRIVATE | |
12 | .endfor | |
224c7076 A |
13 | .for _src in hash.c hash_bigkey.c hash_buf.c hash_page.c |
14 | CFLAGS-${_src:R}-fbsd.${_src:E} += -UDEBUG | |
15 | .endfor | |
59e0d9fe A |
16 | FBSDHDRS= hash.h page.h |
17 | .include "Makefile.fbsd_end" | |
18 | ||
19 | # need to rename extern.h to make it unique | |
224c7076 | 20 | .ifmake autopatch |
b5d655f7 A |
21 | |
22 | # This .for statement forces evaluation of ${CWD} | |
23 | .for _cwd in ${CWD} | |
24 | ${_cwd}/hash_extern.h: ${_cwd}/FreeBSD/extern.h _AUTOPATCH | |
25 | AUTOPATCHHDRS+= ${_cwd}/hash_extern.h | |
26 | .endfor # _cwd | |
27 | ||
224c7076 | 28 | .endif # autopatch |