gencat(1): Limit and mark bootstrap hack.
[dragonfly.git] / usr.bin / gencat / Makefile
1 # $FreeBSD: src/usr.bin/gencat/Makefile,v 1.5 1999/08/28 01:01:40 peter Exp $
2
3 PROG=   gencat
4 SRCS=   gencat.c
5 WARNS?= 2
6
7 .if defined(BOOTSTRAPPING)
8 . if ${WORLD_VERSION} <= 400103
9 nl_types.h:     ../../include/nl_types.h
10         cp ${.CURDIR}/../../include/nl_types.h ${.TARGET}
11
12 types.h: ${.CURDIR}/../../sys/sys/types.h
13         mkdir sys
14         cp ${.ALLSRC} sys/${.TARGET}
15
16 SRCS+=          nl_types.h types.h
17 CFLAGS+=        -I${.OBJDIR}
18 CLEANFILES+=    nl_types.h
19 CLEANDIRS+=     sys
20 . endif
21 .endif
22
23 .include <bsd.prog.mk>