1# These utility programs have to be built for BUILD host in cross-build. 2# This makes things rather non-standard automake 3 4noinst_PROGRAMS += genmacro 5 6genmacro_SOURCES = 7EXTRA_DIST += tools/genmacro/genmacro.c 8genmacro_LDADD = genmacro.$(OBJEXT) 9genmacro_LINK = $(CCLD_FOR_BUILD) -o $@ 10 11genmacro.$(OBJEXT): tools/genmacro/genmacro.c 12 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) \ 13 -c -o $@ `test -f tools/genmacro/genmacro.c || echo '$(srcdir)/'`tools/genmacro/genmacro.c 14 15