2010-06-25 20:29:09 +02:00
|
|
|
.include <bsd.own.mk>
|
2006-01-16 16:47:30 +01:00
|
|
|
|
2011-04-27 15:00:52 +02:00
|
|
|
.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?=
|
|
|
|
|
2011-07-21 16:29:08 +02:00
|
|
|
SUBDIR= csu ${LIBCOMPAT_DIR} ${LIBC_DIR} libdriver libnetdriver \
|
2011-04-27 15:00:52 +02:00
|
|
|
libedit ${LIBM_DIR} libsys libtimers libutil libbz2 libl libhgfs \
|
|
|
|
libz libfetch libarchive libvtreefs libaudiodriver libmthread \
|
|
|
|
libexec libdevman libusb ${LIBMINLIB_DIR} ${LIBASYN_DIR} \
|
|
|
|
libddekit
|
2006-01-16 16:47:30 +01:00
|
|
|
|
2011-06-29 00:17:35 +02:00
|
|
|
.if defined(NBSD_LIBC) && (${NBSD_LIBC} != "no")
|
2011-07-21 16:29:08 +02:00
|
|
|
SUBDIR+= libelf libminc libcrypt libterminfo libcurses
|
2011-06-29 00:17:35 +02:00
|
|
|
.endif
|
|
|
|
|
2010-02-24 12:58:05 +01:00
|
|
|
.if ${COMPILER_TYPE} == "ack"
|
2010-02-16 15:41:33 +01:00
|
|
|
SUBDIR+= ack/libd ack/libe ack/libfp ack/liby
|
|
|
|
.endif
|
2006-01-16 16:47:30 +01:00
|
|
|
|
2010-12-10 23:20:12 +01:00
|
|
|
.if ${OBJECT_FMT} == "a.out"
|
|
|
|
SUBDIR+= libend
|
|
|
|
.endif
|
|
|
|
|
2010-06-25 20:29:09 +02:00
|
|
|
.include <bsd.subdir.mk>
|
2010-06-22 14:03:09 +02:00
|
|
|
|
|
|
|
build_ack:
|
2011-07-19 15:26:25 +02:00
|
|
|
sh ack_build.sh obj dependall install
|
2010-06-22 14:03:09 +02:00
|
|
|
|
2011-06-28 17:19:10 +02:00
|
|
|
build_elf:
|
2011-07-19 15:26:25 +02:00
|
|
|
sh elf_build.sh obj dependall install
|
2010-06-22 14:03:09 +02:00
|
|
|
|
2011-06-07 14:48:31 +02:00
|
|
|
clean_all:
|
2010-06-22 14:03:09 +02:00
|
|
|
sh ack_build.sh clean
|
2010-12-10 23:20:12 +01:00
|
|
|
sh elf_build.sh clean
|
2011-04-27 15:00:52 +02:00
|
|
|
|
2011-07-01 15:57:43 +02:00
|
|
|
cleandepend_all:
|
|
|
|
sh ack_build.sh cleandepend
|
|
|
|
sh elf_build.sh cleandepend
|