First milestone of replacing the build system.

--HG--
branch : dtrg-buildsystem
rename : lang/cem/cpp.ansi/Parameters => lang/cem/cpp.ansi/parameters.h
This commit is contained in:
David Given
2013-05-12 20:45:55 +01:00
parent bcfb3d802f
commit c1aca7dae5
119 changed files with 1584 additions and 319 deletions

View File

@@ -0,0 +1,27 @@
D := modules/src/object
define build-libobject-impl
$(call reset)
$(call cfile, $D/rd.c)
$(call cfile, $D/rd_arhdr.c)
$(call cfile, $D/rd_bytes.c)
$(call cfile, $D/rd_int2.c)
$(call cfile, $D/rd_long.c)
$(call cfile, $D/rd_ranlib.c)
$(call cfile, $D/rd_unsig2.c)
$(call cfile, $D/wr.c)
$(call cfile, $D/wr_arhdr.c)
$(call cfile, $D/wr_bytes.c)
$(call cfile, $D/wr_int2.c)
$(call cfile, $D/wr_long.c)
$(call cfile, $D/wr_putc.c)
$(call cfile, $D/wr_ranlib.c)
$(eval $q: $(INCDIR)/local.h)
$(call clibrary, $(LIBDIR)/libobject.a)
LIBOBJECT := $o
endef
$(eval $(build-libobject-impl))