2013-05-12 19:45:55 +00:00
|
|
|
D := util/arch
|
|
|
|
|
|
|
|
define build-aal-impl
|
|
|
|
$(call reset)
|
|
|
|
$(eval cflags += -DAAL)
|
|
|
|
|
|
|
|
$(call cfile, $D/archiver.c)
|
|
|
|
|
2015-03-22 11:09:46 +00:00
|
|
|
$(call rawfile, $(LIBOBJECT))
|
|
|
|
$(call rawfile, $(LIBPRINT))
|
|
|
|
$(call rawfile, $(LIBSTRING))
|
|
|
|
$(call rawfile, $(LIBSYSTEM))
|
2013-05-12 19:45:55 +00:00
|
|
|
|
|
|
|
$(call cprogram, $(BINDIR)/aal)
|
|
|
|
$(call installto, $(INSDIR)/bin/aal)
|
|
|
|
$(eval AAL := $o)
|
2013-05-14 15:11:29 +00:00
|
|
|
$(eval ACK_CORE_TOOLS += $o)
|
2013-05-12 19:45:55 +00:00
|
|
|
|
|
|
|
$(call reset)
|
|
|
|
$(eval q := $D/aal.1)
|
|
|
|
$(call installto, $(INSDIR)/share/man/man1/aal.1)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(build-aal-impl))
|