4857d5d554
. move cache size heuristic from mfs there so mfs and ext2 can share it . add vfs credentials retrieving function, with backwards compatability from previous struct format, to be used by both ext2 and mfs . fix for ext2 - STATICINIT was fed no. of bytes instead of no. of elements, overallocating memory by a megabyte or two for the superblock
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
.include <bsd.own.mk>
|
|
|
|
.if defined(NBSD_LIBC) && (${NBSD_LIBC} != "no")
|
|
LIBC_DIR= nbsd_libc
|
|
LIBM_DIR= nbsd_libm
|
|
LIBCOMPAT_DIR= nbsd_libcompat_minix
|
|
LIBMINLIB_DIR= nbsd_libminlib
|
|
LIBASYN_DIR= nbsd_libasyn
|
|
.endif
|
|
|
|
LIBC_DIR?= libc
|
|
LIBM_DIR?= libm
|
|
LIBCOMPAT_DIR?=
|
|
LIBMINLIB_DIR?=
|
|
LIBASYN_DIR?=
|
|
|
|
SUBDIR= csu ${LIBCOMPAT_DIR} ${LIBC_DIR} libdriver libnetdriver \
|
|
libedit ${LIBM_DIR} libsys libtimers libminixutil libbz2 libl libhgfs \
|
|
libz libfetch libarchive libvtreefs libaudiodriver libmthread \
|
|
libexec libdevman libusb ${LIBMINLIB_DIR} ${LIBASYN_DIR} \
|
|
libddekit libminixfs
|
|
|
|
.if defined(NBSD_LIBC) && (${NBSD_LIBC} != "no")
|
|
SUBDIR+= libelf libminc libcrypt libterminfo libcurses libvassert
|
|
.endif
|
|
|
|
.if ${COMPILER_TYPE} == "ack"
|
|
SUBDIR+= ack/libd ack/libe ack/libfp ack/liby
|
|
.endif
|
|
|
|
.if ${OBJECT_FMT} == "a.out"
|
|
SUBDIR+= libend
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|
|
|
|
build_ack:
|
|
sh ack_build.sh obj dependall install
|
|
|
|
build_elf:
|
|
sh elf_build.sh obj dependall install
|
|
|
|
clean_all:
|
|
sh ack_build.sh clean
|
|
sh elf_build.sh clean
|
|
|
|
cleandepend_all:
|
|
sh ack_build.sh cleandepend
|
|
sh elf_build.sh cleandepend
|