ack/plat/pc86/build.mk
David Given 07453d184a Top, topgen, aelflod. Moved the libraries back into the platform-specific
directories --- wrangling descr files was too hard. C programs can be built
for cpm, pc86, linux386, linux68k!

--HG--
branch : dtrg-buildsystem
rename : util/ack/build.mk => util/led/build.mk
rename : util/LLgen/build.mk => util/topgen/build.mk
2013-05-13 23:26:15 +01:00

39 lines
516 B
Makefile

ARCH := i86
PLATFORM := pc86
OPTIMISATION := -O
D := plat/pc86/
platform-headers := \
ack/config.h \
unistd.h
platform-libsys := \
errno.s \
_hol0.s \
_sys_rawread.s \
_sys_rawwrite.s \
open.c \
creat.c \
close.c \
read.c \
write.c \
brk.c \
getpid.c \
kill.c \
isatty.c \
lseek.c \
time.c \
signal.c
$(eval $(call build-platform))
define build-pc86-boot-impl
$(call reset)
$(call ackfile, $D/boot.s)
$(call installto, $(PLATIND)/$(PLATFORM)/boot.o)
endef
$(eval $(build-pc86-boot-impl))