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