Made a start on building the runtimes for each platform and language; the

Linuxes all build.

--HG--
branch : dtrg-buildsystem
rename : modules/src/em_mes/build.mk => modules/src/read_em/build.mk
rename : plat/pc86/build.mk => plat/linux386/build.mk
rename : plat/pc86/build.mk => plat/linux68k/build.mk
rename : plat/pc86/build.mk => plat/linuxppc/build.mk
rename : util/ack/build.mk => util/misc/build.mk
This commit is contained in:
David Given
2013-05-12 23:51:55 +01:00
parent c1aca7dae5
commit b0c238eb5d
23 changed files with 501 additions and 92 deletions

View File

@@ -4,11 +4,31 @@ OPTIMISATION := -O
D := plat/cpm
$(eval $(call build-platform, \
platform-headers := \
ack/config.h \
cpm.h \
unistd.h \
))
unistd.h
platform-libsys := \
_bdos.s \
_hol0.s \
_inn2.s \
_trap.s \
brk.c \
close.c \
creat.c \
errno.s \
getpid.c \
isatty.c \
kill.c \
lseek.c \
open.c \
read.c \
signal.c \
time.c \
write.c
$(eval $(call build-platform))
include plat/cpm/libsys/build.mk

View File

@@ -1,28 +0,0 @@
D := plat/cpm/libsys
define build-cpm-libsys-impl
$(call reset)
$(call ackfile, $D/_bdos.s)
$(call ackfile, $D/_hol0.s)
$(call ackfile, $D/_inn2.s)
$(call ackfile, $D/_trap.s)
$(call ackfile, $D/brk.c)
$(call ackfile, $D/close.c)
$(call ackfile, $D/creat.c)
$(call ackfile, $D/errno.s)
$(call ackfile, $D/getpid.c)
$(call ackfile, $D/isatty.c)
$(call ackfile, $D/kill.c)
$(call ackfile, $D/lseek.c)
$(call ackfile, $D/open.c)
$(call ackfile, $D/read.c)
$(call ackfile, $D/signal.c)
$(call ackfile, $D/time.c)
$(call ackfile, $D/write.c)
$(call acklibrary, $(LIBDIR)/$(PLATFORM)/libsys.a)
$(call installto, $(PLATIND)/$(PLATFORM)/libsys.a)
endef
$(eval $(build-cpm-libsys-impl))