6 out_o
= out_lo
.replace(".lo", ".o")
10 dir = out_o
[0:i
+1] + ".libs/"
11 out_l
= ".libs/" + out_o
[i
+1:]
12 out_o
= out_o
[0:i
+1] + ".libs/" + out_o
[i
+1:]
16 out_o
= ".libs/" + out_o
26 # pic_object='.libs/libschroedinger_0.1_la-schro.o'
29 args
.extend(["-Xcompiler","-fPIC"]) # position indep code
33 rv
= os
.system(" ".join(args
))
35 #print "******** RV is ", rv
39 f
.write("# libschroedinger_0.1_la-schro.lo - a libtool object file\n")
40 f
.write("# Generated by ltmain.sh - GNU libtool 1.5.22 Debian 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06)\n")
42 f
.write("pic_object='" + out_l
+ "'")