]> git.saurik.com Git - apple/libc.git/blob - db/recno/Makefile.inc
Libc-763.11.tar.gz
[apple/libc.git] / db / recno / Makefile.inc
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 CFLAGS-rec_open-fbsd.c += -D_DARWIN_UNLIMITED_STREAMS
14 FBSDHDRS= recno.h
15 .include "Makefile.fbsd_end"
16
17 # need to rename extern.h to make it unique
18 .ifmake autopatch
19
20 # This .for statement forces evaluation of ${CWD}
21 .for _cwd in ${CWD}
22 ${_cwd}/rec_extern.h: ${_cwd}/FreeBSD/extern.h _AUTOPATCH
23 AUTOPATCHHDRS+= ${_cwd}/rec_extern.h
24 .endfor # _cwd
25
26 .endif # autopatch