X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2FGNUmakefile;h=ae2bfb62f3d2be3abaec9045b80b9a77fa0a511f;hb=74b008a3d5f390a0429dd8fab7dd20f2704e826b;hp=bee7c9c5bca60ab3e3261b4241b5ce17f3fda436;hpb=77add406027ae5afda409a2e77b35852c5fae4f9;p=lilypond.git diff --git a/lily/include/GNUmakefile b/lily/include/GNUmakefile index bee7c9c5bc..ae2bfb62f3 100644 --- a/lily/include/GNUmakefile +++ b/lily/include/GNUmakefile @@ -1,42 +1,8 @@ -# lily/include/GNUmakefile -# -# This file helps maintainers to keep their Makefile.am automatically -# up to date using GNU make features. -# If you don't have (or run) GNU make, Makefile.am will not be updated -# automatically when source files are added/removed. +# lily/include/Makefile -# automake/wild-make should generate this file from Makefile.am.wild +depth = ../.. +STEPMAKE_TEMPLATES=c++ -#ugh -Makefile=$(wildcard Makefile) -# are we configured here, or are we using --srcdir -ifeq ($(Makefile),Makefile) +include $(depth)/make/stepmake.make -include Makefile - -biltdir=. - -else - -biltdir=../../../build/lily/include - -# include Makefile -include $(biltdir)/Makefile - -endif - -# Makefile.am.wild: noinst_HEADERS = $(wildcard *.hh *.icc *.tcc) -CURRENT_noinst_HEADERS = $(wildcard *.hh *.icc *.tcc) - -wild-check: check-noinst-headers - - -check-noinst-headers: -ifneq ($(noinst_HEADERS),$(CURRENT_noinst_HEADERS)) - @echo \"$(noinst_HEADERS)\" - @echo \"$(CURRENT_noinst_HEADERS)\" - @echo noinst_HEADERS changed: rerunning make-wild. - @-rm -f Makefile.am - $(PERL) $(top_srcdir)/bin/wild-perl < Makefile.am.wild > Makefile.am -endif