3 # This file helps maintainers to keep their Makefile.am automatically
4 # up to date using GNU make features.
5 # If you don't have (or run) GNU make, Makefile.am will not be updated
6 # automatically when source files are added/removed.
8 # automake/wild-make should generate this file from Makefile.am.wild
11 Makefile=$(wildcard Makefile)
12 # are we configured here, or are we using --srcdir
13 ifeq ($(Makefile),Makefile)
22 biltdir=../../build/lib
24 make-in-build: wild-check
25 exec $(MAKE) -C $(biltdir)
28 include $(biltdir)/Makefile
31 exec $(MAKE) -C $(biltdir) $@
34 exec $(MAKE) -C $(biltdir) $@
37 exec $(MAKE) -C $(biltdir) $@
41 # Makefile.am.wild: liblily_la_SOURCES = $(wildcard *.cc)
42 CURRENT_liblily_la_SOURCES = $(wildcard *.cc)
44 wild-check: check-lily-la-sources
46 check-lily-la-sources:
47 ifneq ($(liblily_la_SOURCES),$(CURRENT_libflower_la_SOURCES))
48 @echo \"$(liblily_la_SOURCES)\"
49 @echo \"$(CURRENT_liblily_la_SOURCES)\"
50 @echo liblily_la_SOURCES changed: rerunning make-wild.
52 $(PERL) $(top_srcdir)/bin/wild-perl < Makefile.am.wild > Makefile.am