+Makefile
+Makefile.in
+_tmpinst
aclocal.m4
+autom4te.cache
config.cache
config.guess
config.h
config.h.in
+config.h.in
config.log
config.status
config.sub
configure
libtool
-ltmain.sh
ltconfig
-Makefile
-Makefile.in
+ltmain.sh
+mint.pc
mono-*.tar.gz
-stamp-h
-stamp-h.in
mono.pc
mono.spec
-autom4te.cache
-mint.pc
+semantic.cache
+stamp-h
+stamp-h.in
stamp-h1
-config.h.in
-_tmpinst
-tmpinst-dir.stamp
\ No newline at end of file
+tmpinst-dir.stamp
+2004-11-08 Raja R Harinath <rharinath@novell.com>
+
+ * configure.in (mcs_topdir, mcs_topdir_from_srcdir): New 'subst'ed
+ variables. Used to support both an in-tree mcs/ and a sibling
+ mcs/ directory.
+ * Makefile.am (mcs_topdir): Remove.
+ (dist-hook): Distribute mcs/ as a subdirectory.
+ * runtime/Makefile.am ($(monoone_DATA) $(monotwo_DATA) $(monobins_DATA)):
+ Use mcs_topdir and mcs_topdir_from_srcdir.
+ * runtime/net_1_1/Makefile.am (mscorlib.dll $(gac_assemblies) $(mdb_files)):
+ Likewise.
+ (all-local): Depend on $(mdb_files) too.
+ * runtime/net_2_0/Makefile.am: Likewise.
+
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* runtime/net_2_0/Makefile.am (install-data-local):
EXTRA_DIST= mono.pc.in mono.spec.in mint.pc.in
+# Distribute the 'mcs' tree too
+dist-hook:
+ test -d $(distdir)/mcs || mkdir $(distdir)/mcs
+ d=`cd $(distdir)/mcs && pwd`; cd $(mcs_topdir) && $(MAKE) distdir=$$d dist-recursive
+
pkgconfigdir = $(libdir)/pkgconfig
if JIT_SUPPORTED
pkgconfig_DATA= mono.pc mint.pc
# problems by doing the compilation in the right order.
#
-mcs_topdir=$(top_srcdir)/../mcs
-
.PHONY: bootstrap faststrap fasterstrap bootstrap-clean bootstrap-check get-monolite-latest monolite-bootstrap
.PHONY: tmpinst-dir tmpinst-mcs-basic-build tmpinst-mcs-short-build tmpinst-mcs-full-build tmpinst-monolite
.PHONY: mono-do-runtime-only mcs-do-basic-build mcs-do-short-build mcs-do-full-build mcs-do-clean-profiles mcs-do-run-test
$(MAKE) tmpinst-mcs-short-build
$(MAKE) fasterstrap
-bootstrap-world:
- $(MAKE) bootstrap-clean
+compiler-tests:
+ $(MAKE) mcs-do-clean-profiles
$(MAKE) bootstrap
- $(MAKE) install
$(MAKE) mcs-do-compiler-tests
+bootstrap-world: compiler-tests
+ $(MAKE) install
+
# internal targets
tmpinst-mcs-basic-build: mcs-do-basic-build tmpinst-dir
fi
CFLAGS="$CFLAGS -g $WARN"
+# Where's the 'mcs' source tree?
+if test -d $srcdir/mcs; then
+ mcsdir=mcs
+else
+ mcsdir=../mcs
+fi
+
+mcs_topdir='$(top_srcdir)/'$mcsdir
+mcs_topdir_from_srcdir='$(top_builddir)/'$mcsdir
+
+AC_SUBST([mcs_topdir])
+AC_SUBST([mcs_topdir_from_srcdir])
+
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test "x$PKG_CONFIG" = "xno"; then
AC_MSG_ERROR([You need to install pkg-config])
])
echo "
-
+ mcs source: $mcs_topdir
GC: $gc
ICU: $enable_icu
TLS: $with_tls
SUBDIRS = . net_1_1 net_2_0
-mcs_topdir=$(top_srcdir)/../mcs
-
monobins_DATA = \
monoresgen.exe \
monoresgen.exe.mdb \
wsdl*) d=tools/wsdl ;; \
sqlsharp) d=tools/SqlSharp ;; \
esac; \
- echo "test -f $(top_srcdir)/../mcs/$$d/$@" ; \
- test -f $(top_srcdir)/../mcs/$$d/$@ || exit 1 ; \
+ echo "test -f $(mcs_topdir)/$$d/$@" ; \
+ test -f $(mcs_topdir)/$$d/$@ || exit 1 ; \
echo "rm -f $(srcdir)/$@" ; \
rm -f $(srcdir)/$@ ; \
- echo "cd $(srcdir) && $(LN_S) ../../mcs/$$d/$@ $@" ; \
- cd $(srcdir) && $(LN_S) ../../mcs/$$d/$@ $@
+ echo "cd $(srcdir) && $(LN_S) $(mcs_topdir_from_srcdir)/$$d/$@ $@" ; \
+ cd $(srcdir) && $(LN_S) $(mcs_topdir_from_srcdir)/$$d/$@ $@
copy_dlls:
cp /nt/mono/mcs/class/*/*.dll .
MAINTAINERCLEANFILES = $(EXTRA_DIST)
mscorlib.dll $(gac_assemblies) $(mdb_files):
- test -f $(top_srcdir)/../mcs/class/lib/default/$@
+ test -f $(mcs_topdir)/class/lib/default/$@
-rm -f $(srcdir)/$@
- cd $(srcdir) && $(LN_S) ../../../mcs/class/lib/default/$@ $@
- -cd $(srcdir) && $(LN_S) ../../../mcs/class/lib/default/$@.mdb $@.mdb
+ cd $(srcdir) && $(LN_S) $(mcs_topdir_from_srcdir)/class/lib/default/$@ $@
-
-all-local: $(gac_assemblies)
+all-local: $(gac_assemblies) $(mdb_files)
install-data-local:
@if test -f $(srcdir)/mscorlib.dll.mdb; then \
MAINTAINERCLEANFILES = $(EXTRA_DIST)
mscorlib.dll $(gac_assemblies) $(mdb_files):
- test -f $(top_srcdir)/../mcs/class/lib/net_2_0/$@
+ test -f $(mcs_topdir)/class/lib/net_2_0/$@
-rm -f $(srcdir)/$@
- cd $(srcdir) && $(LN_S) ../../../mcs/class/lib/net_2_0/$@ $@
+ cd $(srcdir) && $(LN_S) $(mcs_topdir_from_srcdir)/class/lib/net_2_0/$@ $@
-all-local: $(gac_assemblies)
+all-local: $(gac_assemblies) $(mdb_files)
if INSTALL_2_0
install-data-local: