Makefile revision 1.3
11.3Stv# $NetBSD: Makefile,v 1.3 2002/01/21 20:04:36 tv Exp $ 21.1Stv 31.1StvHOSTLIB= nbcompat 41.1Stv 51.3StvSRCS= basename.c dirname.c err.c fgetln.c flock.c fparseln.c \ 61.3Stv getmode.c pread.c pwrite.c setprogname.c strlcat.c strlcpy.c vis.c 71.3StvHOST_CPPFLAGS+= -I. -I${.CURDIR} -DHAVE_CONFIG_H 81.3Stv 91.3Stv.PATH: ${.CURDIR}/../../lib/libc/gen \ 101.3Stv ${.CURDIR}/../../lib/libc/string 111.1Stv 121.1StvDPSRCS= config.h 131.3StvCLEANFILES= config.cache config.log config.status config.stamp confdefs.h defs.mk 141.3Stv 151.3Stv# Get components of Berkeley DB. 161.3Stv_CURDIR:= ${.CURDIR} 171.3Stv.CURDIR:= ${_CURDIR}/../../lib/libc 181.3Stv.include "${.CURDIR}/db/Makefile.inc" 191.3Stv.CURDIR:= ${_CURDIR} 201.3Stv 211.3StvHOST_CPPFLAGS+= ${CPPFLAGS} 221.3StvSRCS:= ${SRCS:Nndbm.c} 231.1Stv 241.3Stvconfig.h defs.mk: config.stamp 251.3Stvconfig.stamp: configure config.h.in defs.mk.in 261.3Stv CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} LDFLAGS=${HOST_LDFLAGS:Q} \ 271.3Stv sh ${.CURDIR}/configure --cache-file=config.cache 281.3Stv @touch $@ 291.1Stv 301.1Stv# Run by hand, then "configure" script committed: 311.1Stvregen: 321.1Stv cd ${.CURDIR} && ${TOOLDIR}/bin/nbautoconf 331.1Stv 341.1Stv.include <bsd.hostlib.mk> 35