2013-05-12 19:45:55 +00:00
|
|
|
|
|
|
|
define build-simple-tool-impl
|
|
|
|
$(call reset)
|
|
|
|
$(call cfile, util/amisc/$1.c)
|
2015-03-22 11:09:46 +00:00
|
|
|
$(call rawfile, $(LIBOBJECT))
|
2013-05-12 19:45:55 +00:00
|
|
|
$(call cprogram, $(BINDIR)/$1)
|
|
|
|
$(eval INSTALLABLES += $o)
|
|
|
|
$(call installto, $(INSDIR)/bin/$1)
|
|
|
|
|
|
|
|
$(call reset)
|
|
|
|
$(eval q := util/amisc/$1.1)
|
|
|
|
$(call installto, $(INSDIR)/share/man/man1/$1.1)
|
|
|
|
endef
|
|
|
|
|
|
|
|
build-simple-tool = $(eval $(build-simple-tool-impl))
|
|
|
|
|
|
|
|
$(call build-simple-tool,anm)
|
|
|
|
$(call build-simple-tool,ashow)
|
|
|
|
$(call build-simple-tool,asize)
|
|
|
|
$(call build-simple-tool,aslod)
|
|
|
|
$(call build-simple-tool,astrip)
|
2013-05-13 22:26:15 +00:00
|
|
|
$(call build-simple-tool,aelflod)
|
2013-05-12 19:45:55 +00:00
|
|
|
|