2024-09-16 15:10:24 -05:00
|
|
|
## This makefile is explicitly for GNU Make, and to cross-compile for FreeBSD
|
|
|
|
|
## You MUST define MAKESYSPATH below, or you can't build for BSD.
|
2023-07-04 22:12:38 -05:00
|
|
|
|
2024-10-01 09:14:35 -05:00
|
|
|
.PHONY: all clean macos
|
2023-07-04 22:12:38 -05:00
|
|
|
|
2024-09-16 15:10:24 -05:00
|
|
|
export MAKESYSPATH=/home/yehia/extra_storage/freebsd_src/usr/src/share/mk
|
2023-07-04 22:12:38 -05:00
|
|
|
|
2024-09-16 15:10:24 -05:00
|
|
|
all:
|
|
|
|
|
if [ -d "$(MAKESYSPATH)" ]; then bmake -C kernel/freebsd; fi
|
|
|
|
|
$(MAKE) -C test
|
2023-07-04 22:12:38 -05:00
|
|
|
|
|
|
|
|
clean:
|
2024-09-16 15:10:24 -05:00
|
|
|
if [ -d "$(MAKESYSPATH)" ]; then bmake -C kernel/freebsd clean; fi
|
|
|
|
|
$(MAKE) -C test clean
|
2024-10-01 09:14:35 -05:00
|
|
|
|
|
|
|
|
macos:
|
|
|
|
|
$(MAKE) -C kernel/macos
|
|
|
|
|
$(MAKE) -C tools
|