locales, libconv: Sync with FreeBSD (extensive reach)
[dragonfly.git] / usr.bin / colldef / Makefile
1 # $FreeBSD: src/usr.bin/colldef/Makefile,v 1.16.2.1 2002/08/17 18:57:10 ache Exp $
2
3 PROG=   colldef
4 SRCS=   parse.y scan.l y.tab.h
5 LFLAGS= -8 -i
6 CFLAGS+=-I. -I${.CURDIR}
7 CFLAGS+=-I${.CURDIR}/../../include
8 CFLAGS+=-I${.CURDIR}/../../lib/libc/locale
9 CFLAGS+=-DCOLLATE_DEBUG
10 LDADD=  -ll
11 DPADD=  ${LIBL}
12
13 .if defined(BOOTSTRAPPING)
14 SRCS+=          sys/types.h ctype.h
15 CLEANFILES+=    ctype.h
16 CLEANDIRS+=     sys
17 .endif
18
19 sys/types.h: /usr/include/sys/types.h
20         mkdir -p sys
21         cp ${.ALLSRC} ${.TARGET}
22
23 ctype.h: /usr/include/ctype.h
24         cp ${.ALLSRC} ${.TARGET}
25
26 .include <bsd.prog.mk>