Complete Citrus import. Import message catalog implement from
[dragonfly.git] / usr.bin / gencat / Makefile
index ce95140..4527040 100644 (file)
@@ -1,9 +1,15 @@
 # $FreeBSD: src/usr.bin/gencat/Makefile,v 1.5 1999/08/28 01:01:40 peter Exp $
-# $DragonFly: src/usr.bin/gencat/Makefile,v 1.2 2003/06/17 04:29:27 dillon Exp $
+# $DragonFly: src/usr.bin/gencat/Makefile,v 1.3 2005/04/21 16:36:35 joerg Exp $
 
 PROG=  gencat
-SRCS=  gencat.c genlib.c
+SRCS=  gencat.c
 
-CFLAGS+= -I${.CURDIR}/../../lib/libc/nls
+.if defined(BOOTSTRAPPING)
+nl_types.h:    ../../include/nl_types.h
+       cp ${.CURDIR}/../../include/nl_types.h ${.TARGET}
+SRCS+= nl_types.h
+CFLAGS+=       -I${.OBJDIR}
+CLEANFILES+=   nl_types.h
+.endif
 
 .include <bsd.prog.mk>