]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.53
authorfred <fred>
Fri, 3 Apr 1998 19:07:13 +0000 (19:07 +0000)
committerfred <fred>
Fri, 3 Apr 1998 19:07:13 +0000 (19:07 +0000)
flowertest/GNUmakefile [new file with mode: 0644]

diff --git a/flowertest/GNUmakefile b/flowertest/GNUmakefile
new file mode 100644 (file)
index 0000000..7026cec
--- /dev/null
@@ -0,0 +1,58 @@
+# flower/test/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.
+
+# automake/wild-make should generate this file from Makefile.am.wild
+
+
+#ugh
+Makefile=$(wildcard Makefile)
+# are we configured here, or are we using --srcdir
+ifeq ($(Makefile),Makefile)
+
+include Makefile
+
+biltdir=.
+
+else
+
+#ugh
+biltdir=../flowertest
+
+make-in-build: wild-check
+       exec $(MAKE) -C $(biltdir)
+
+# include Makefile
+include $(biltdir)/Makefile
+
+endif
+
+# Makefile.am.wild: test_SOURCES = $(wildcard *.cc)
+CURRENT_test_SOURCES = $(wildcard *.cc)
+# Makefile.am.wild: noinst_HEADERS = $(wildcard *.hh)
+CURRENT_noinst_HEADERS = $(wildcard *.hh)
+
+wild-check: check-extra-sources check-noinst-headers
+
+check-test-sources:
+ifneq ($(test_SOURCES),$(CURRENT_test_SOURCES))
+       @echo \"$(test_SOURCES)\"
+       @echo \"$(CURRENT_test_SOURCES)\"
+       @echo  test_SOURCES changed: rerunning make-wild.
+       @-rm -f Makefile.am
+       $(PERL) $(top_srcdir)/bin/wild-perl < Makefile.am.wild > Makefile.am
+endif
+
+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
+
+all: