Home | History | Annotate | Line # | Download | only in compat
Makefile revision 1.3
      1  1.3  tv #	$NetBSD: Makefile,v 1.3 2002/01/21 20:04:36 tv Exp $
      2  1.1  tv 
      3  1.1  tv HOSTLIB=	nbcompat
      4  1.1  tv 
      5  1.3  tv SRCS=		basename.c dirname.c err.c fgetln.c flock.c fparseln.c \
      6  1.3  tv 		getmode.c pread.c pwrite.c setprogname.c strlcat.c strlcpy.c vis.c
      7  1.3  tv HOST_CPPFLAGS+=	-I. -I${.CURDIR} -DHAVE_CONFIG_H
      8  1.3  tv 
      9  1.3  tv .PATH:		${.CURDIR}/../../lib/libc/gen \
     10  1.3  tv 		${.CURDIR}/../../lib/libc/string
     11  1.1  tv 
     12  1.1  tv DPSRCS=		config.h
     13  1.3  tv CLEANFILES=	config.cache config.log config.status config.stamp confdefs.h defs.mk
     14  1.3  tv 
     15  1.3  tv # Get components of Berkeley DB.
     16  1.3  tv _CURDIR:=	${.CURDIR}
     17  1.3  tv .CURDIR:=	${_CURDIR}/../../lib/libc
     18  1.3  tv .include "${.CURDIR}/db/Makefile.inc"
     19  1.3  tv .CURDIR:=	${_CURDIR}
     20  1.3  tv 
     21  1.3  tv HOST_CPPFLAGS+=	${CPPFLAGS}
     22  1.3  tv SRCS:=		${SRCS:Nndbm.c}
     23  1.1  tv 
     24  1.3  tv config.h defs.mk: config.stamp
     25  1.3  tv config.stamp: configure config.h.in defs.mk.in
     26  1.3  tv 	CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} LDFLAGS=${HOST_LDFLAGS:Q} \
     27  1.3  tv 		sh ${.CURDIR}/configure --cache-file=config.cache
     28  1.3  tv 	@touch $@
     29  1.1  tv 
     30  1.1  tv # Run by hand, then "configure" script committed:
     31  1.1  tv regen:
     32  1.1  tv 	cd ${.CURDIR} && ${TOOLDIR}/bin/nbautoconf
     33  1.1  tv 
     34  1.1  tv .include <bsd.hostlib.mk>
     35