head	1.2;
access;
symbols
	netbsd-11-0-RC4:1.2
	netbsd-11-0-RC3:1.2
	netbsd-11-0-RC2:1.2
	netbsd-11-0-RC1:1.2
	perseant-exfatfs-base-20250801:1.2
	netbsd-11:1.2.0.16
	netbsd-11-base:1.2
	netbsd-10-1-RELEASE:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.14
	perseant-exfatfs-base:1.2
	netbsd-9-4-RELEASE:1.2
	netbsd-10-0-RELEASE:1.2
	netbsd-10-0-RC6:1.2
	netbsd-10-0-RC5:1.2
	netbsd-10-0-RC4:1.2
	netbsd-10-0-RC3:1.2
	netbsd-10-0-RC2:1.2
	netbsd-10-0-RC1:1.2
	netbsd-10:1.2.0.12
	netbsd-10-base:1.2
	netbsd-9-3-RELEASE:1.2
	cjep_sun2x-base1:1.2
	cjep_sun2x:1.2.0.10
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	netbsd-9-2-RELEASE:1.2
	cjep_staticlib_x:1.2.0.8
	cjep_staticlib_x-base:1.2
	netbsd-9-1-RELEASE:1.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	is-mlppp:1.2.0.6
	is-mlppp-base:1.2
	phil-wifi-20200406:1.2
	netbsd-9-0-RELEASE:1.2
	netbsd-9-0-RC2:1.2
	netbsd-9-0-RC1:1.2
	phil-wifi-20191119:1.2
	netbsd-9:1.2.0.4
	netbsd-9-base:1.2
	phil-wifi:1.2.0.2
	phil-wifi-20190609:1.2;
locks; strict;
comment	@# @;


1.2
date	2019.05.08.02.25.50;	author thorpej;	state Exp;
branches
	1.2.2.1;
next	1.1;
commitid	KRi8JCqF2qmCqlmB;

1.1
date	2019.05.07.04.29.45;	author thorpej;	state Exp;
branches;
next	;
commitid	aYUFdCuBQSrraemB;

1.2.2.1
date	2019.05.08.02.25.50;	author christos;	state dead;
branches;
next	1.2.2.2;
commitid	jtc8rnCzWiEEHGqB;

1.2.2.2
date	2019.06.10.22.10.15;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;


desc
@@


1.2
log
@Fix building libprop as a host tool library on platforms that don't have
the Matt Thomas rbtree:

- Include rb.c in libnbcompat, and provide a nbcompat sys/rbtree.h
  header.
- Make sure libprop's source file include prop_object_impl.h before
  anything else, and pull in nbtool_config.h from there.

Tested by simulating such a host system by renaming the host's
<sys/rbtree.h> out of the way (which reproduced the build failure)
and verifying that the host-tool installboot contained the rb_*
functions in its own .text segment.
@
text
@#	$NetBSD: Makefile,v 1.1 2019/05/07 04:29:45 thorpej Exp $

HOSTLIB=	prop

.include <bsd.hostinit.mk>

LIBPROP_DIR=	${.CURDIR}/../../common/lib/libprop
LIBPROP_INC=	${.CURDIR}/../../common/include

.include "${LIBPROP_DIR}/Makefile.inc"

CPPFLAGS+=	-I${.CURDIR}/../compat -I${LIBPROP_INC}
CPPFLAGS+=	-I${TOOLDIR}/include/compat
CPPFLAGS+=	-I${TOOLDIR}/include/nbinclude

.PATH:		${LIBPROP_DIR}

CPPFLAGS+=	-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64

HOST_CPPFLAGS:=	${CPPFLAGS} ${HOST_CPPFLAGS}
CPPFLAGS:=	# empty

.include "${.CURDIR}/../Makefile.nbincludes"
.include <bsd.hostlib.mk>
@


1.2.2.1
log
@file Makefile was added on branch phil-wifi on 2019-06-10 22:10:15 +0000
@
text
@d1 24
@


1.2.2.2
log
@Sync with HEAD
@
text
@a0 24
#	$NetBSD: Makefile,v 1.2 2019/05/08 02:25:50 thorpej Exp $

HOSTLIB=	prop

.include <bsd.hostinit.mk>

LIBPROP_DIR=	${.CURDIR}/../../common/lib/libprop
LIBPROP_INC=	${.CURDIR}/../../common/include

.include "${LIBPROP_DIR}/Makefile.inc"

CPPFLAGS+=	-I${.CURDIR}/../compat -I${LIBPROP_INC}
CPPFLAGS+=	-I${TOOLDIR}/include/compat
CPPFLAGS+=	-I${TOOLDIR}/include/nbinclude

.PATH:		${LIBPROP_DIR}

CPPFLAGS+=	-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64

HOST_CPPFLAGS:=	${CPPFLAGS} ${HOST_CPPFLAGS}
CPPFLAGS:=	# empty

.include "${.CURDIR}/../Makefile.nbincludes"
.include <bsd.hostlib.mk>
@


1.1
log
@Add support for libprop as a host tool library.
@
text
@d1 1
a1 1
#	$NetBSD$
d13 1
@

