]>
Commit | Line | Data |
---|---|---|
1 | # from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 | |
2 | # $FreeBSD: src/lib/libc/db/recno/Makefile.inc,v 1.4 2002/11/18 09:50:55 ru Exp $ | |
3 | ||
4 | .PATH: ${.CURDIR}/db/recno | |
5 | CWD := ${.CURDIR}/db/recno | |
6 | ||
7 | .include "Makefile.fbsd_begin" | |
8 | FBSDMISRCS= rec_close.c rec_delete.c rec_get.c rec_open.c rec_put.c rec_search.c \ | |
9 | rec_seq.c rec_utils.c | |
10 | .for _src in ${FBSDMISRCS} | |
11 | CFLAGS-${_src:R}-fbsd.${_src:E} += -D__DBINTERFACE_PRIVATE | |
12 | .endfor | |
13 | FBSDHDRS= recno.h | |
14 | .include "Makefile.fbsd_end" | |
15 | ||
16 | # need to rename extern.h to make it unique | |
17 | .ifmake autopatch | |
18 | ||
19 | # This .for statement forces evaluation of ${CWD} | |
20 | .for _cwd in ${CWD} | |
21 | ${_cwd}/rec_extern.h: ${_cwd}/FreeBSD/extern.h _AUTOPATCH | |
22 | AUTOPATCHHDRS+= ${_cwd}/rec_extern.h | |
23 | .endfor # _cwd | |
24 | ||
25 | .endif # autopatch |