summaryrefslogtreecommitdiff
path: root/tools/compat
AgeCommit message (Collapse)Author
2014-02-27To build elftosb with clang++, it needs more than nl_types.h provides.matt
XXX to workaround with, if compiling on __NetBSD__ just include the real nl_types.h
2014-01-16Add the {v,}{err,warn}c functionschristos
2014-01-09fix prototype for strnlen.apb
2014-01-09Declare and define strnlen if necessary.apb
2014-01-09regenapb
2014-01-09Add strnlen to configure tests in tools/compatapb
2013-12-11Allow kernel code to access constant databases by moving cdbr(3) and thejoerg
required mi_vector_hash(3) into src/common.
2013-10-24Define __USE for use during a tools build.apb
2013-08-18Support __format_arg.joerg
2013-08-14regenjmcneill
2013-08-14add test for struct tm tm_gmtoff memberjmcneill
2013-08-09regenjmcneill
2013-08-09makefs_udf uses clock_gettime, and on some versions of linux that lives in librtjmcneill
2013-08-06Compile snprintb.c into libnbcompat. The source file is found in theapb
common/lib/libutil directory.
2013-08-06declare snptintb_m() and snprintb() if HAVE_SNPRINTB is not defined.apb
2013-08-06regen, to pick up the test for snprintb_m.apb
2013-08-06Add a configure test for snprintb_m. We will assume thatapb
the rpesence of snprintb_m implies the presence of snprintb.
2013-07-20revert socklen_t to int (from dh)christos
2013-07-19PR/48063: Justin Cormack: incorrect definition of socklen_tchristos
2013-07-19regenpooka
(XXX: I don't think these files were previously regen'd with the method documented in configure.ac, and therefore the diffs are now huge)
2013-07-19Fix some tests for musl libc -based systems.pooka
from Justin Cormack and Jens Staal
2013-03-12not a good place to include "nbtool_config.h"christos
2013-03-05don't leak on error.christos
2013-03-05regenchristos
2013-03-05add dprintfchristos
2013-02-17regenchristos
2013-02-17cygwin defines u_quad_t in <rpc/types.h>, so include this to the headerschristos
we include and test by default.
2013-02-07yes, but include the right filechristos
2013-02-07add shaX and rmd160 headers, same as mdXchristos
2013-01-26links for makefschristos
2012-12-10first define HOSTLIB and then include bsd.own.mk!christos
2012-12-09restore the find loop to include files generated by configurechristos
2012-12-09handle the list of files and directories generated dynamically by configurechristos
2012-12-09make this workchristos
2012-12-09Include <bsd.own.mk> to give a chance to ${TOOLDIR} to be defined beforechristos
using it in rules. Before there was another .mk file included before ${TOOLDIR} was used.
2012-12-09Use a "find | while read" loop to install all *.h files anywhereapb
under ${.OBJDIR}/include, and remove the previous hack of touching a "dummy" file in each subdirectory. This should fix a problem on some platforms where include files directly under ${.OBJDIR}/include (not in a subdirectory) were not installed.
2012-12-02Change the default value of COMPATLIB_UNINSTALLED to no, now thatapb
all users of comapt/defs.mk have been adjusted. This is the last commit related to fixing PR 47188.
2012-12-02Add two variables to tools/compat/defs.mk.in:apb
COMPATLIB_UNINSTALLED: If "yes", then use the files from the .OBJDIR of NETBSDSRCDIR/tools/compat. Otherwise, use the files from TOOLDIR. COMPATLIB_NO_LIB: If "yes" then do not use the library (but still use the include files). COMPATLIB_UNINSTALLED defaults to "yes" for now, but this will soon be changed to "no.
2012-12-02Make tools/compat/Makefile install the library inapb
${TOOLDIR}/lib/libnbcompat.a, install the include files in ${TOOLDIR}/include/compat/**, and install defs.mk in ${TOOLDIR}/share/compat/defs.mk. Previously, nothing from tools/compat was installed under TOOLDIR. Adjust tools/compat/Makefile to use an uninstalled copy of host-mkdep from the .OBJDIR of tools/host-mkdep, and an uninstalled copy of the install program from the .OBJDIR of tools/binstall. This allows it to be built after tools/host-mkdep is built but before tools/host-mkdep is installed; and to be installed after tools/binstall is built but before tools/binstall is installed.
2012-12-02Teach tools/compat/Makefile to use an uninstalled copy of host-mkdepapb
from the.OBJDIR of tools/host-mkdep. This is in preparation for building all three of tools/host-mkdep, tools/compat, and tools/binstall, before installing any of them. While here, also move the regen target to the end.
2012-06-04Add cdbr(3) support to tools/compat.joerg
2012-06-04Build getcap.c only once.joerg
2012-06-04Make Alan Barrett happy and add ().joerg
2012-06-03Add a special seeder for cdbw_output that gives stable results.joerg
Hook up cdbw(3) for the tool build.
2012-06-03Add __predict_true / __predict_false definitions.joerg
2012-06-02Don't depend on __P.joerg
2012-02-18Adjust libyywrap.c location.njoly
2012-01-21Always redefine DEV_BSIZE=512.tsutsui
All references of DEV_BSIZE in tools are to manipulate target (i.e. NetBSD's) file images (in installboot(8) and makefs(8) etc.) and no host's DEV_BSIZE is required for the moment. Closes PR toolchain/42574.
2011-11-03Add getline.c here too.joerg
2011-11-03Add getline(3) compat glue.joerg