07453d184a
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
16 lines
416 B
Makefile
16 lines
416 B
Makefile
define build-top-impl
|
|
$(call reset)
|
|
$(eval cflags += -I$(OBJDIR)/$(PLATFORM)/top)
|
|
|
|
$(call cfile, mach/proto/top/queue.c)
|
|
$(call cfile, mach/proto/top/top.c)
|
|
$(eval $q: $(OBJDIR)/$(PLATFORM)/top/gen.h)
|
|
|
|
$(call topgen, $(OBJDIR)/$(PLATFORM)/top, mach/$(ARCH)/top/table)
|
|
|
|
$(call cprogram, $(OBJDIR)/$(PLATFORM)/top/top)
|
|
$(call installto, $(PLATDEP)/$(PLATFORM)/top)
|
|
endef
|
|
|
|
build-top = $(eval $(build-top-impl))
|