summaryrefslogtreecommitdiff
path: root/tools/compat/Makefile
blob: 083549bee214e9c9a784ad2f5a0a9c3c76241a79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$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>