diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -15,16 +15,14 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. include $(dir $(lastword $(MAKEFILE_LIST)))/config.mk -include $(topsrcdir)/common.top.mk +include $(topsrcdir)/automake.head.mk -subdirs = wrapper modules +am_subdirs = wrapper modules -src_files = Makefile -src_files += common.top.mk common.bottom.mk -src_files += common.each.mk common.once.mk -src_files += config.mk configure -src_files += COPYING HACKING README -out_files = config.sh config.h +makefiles = Makefile automake.head.mk automake.tail.mk automake.txt common.once.head.mk common.once.tail.mk common.each.head.mk common.each.tail.mk config.mk + +am_src_files = COPYING HACKING README configure config.mk.in +am_out_files = config.sh config.h config_vars = $(shell $(SED) -n 's/^\s*\([a-z][^ !?:=]*\).*=.*/\1/p' $(topoutdir)/config.mk) PACKAGE VERSION DESTDIR $(outdir)/config.sh: $(outdir)/config.mk @@ -32,4 +30,4 @@ $(outdir)/config.sh: $(outdir)/config.mk $(outdir)/config.h: $(outdir)/config.sh . $(abspath $<) && $(PRINTF) '#define %s "%s"\n' $(foreach v,$(config_vars),$v '$($v)') PACKAGE_UPPER $${PACKAGE^^} | LC_ALL=C $(SORT) > $@ -include $(topsrcdir)/common.bottom.mk +include $(topsrcdir)/automake.tail.mk |