tarball,crossplatform.mk: improve cross-platform shell command functions. let errors...
[sdk] / compiler / libec / ec.epj
index 92bfb58..0ab046b 100644 (file)
@@ -1,12 +1,11 @@
 {
    "Version" : 0.2,
    "ModuleName" : "ec",
+   "ModuleVersion" : "0.44",
    "Options" : {
       "Warnings" : "All",
       "TargetType" : "SharedLibrary",
       "TargetFileName" : "ec",
-      "TargetDirectory" : "obj/$(CONFIG).$(PLATFORM)",
-      "ObjectsDirectory" : "obj/$(CONFIG).$(PLATFORM)",
       "Libraries" : [
          "ecere"
       ]
@@ -19,7 +18,8 @@
             "Optimization" : "None",
             "PreprocessorDefinitions" : [
                "_DEBUG"
-            ]
+            ],
+            "FastMath" : false
          }
       },
       {
             "Optimization" : "None",
             "PreprocessorDefinitions" : [
                "_DEBUG"
-            ]
+            ],
+            "FastMath" : false
          }
       },
       {
          "Name" : "Release",
          "Options" : {
-            "Warnings" : "None",
+            "Warnings" : "All",
             "Debug" : false,
             "NoLineNumbers" : true,
             "Optimization" : "Speed",
                "../../obj/$(PLATFORM)/bin",
                "../../obj/$(PLATFORM)/lib"
             ],
+            "FastMath" : true,
             "PostbuildCommands" : [
-               "$(call cpq,$(TARGET),../../$(SODESTDIR))"
+               "$(call cp,$(TARGET),../../$(SODESTDIR))"
+            ],
+            "InstallCommands" : [
+               "$(call cp,$(TARGET),\"$(DESTLIBDIR)/\")",
+               "$(if $(WINDOWS_HOST),,ln -sf $(LP)$(MODULE)$(SOV) $(DESTLIBDIR)/$(LP)$(MODULE)$(SO).0)",
+               "$(if $(WINDOWS_HOST),,ln -sf $(LP)$(MODULE)$(SOV) $(DESTLIBDIR)/$(LP)$(MODULE)$(SO))"
             ]
          }
       },
@@ -64,7 +71,8 @@
             "TargetFileName" : "ecStatic",
             "Libraries" : [
 
-            ]
+            ],
+            "FastMath" : true
          }
       },
       {
             "NoLineNumbers" : true,
             "Optimization" : "Speed",
             "PreprocessorDefinitions" : [
-               "ECERE_STATIC"
-            ],
-            "IncludeDirs" : [
-               "../bootstrap/include"
+               "ECERE_STATIC",
+               "ECERE_BOOTSTRAP"
             ],
             "TargetType" : "StaticLibrary",
             "TargetFileName" : "ecBootstrap",
             "Libraries" : [
 
-            ]
+            ],
+            "FastMath" : true
          }
       }
    ],
    ],
    "ResourcesPath" : "",
    "Resources" : [
-
+      {
+         "Folder" : "locale",
+         "Files" : [
+            "es.mo",
+            "mr.mo",
+            "zh_CN.mo"
+         ]
+      }
    ]
-}
\ No newline at end of file
+}