NetBSD/tools/compat/Makefile
tv 87d14ee4ac Add the framework for autoconf-based src/tools/compat structure. This will
(after it is more fleshed out) allow the host tools to work more cleanly
on non-NetBSD hosts.
2001-12-11 21:17:56 +00:00

20 lines
486 B
Makefile

# $NetBSD: Makefile,v 1.1 2001/12/11 21:17:57 tv Exp $
HOSTLIB= nbcompat
SRCS= err.c fparseln.c setprogname.c
HOST_CPPFLAGS+= -I. -DHAVE_CONFIG_H
DPSRCS= config.h
CLEANFILES= config.cache config.log config.status confdefs.h defs.mk
config.h: configure config.h.in defs.mk.in
-rm -f config.h defs.mk
sh ${.CURDIR}/configure --cache-file=config.cache
# Run by hand, then "configure" script committed:
regen:
cd ${.CURDIR} && ${TOOLDIR}/bin/nbautoconf
.include <bsd.hostlib.mk>