buildworld - bootstrap compatibility compiling older DragonFly's
[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 nl_types.h:     ../../include/nl_types.h
9         cp ${.CURDIR}/../../include/nl_types.h ${.TARGET}
10
11 types.h: ${.CURDIR}/../../sys/sys/types.h
12         mkdir sys
13         cp ${.ALLSRC} sys/${.TARGET}
14
15 SRCS+=          nl_types.h types.h
16 CFLAGS+=        -I${.OBJDIR} -DBOOTSTRAPPING
17 CLEANFILES+=    nl_types.h
18 CLEANDIRS+=     sys
19 .endif
20
21 .include <bsd.prog.mk>