diff options
author | Paolo Molaro <lupus@oddwiz.org> | 2002-02-15 13:12:19 +0300 |
---|---|---|
committer | Paolo Molaro <lupus@oddwiz.org> | 2002-02-15 13:12:19 +0300 |
commit | a52aeaacc6020797d67ac3a59d9f8c135509ccc3 (patch) | |
tree | c7d6df24dbb66b410acf9ca431fc12279592eab9 | |
parent | 4c77b6f692c00a410aaef904dfc799dd052ed5da (diff) |
Fix make distcheck.
svn path=/trunk/mono/; revision=2423
-rw-r--r-- | mono/monoburg/Makefile.am | 19 | ||||
-rw-r--r-- | scripts/Makefile.am | 2 |
2 files changed, 12 insertions, 9 deletions
diff --git a/mono/monoburg/Makefile.am b/mono/monoburg/Makefile.am index 00ecb2a6664..f6926040aa8 100644 --- a/mono/monoburg/Makefile.am +++ b/mono/monoburg/Makefile.am @@ -4,23 +4,24 @@ CC=$(CC_FOR_BUILD) #noinst_PROGRAMS = sample #sample_SOURCES = sample.c +bdir=$(top_builddir)/$(subdir) -parser.c: monoburg.y - bison monoburg.y -o parser.c +$(bdir)/parser.c: $(srcdir)/monoburg.y + bison $(srcdir)/monoburg.y -o $(bdir)/parser.c -monoburg$(BUILD_EXEEXT): monoburg.c monoburg.h parser.c - $(CC_FOR_BUILD) -o $@ monoburg.c parser.c $(INCLUDES) $(BUILD_GLIB_LIBS) +monoburg$(BUILD_EXEEXT): $(srcdir)/monoburg.c $(srcdir)/monoburg.h $(bdir)/parser.c + $(CC_FOR_BUILD) -o $@ $(srcdir)/monoburg.c $(bdir)/parser.c $(INCLUDES) $(BUILD_GLIB_LIBS) -sample.c: monoburg$(BUILD_EXEEXT) sample.brg - ./monoburg$(BUILD_EXEEXT) $(srcdir)/sample.brg >sample.c +$(bdir)/sample.c: monoburg$(BUILD_EXEEXT) $(srcdir)/sample.brg + ./monoburg$(BUILD_EXEEXT) $(srcdir)/sample.brg > $(bdir)/sample.c #sample_LDADD = $(BUILD_GLIB_LIBS) -BUILT_SOURCES = parser.c sample.c +BUILT_SOURCES = $(bdir)/parser.c $(bdir)/sample.c -CLEANFILES = $(BUILT_SOURCES) +CLEANFILES = $(BUILT_SOURCES) monoburg$(BUILD_EXEEXT) man_MANS = monoburg.1 -EXTRA_DIST = ChangeLog monoburg.y sample.brg $(man_MANS) +EXTRA_DIST = ChangeLog monoburg.c monoburg.h monoburg.y sample.brg $(man_MANS) diff --git a/scripts/Makefile.am b/scripts/Makefile.am index ba8c6949faa..e43f643e445 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -2,6 +2,8 @@ EXTRA_DIST = mcs.in bin_SCRIPTS = mcs +CLEANFILES = mcs + mcs: mcs.in sed -e 's^\@bindir\@^$(bindir)^g' < $(srcdir)/mcs.in > mcs.tmp \ && mv mcs.tmp mcs |