]> git.saurik.com Git - apple/libc.git/blobdiff - db/recno/Makefile.inc
Libc-391.4.3.tar.gz
[apple/libc.git] / db / recno / Makefile.inc
index 63ff12a3bcbeee9a919a7c0969096c628c55b2d8..f1de47bd12e37e3fce0c1023fbfb9262e4fc3b6f 100644 (file)
@@ -1,9 +1,17 @@
 #       from @(#)Makefile.inc  8.1 (Berkeley) 6/4/93
-# $FreeBSD: src/lib/libc/db/recno/Makefile.inc,v 1.3 1999/08/27 23:58:25 peter Exp $
+# $FreeBSD: src/lib/libc/db/recno/Makefile.inc,v 1.4 2002/11/18 09:50:55 ru Exp $
 
 .PATH: ${.CURDIR}/db/recno
 
-CFLAGS+= -I${.CURDIR}/db/btree
-
-SRCS+= rec_close.c rec_delete.c rec_get.c rec_open.c rec_put.c rec_search.c \
+.include "Makefile.fbsd_begin"
+FBSDMISRCS= rec_close.c rec_delete.c rec_get.c rec_open.c rec_put.c rec_search.c \
        rec_seq.c rec_utils.c
+.for _src in ${FBSDMISRCS}
+CFLAGS-${_src:R}-fbsd.${_src:E} += -D__DBINTERFACE_PRIVATE
+.endfor
+FBSDHDRS= recno.h
+.include "Makefile.fbsd_end"
+
+# need to rename extern.h to make it unique
+${SYMROOT}/rec_extern.h: ${.CURDIR}/db/recno/FreeBSD/extern.h _AUTOPATCHSYM
+AUTOPATCHHDRS+= ${SYMROOT}/rec_extern.h