freebsd-dev/usr.bin/mkcsmapper/Makefile
Alex Richardson 2de949cf85 Remove mkcsmapper_static and mkesdb_static from build-tools
Build them as part of the bootstrap-tools phase instead.

Reviewed by:	emaste (no objections)
Differential Revision: https://reviews.freebsd.org/D28181
2021-08-02 14:33:25 +01:00

18 lines
450 B
Makefile

# $FreeBSD$
.PATH: ${SRCTOP}/lib/libc/iconv
PROG= mkcsmapper
.if defined(BOOTSTRAPPING)
# When bootstrapping, the host libc might not contain these expected symbols
# so compile them directly into the binary.
SRCS= citrus_bcs.c citrus_db_factory.c citrus_db_hash.c \
citrus_lookup_factory.c citrus_pivot_factory.c
.endif
LDFLAGS+= -L${SRCTOP}/lib/libc
NO_WMISSING_VARIABLE_DECLARATIONS=
.include "${.CURDIR}/Makefile.inc"
.include <bsd.prog.mk>