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 $
4 .PATH: ${.CURDIR}/db/recno
5 CWD := ${.CURDIR}/db/recno
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 \
10 .for _src in ${FBSDMISRCS}
11 CFLAGS-${_src:R}-fbsd.${_src:E} += -D__DBINTERFACE_PRIVATE
13 CFLAGS-rec_open-fbsd.c += -D_DARWIN_UNLIMITED_STREAMS
15 .include "Makefile.fbsd_end"
17 # need to rename extern.h to make it unique
20 # This .for statement forces evaluation of ${CWD}
22 ${_cwd}/rec_extern.h: ${_cwd}/FreeBSD/extern.h _AUTOPATCH
23 AUTOPATCHHDRS+= ${_cwd}/rec_extern.h