Update of /cvsroot/monetdb/pathfinder/NT
In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv10710/NT

Modified Files:
      Tag: XQFT
        rules.msc 
Log Message:
propagated changes of Wednesday Mar 31 2010 - Thursday Apr 08 2010
from the development trunk to the XQFT branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2010/03/31 - stmane: NT/rules.msc,1.50
  Made compilation of "testing" (and "java") independent of MonetDB.
  
  This is mainy for Windows, but also on other systems, "testing" can now be
  built independently of (and hence before) "MonetDB".
  
  (These changes require a complete rebuild from scratch on Windows.)
  
  
  1)
  Moving files that mimic configure functionality on Windows from "MonetDB" to
  "testing"; in detail:
  MonetDB/conf/configure.py      -> buildtools/conf/configure.py
  MonetDB/NT/winrules.msc        -> buildtools/conf/winrules.msc
  MonetDB/NT/monetdb_winconfig.h -> buildtools/conf/winconfig.h
  
  With winrules.msc & monetdb_winconfig.h no longer distribute in the MonetDB
  tarball, this now prohibits compilation on Windows from tarballs. However,
  this has never been tested, let alone supported, and most probably did not
  work, anyway, as configure.py was never distributed in any tarball.
  
  In fact, now there are only two places (see hereafter) where the location of
  the above three files it specified.  All three are guarded by compile time
  option "NEED_MX" to indicate whether "Mx" is required or not, and hence,
  whether we build from CVS sources or tarballs.  The location is given for
  the former case.  For the latter case, we'd "simply" need to ensure that
  these three files are included in some (or each) tarball and specify there
  location in case we build from tarballs.
  
  buildtools/conf/winrules.msc:
  !IFDEF NEED_MX
  CONFIGURE_PY = "$(TOPDIR)\..\..\buildtools\conf\configure.py"
  WINCONFIG_INCS = "-I$(TOPDIR)\..\..\buildtools\conf"
  !ELSE
  CONFIGURE_PY = ToBeDefined
  WINCONFIG_INCS = ToBeDefined
  !ENDIF
  
  */NT/rules.msc:
  !IFDEF NEED_MX
  RULESMSC = $(TOPDIR)\..\..\buildtools\conf\winrules.msc
  !ELSE
  RULESMSC = ToBeDefined
  !ENDIF
  
  
  2)
  Replicating the getopt code from
  buildtools/Mx/mx_getopt.h & buildtools/Mx/getopt.c
  into
  testing/src/testing_getopt.{h,c}
  --- at least for the time being.
  
  A better solution than replicating source files needs to be found, not only
  for testing, but for getopt in general, as we now have already 4 copies of
  some (different) getopt implementations in our code base.
  
  
  3)
  Making the remaining code aware of the above changes.
  
  buildtools/doc/windowsbuild.rst,
  */NT/rules.msc:
        new location of "winrules.msc"
  
  */NT/*_config.h.in:
        renamed "monetdb_winconfig.h" into "winconfig.h"
  
  MonetDB/NT/Makefile:
        removed "winrules.msc" & "monetdb_winconfig.h"
  
  testing/configure.ag,
  testing/MonetDB-testing.spec,
  testing/vertoo.config,
  testing/vertoo.data,
  testing/NT/rules.msc:
        removed MonetDB build requirement
  
  testing/src/Makefile.ag,
  testing/src/Mdiff.c:
        use local "testing_getopt.{h,c}"
  
  testing/conf/monetdb-testing-config.in,
  testing/conf/monetdb-testing-config.bat.in:
        removed conditional "HAVE_MONETDB"
  
  clients/conf/Tests/monetdb-testing-conds.stable.out.*:
        updated stable output accordingly
  
  TestTools/*:
        build "testing" before "MonetDB"
  
  monetweb/Development/TestWeb//*:
        "testing" before "MonetDB"
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: rules.msc
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/NT/rules.msc,v
retrieving revision 1.47.2.1
retrieving revision 1.47.2.2
diff -u -d -r1.47.2.1 -r1.47.2.2
--- rules.msc   13 Jan 2010 11:41:30 -0000      1.47.2.1
+++ rules.msc   8 Apr 2010 11:27:17 -0000       1.47.2.2
@@ -25,7 +25,11 @@
 W_CFLAGS = -WX
 !ENDIF
 
-RULESMSC = $(MONETDB_PREFIX)\share\MonetDB\winrules.msc
+!IFDEF NEED_MX
+RULESMSC = $(TOPDIR)\..\..\buildtools\conf\winrules.msc
+!ELSE
+RULESMSC = ToBeDefined
+!ENDIF
 !INCLUDE $(RULESMSC)
 
 VERSION = 0.37.0


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to