Update of /cvsroot/monetdb/buildtools/autogen/autogen
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29921/autogen/autogen

Modified Files:
        codegen.py msc.py 
Log Message:
We can now use AcitvePerl from ActiveState to compile the perl interface.

Index: codegen.py
===================================================================
RCS file: /cvsroot/monetdb/buildtools/autogen/autogen/codegen.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- codegen.py  11 Jan 2008 10:33:50 -0000      1.16
+++ codegen.py  15 Jan 2008 13:42:46 -0000      1.17
@@ -103,6 +103,7 @@
             'py.i':     [ '.py.c', '.py' ],
             'py.c':     [ '.py.o' ],
             'pm.i':     [ '.pm.c', '.pm' ],
+            'pm.c':     [ '.pm.o' ],
             'glue.c':   [ '.glue.o' ],
 #            'java':     [ '.class' ],
             'tmpmil':   [ '.mil' ],

Index: msc.py
===================================================================
RCS file: /cvsroot/monetdb/buildtools/autogen/autogen/msc.py,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- msc.py      11 Jan 2008 10:33:50 -0000      1.49
+++ msc.py      15 Jan 2008 13:42:46 -0000      1.50
@@ -379,6 +379,10 @@
         fd.write('\t$(SWIG) -python $(SWIGFLAGS) -outdir . -o dummy.c "%s"\n' 
% src)
     if ext == 'py.c' and deplist[0].endswith('.py.i'):
         fd.write('\t$(SWIG) -python $(SWIGFLAGS) -outdir . -o "$@" "%s"\n' % 
src)
+    if ext == 'pm' and deplist[0].endswith('.pm.i'):
+        fd.write('\t$(SWIG) -perl $(SWIGFLAGS) -outdir . -o dummy.c "%s"\n' % 
src)
+    if ext == 'pm.c' and deplist[0].endswith('.pm.i'):
+        fd.write('\t$(SWIG) -perl $(SWIGFLAGS) -outdir . -o "$@" "%s"\n' % src)
     if ext == 'res':
         fd.write("\t$(RC) -fo%s %s\n" % (t, src))
 
@@ -848,6 +852,8 @@
                 srcs = srcs + " " + t + ".yy.obj"
             elif ext == "py.o":
                 srcs = srcs + " " + t + ".py.obj"
+            elif ext == "pm.o":
+                srcs = srcs + " " + t + ".pm.obj"
             elif ext == 'res':
                 srcs = srcs + " " + t + ".res"
             elif ext in hdrs_ext:


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to