xref: /freebsd-13.1/usr.bin/mkcsmapper/Makefile (revision 1d7c196d)
1ad30f8e7SGabor Kovesdan# $FreeBSD$
2ad30f8e7SGabor Kovesdan
3a35f04fbSWarner Losh.PATH: ${SRCTOP}/lib/libc/iconv
4ad30f8e7SGabor Kovesdan
5ad30f8e7SGabor KovesdanPROG=	mkcsmapper
6*1d7c196dSAlex Richardson.if defined(BOOTSTRAPPING)
7*1d7c196dSAlex Richardson# When bootstrapping, the host libc might not contain these expected symbols
8*1d7c196dSAlex Richardson# so compile them directly into the binary.
9*1d7c196dSAlex RichardsonSRCS=	citrus_bcs.c citrus_db_factory.c citrus_db_hash.c \
10*1d7c196dSAlex Richardson	citrus_lookup_factory.c citrus_pivot_factory.c
11*1d7c196dSAlex Richardson.endif
12a35f04fbSWarner LoshLDFLAGS+= -L${SRCTOP}/lib/libc
13ad30f8e7SGabor Kovesdan
14b94c7c3eSEd SchoutenNO_WMISSING_VARIABLE_DECLARATIONS=
15b94c7c3eSEd Schouten
16ad30f8e7SGabor Kovesdan.include "${.CURDIR}/Makefile.inc"
17ad30f8e7SGabor Kovesdan.include <bsd.prog.mk>
18