Changeset: 954b4b81252a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=954b4b81252a
Modified Files:
        buildtools/autogen/autogen/msc.py
Branch: default
Log Message:

Shorten commandline in makefile.
Because of the quite large number of object files for the ODBC driver,
we now create an nmake-style "here" document for the object files as
well (i.e. in addition to the "here" document for the libraries).


diffs (12 lines):

diff -r 46c2247aee4d -r 954b4b81252a buildtools/autogen/autogen/msc.py
--- a/buildtools/autogen/autogen/msc.py Wed Dec 08 13:30:04 2010 +0100
+++ b/buildtools/autogen/autogen/msc.py Wed Dec 08 12:46:58 2010 +0100
@@ -905,7 +905,7 @@
     else:
         fd.write("%s.lib: %s%s\n" % (ln, ln, dll))
         fd.write("%s%s: $(%s_DEPS) \n" % (ln, dll, ln.replace('-','_')))
-        fd.write('\t"$(TOPDIR)\\..\\..\\buildtools\\conf\\wincompile.py" $(CC) 
$(CFLAGS) -LD -Fe%s%s $(%s_OBJS) /link @<<\n$(%s_LIBS)%s\n<<\n' % (ln, dll, 
ln.replace('-','_'), ln.replace('-','_'), deffile))
+        fd.write('\t"$(TOPDIR)\\..\\..\\buildtools\\conf\\wincompile.py" $(CC) 
$(CFLAGS) -LD -Fe%s%s @<< /link @<<\n$(%s_OBJS)\n<<\n$(%s_LIBS)%s\n<<\n' % (ln, 
dll, ln.replace('-','_'), ln.replace('-','_'), deffile))
         fd.write("\tif exist [email protected] $(MT) -manifest [email protected] 
-outputresource:$@;2\n");
         if sep == '_':
             fd.write('\tif not exist .libs $(MKDIR) .libs\n')
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to