lilypond-1.3.52
[lilypond.git] / flowertest / GNUmakefile
blobc588cc6fbc157ec7e59a73585a8bac0abf28e17a
1 # flowertest/GNUmakefile
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 #ugh
12 Makefile=$(wildcard Makefile)
13 # are we configured here, or are we using --srcdir
14 ifeq ($(Makefile),Makefile)
16 include Makefile
18 biltdir=.
20 else
22 #ugh
23 biltdir=../flowertest
25 make-in-build: wild-check
26 exec $(MAKE) -C $(biltdir)
28 # include Makefile
29 include $(biltdir)/Makefile
31 endif
33 # Makefile.am.wild: test_SOURCES = $(wildcard *.cc)
34 CURRENT_test_SOURCES = $(wildcard *.cc)
35 # Makefile.am.wild: noinst_HEADERS = $(wildcard *.hh)
36 CURRENT_noinst_HEADERS = $(wildcard *.hh)
38 wild-check: check-extra-sources check-noinst-headers
40 check-test-sources:
41 ifneq ($(test_SOURCES),$(CURRENT_test_SOURCES))
42 @echo \"$(test_SOURCES)\"
43 @echo \"$(CURRENT_test_SOURCES)\"
44 @echo test_SOURCES changed: rerunning make-wild.
45 @-rm -f Makefile.am
46 $(PERL) $(top_srcdir)/bin/wild-perl < Makefile.am.wild > Makefile.am
47 endif
49 check-noinst-headers:
50 ifneq ($(noinst_HEADERS),$(CURRENT_noinst_HEADERS))
51 @echo \"$(noinst_HEADERS)\"
52 @echo \"$(CURRENT_noinst_HEADERS)\"
53 @echo noinst_HEADERS changed: rerunning make-wild.
54 @-rm -f Makefile.am
55 $(PERL) $(top_srcdir)/bin/wild-perl < Makefile.am.wild > Makefile.am
56 endif
58 all: