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

@@ -10,7 +10,7 @@
#define THREE_PASS /* branch and offset optimization */
#define BYTES_REVERSED /* high order byte has lowest address */
#define WORDS_REVERSED /* high order word has lowest address */
/*#define LISTING /* enable listing facilities */
/*#define LISTING */ /* enable listing facilities */
#define RELOCATION /* generate relocatable code */
#define DEBUG 0

View File

@@ -2,7 +2,7 @@ define build-as-impl
$(call reset)
$(eval cflags += -Imach/$(ARCH)/as -I$(OBJDIR)/$D)
$(eval objdir := $D)
$(eval objdir := $(PLATFORM))
$(call cfile, mach/proto/as/comm3.c)
$(call dependson, $(OBJDIR)/$D/y.tab.h)

View File

@@ -3,7 +3,7 @@ define build-ncg-impl
$(call reset)
$(eval cflags += -Imach/$(ARCH)/ncg -I$(OBJDIR)/$D -Imach/proto/ncg)
$(eval objdir := $D/ncg)
$(eval objdir := $(PLATFORM))
$(call cfile, mach/proto/ncg/codegen.c)
$(call cfile, mach/proto/ncg/compute.c)
@@ -29,7 +29,7 @@ $(OBJDIR)/$D/tables.h: $(NCGG) $(CPPANSI) mach/$(ARCH)/ncg/table
@echo NCGG $$@
@mkdir -p $$(dir $$@)
$(hide) cd $$(dir $$@) && \
$(abspath $(CPPANSI)) $(abspath mach/$(ARCH)/ncg/table) | $(abspath $(NCGG))
$(abspath $(CPPANSI)) -I$(abspath mach/$(ARCH)/ncg) $(abspath mach/$(ARCH)/ncg/table) | $(abspath $(NCGG))
$(hide) mv $(OBJDIR)/$D/tables.H $(OBJDIR)/$D/tables.h
$(call cfile, $(OBJDIR)/$D/tables.c)