ack/plat/linux/liblinux/build.mk
David Given b0c238eb5d 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
2013-05-12 23:51:55 +01:00

28 lines
950 B
Makefile

define build-liblinux-impl
$(call reset)
$(eval objdir := $(PLATFORM))
$(call ackfile, plat/linux/liblinux/_exit.c)
$(call ackfile, plat/linux/liblinux/_hol0.s)
$(call ackfile, plat/linux/liblinux/brk.c)
$(call ackfile, plat/linux/liblinux/close.c)
$(call ackfile, plat/linux/liblinux/creat.c)
$(call ackfile, plat/linux/liblinux/errno.s)
$(call ackfile, plat/linux/liblinux/getpid.c)
$(call ackfile, plat/linux/liblinux/gettimeofday.c)
$(call ackfile, plat/linux/liblinux/isatty.c)
$(call ackfile, plat/linux/liblinux/kill.c)
$(call ackfile, plat/linux/liblinux/lseek.c)
$(call ackfile, plat/linux/liblinux/open.c)
$(call ackfile, plat/linux/liblinux/read.c)
$(call ackfile, plat/linux/liblinux/sbrk.c)
$(call ackfile, plat/linux/liblinux/signal.c)
$(call ackfile, plat/linux/liblinux/write.c)
$(call acklibrary, $(OBJDIR)/$D/liblinux.a)
$(call installto, $(PLATIND)/$(PLATFORM)/liblinux.a)
endef
build-liblinux = $(eval $(build-liblinux-impl))