# # # patch "Makefile.am" # from [1fe83ebe32f8e3c55e5116bf1ea689e28116cc93] # to [5bd5b579db2c6091b767262ac27e5ab5d190bf66] # ============================================================ --- Makefile.am 1fe83ebe32f8e3c55e5116bf1ea689e28116cc93 +++ Makefile.am 5bd5b579db2c6091b767262ac27e5ab5d190bf66 @@ -564,6 +564,12 @@ CLEANFILES = $(BUILT_SOURCES) $(CLEAN_SO CLEANFILES = $(BUILT_SOURCES) $(CLEAN_SOURCES) $(EPS_FIGURES) $(CLEAN_POFILES) +# automake provides no nice way to build a helper program to execute +# on the build machine, so we need our own rule. almost all the +# standard flags variables are inappropriate. +txt2c$(EXEEXT): txt2c.cc + $(CXX_FOR_BUILD) $(CXXFLAGS) -o $@ $^ + # files generated using txt2c std_hooks.cc: std_hooks.lua txt2c$(EXEEXT) ./txt2c std_hooks $< $@