import from svn
[unitool.git] / db / StoreLibtoolObject.java
blobb322ad1680210cf4b8c3f8c130f76975adf821a8
2 package org.de.metux.unitool.db;
4 import org.de.metux.util.StoreFile;
5 import org.de.metux.unitool.base.ObjectInfo;
7 public class StoreLibtoolObject
9 public static void store(ObjectInfo inf, String lo_file)
11 String text =
12 "# "+lo_file+" - a libtool object file\n"+
13 "# Generated by ltmain.sh - GNU libtool 1.5.0a\n"+
14 "#\n"+
15 "# Well, in fact it is generated by unitool's libtool emulation\n"+
16 "\n"+
17 "# Name of the PIC object\n"+
18 "pic_object='"+inf.object_pic+"'\n"+
19 "\n"+
20 "# Name of the non-PIC object\n"+
21 "non_pic_object='"+inf.object_nonpic+"'\n"+
22 "\n";
24 StoreFile.store(lo_file,text);
27 public static void store(ObjectInfo inf)
29 store(inf,inf.lo_file);