Makefile revision 1.20
11.20Slukem# $NetBSD: Makefile,v 1.20 2002/12/04 23:27:54 lukem Exp $ 21.1Stv 31.1StvHOSTLIB= nbcompat 41.1Stv 51.6StvSRCS= basename.c dirname.c fgetln.c flock.c fparseln.c \ 61.17Slukem getmode.c getopt_long.c gettemp.c issetugid.c \ 71.17Slukem lchflags.c lchmod.c lchown.c libyywrap.c \ 81.15Sthorpej md2c.c md2hl.c md4c.c md4hl.c md5c.c md5hl.c mkdtemp.c \ 91.15Sthorpej mkstemp.c pread.c pwcache.c pwrite.c pw_scan.c rmd160.c \ 101.15Sthorpej rmd160hl.c setenv.c setgroupent.c setpassent.c setprogname.c \ 111.15Sthorpej sha1.c sha1hl.c snprintf.c strlcat.c strlcpy.c strmode.c \ 121.18Slukem strsep.c strsuftoll.c strtoll.c unvis.c vis.c \ 131.6Stv _err.c _errx.c _verr.c _verrx.c _vwarn.c _vwarnx.c \ 141.14Sthorpej _warn.c _warnx.c __fts13.c __glob13.c 151.6Stv 161.6Stv# -D_FILE_OFFSET_BITS=64 produces a much more amenable `struct stat', and 171.6Stv# other file ops, on many systems, without changing function names. 181.6Stv 191.7StvCPPFLAGS+= -I. -I./include -I${.CURDIR} -DHAVE_CONFIG_H \ 201.6Stv -D_FILE_OFFSET_BITS=64 211.3Stv 221.3Stv.PATH: ${.CURDIR}/../../lib/libc/gen \ 231.9Sbjh21 ${.CURDIR}/../../lib/libc/hash \ 241.9Sbjh21 ${.CURDIR}/../../lib/libc/md \ 251.15Sthorpej ${.CURDIR}/../../lib/libc/stdio \ 261.6Stv ${.CURDIR}/../../lib/libc/stdlib \ 271.4Slukem ${.CURDIR}/../../lib/libc/string \ 281.7Stv ${.CURDIR}/../../usr.bin/lex 291.1Stv 301.6StvDPSRCS+= defs.mk 311.7StvCLEANFILES= config.log config.status confdefs.h *.stamp 321.3Stv 331.3Stv# Get components of Berkeley DB. 341.3Stv_CURDIR:= ${.CURDIR} 351.3Stv.CURDIR:= ${_CURDIR}/../../lib/libc 361.3Stv.include "${.CURDIR}/db/Makefile.inc" 371.3Stv.CURDIR:= ${_CURDIR} 381.3Stv 391.3StvSRCS:= ${SRCS:Nndbm.c} 401.1Stv 411.20Slukemconfig.cache: include/.stamp configure config.h.in defs.mk.in 421.20Slukem rm -f ${.TARGET} 431.3Stv CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} LDFLAGS=${HOST_LDFLAGS:Q} \ 441.3Stv sh ${.CURDIR}/configure --cache-file=config.cache 451.20Slukem 461.20Slukemdefs.mk: config.cache 471.20Slukem @touch ${.TARGET} 481.1Stv 491.1Stv# Run by hand, then "configure" script committed: 501.1Stvregen: 511.1Stv cd ${.CURDIR} && ${TOOLDIR}/bin/nbautoconf 521.6Stv 531.13Stvinclude/.stamp: 541.8Stv mkdir -p include/sys include/machine include/rpc 551.20Slukem @touch ${.TARGET} 561.6Stv 571.6Stvcleandir: compat.clean 581.6Stvcompat.clean: 591.6Stv -rm -r -f include 601.6Stv -rm -f config.cache config.h 611.6Stv 621.6StvHOST_CPPFLAGS:= ${CPPFLAGS} 631.6StvCPPFLAGS:= # empty 641.1Stv 651.1Stv.include <bsd.hostlib.mk> 66