ecere/gfx/OpenGLDispalyDriver: Fixed setting initial projection matrix; Emscripten...
[sdk] / ecere / ecere.epj
index c0a7157..19e0b31 100644 (file)
@@ -105,7 +105,9 @@ from wherever you obtained them.
                "X11",
                "Xext",
                "Xrender",
-               "GL"
+               "GL",
+               "ssl",
+               "crypto"
             ],
             "LibraryDirs" : [
                "/usr/X11R6/lib"
@@ -116,13 +118,13 @@ from wherever you obtained them.
          "Name" : "Win32",
          "Options" : {
             "IncludeDirs" : [
-               "../deps/DirectX-9.0/include",
-               "../deps/jpeg-6b",
+               "../deps/jpeg-9a",
                "../deps/libpng-1.4.0",
                "../deps/libungif-4.1.1/lib",
-               "../deps/zlib",
+               "../deps/zlib-1.2.8",
                "../deps/freetype-2.3.12/include",
-               "../deps/glext"
+               "../deps/glext",
+               "$(OPENSSL_INCLUDE_DIR)"
             ],
             "Libraries" : [
                "dxguid",
@@ -139,14 +141,18 @@ from wherever you obtained them.
                "shell32",
                "winspool",
                "imm32",
-               "ungif"
+               "ungif",
+               "eay32",
+               "ssleay32"
             ],
             "LibraryDirs" : [
-               "../deps/zlib/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)",
-               "../deps/jpeg-6b/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)",
-               "../deps/libpng-1.4.0/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)",
+               "../deps/zlib-1.2.8/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)",
+               "../deps/jpeg-9a/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)",
+               "../deps/libpng-1.6.12/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)",
                "../deps/libungif-4.1.1/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)",
-               "../deps/freetype-2.3.12/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)"
+               "../deps/freetype-2.3.12/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)",
+               "$(OPENSSL_BIN_DIR)",
+               "$(OPENSSL_LIB_DIR)"
             ]
          }
       },
@@ -159,7 +165,7 @@ from wherever you obtained them.
                "$(SYSROOT)/usr/X11/include",
                "/usr/X11R6/include/freetype2",
                "/usr/X11R6/include",
-               "../deps/jpeg-6b",
+               "../deps/jpeg-9a",
                "../deps/libpng-1.4.0",
                "../deps/libungif-4.1.1/lib"
             ],
@@ -173,13 +179,14 @@ from wherever you obtained them.
                "X11",
                "Xext",
                "Xrender",
-               "GL"
+               "GL",
+               "ssl",
+               "crypto"
             ],
             "LibraryDirs" : [
                "$(SYSROOT)/usr/X11/lib",
                "/usr/X11R6/lib",
-               "../deps/jpeg-6b/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)",
-               "../deps/libpng-1.4.0/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)",
+               "../deps/jpeg-9a/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)",
                "../deps/libungif-4.1.1/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)"
             ]
          }
@@ -191,10 +198,8 @@ from wherever you obtained them.
          "Options" : {
             "Debug" : true,
             "PreprocessorDefinitions" : [
-               "_DEBUG",
-               "BUILDING_ECERE_COM"
-            ],
-            "FastMath" : false
+               "_DEBUG"
+            ]
          }
       },
       {
@@ -202,20 +207,17 @@ from wherever you obtained them.
          "Options" : {
             "Debug" : true,
             "MemoryGuard" : true,
-            "Optimization" : "None",
             "PreprocessorDefinitions" : [
                "BUILDING_ECERE_COM",
                "_DEBUG",
                "MEMINFO",
                "REDZONE=32"
-            ],
-            "FastMath" : false
+            ]
          }
       },
       {
          "Name" : "MemoryGuardRelease",
          "Options" : {
-            "Debug" : false,
             "MemoryGuard" : true,
             "Optimization" : "Speed",
             "PreprocessorDefinitions" : [
@@ -244,13 +246,9 @@ from wherever you obtained them.
       {
          "Name" : "Release",
          "Options" : {
-            "Warnings" : "None",
-            "Debug" : false,
+            "Warnings" : "All",
             "NoLineNumbers" : true,
             "Optimization" : "Speed",
-            "PreprocessorDefinitions" : [
-               "BUILDING_ECERE_COM"
-            ],
             "FastMath" : true,
             "PostbuildCommands" : [
                "$(call mkdirq,../$(SODESTDIR))",
@@ -266,7 +264,6 @@ from wherever you obtained them.
       {
          "Name" : "Static",
          "Options" : {
-            "Debug" : false,
             "Optimization" : "Size",
             "PreprocessorDefinitions" : [
                "BUILDING_ECERE_COM",
@@ -280,20 +277,17 @@ from wherever you obtained them.
                "z",
                "freetype"
             ],
-            "Compress" : true,
-            "FastMath" : false
+            "Compress" : true
          }
       },
       {
          "Name" : "Tight",
          "Options" : {
-            "Debug" : false,
             "Optimization" : "Size",
             "PreprocessorDefinitions" : [
                "BUILDING_ECERE_COM"
             ],
-            "Compress" : true,
-            "FastMath" : false
+            "Compress" : true
          }
       },
       {
@@ -301,16 +295,15 @@ from wherever you obtained them.
          "Options" : {
             "Optimization" : "Size",
             "PreprocessorDefinitions" : [
-               "BUILDING_ECERE_COM",
                "ECERE_STATIC",
                "ECERE_NOBLENDING",
                "ECERE_NO3D",
                "ECERE_NODINPUT",
-               "ECERE_NOTRUETYPE"
+               "ECERE_NOTRUETYPE",
+               "ECERE_NOSSL"
             ],
             "TargetType" : "StaticLibrary",
-            "TargetFileName" : "ecerePACS",
-            "FastMath" : false
+            "TargetFileName" : "ecerePACS"
          }
       },
       {
@@ -329,15 +322,13 @@ from wherever you obtained them.
             "TargetFileName" : "ecereBootstrap",
             "Libraries" : [
 
-            ],
-            "FastMath" : false
+            ]
          }
       },
       {
          "Name" : "Vanilla",
          "Options" : {
             "Warnings" : "None",
-            "Debug" : false,
             "NoLineNumbers" : true,
             "Optimization" : "Size",
             "PreprocessorDefinitions" : [
@@ -348,7 +339,6 @@ from wherever you obtained them.
             ],
             "TargetType" : "StaticLibrary",
             "TargetFileName" : "ecereVanilla",
-            "FastMath" : false,
             "PostbuildCommands" : [
                "$(call cpq,$(TARGET),../obj/$(PLATFORM)$(COMPILER_SUFFIX)$(DEBUG_SUFFIX)/lib/)"
             ],
@@ -362,13 +352,12 @@ from wherever you obtained them.
          "Options" : {
             "Optimization" : "Size",
             "PreprocessorDefinitions" : [
-               "BUILDING_ECERE_COM",
                "ECERE_STATIC",
-               "ECERE_NO3D"
+               "ECERE_NO3D",
+               "ECERE_NOSSL"
             ],
             "TargetType" : "StaticLibrary",
-            "TargetFileName" : "ecereWSMS",
-            "FastMath" : false
+            "TargetFileName" : "ecereWSMS"
          },
          "Platforms" : [
             {
@@ -397,20 +386,22 @@ from wherever you obtained them.
                "ECERE_NODINPUT"
             ],
             "TargetType" : "StaticLibrary",
-            "TargetFileName" : "ecereInstaller",
-            "FastMath" : false
+            "TargetFileName" : "ecereInstaller"
          }
       },
       {
          "Name" : "Android",
          "Options" : {
+            "Debug" : true,
             "Optimization" : "Speed",
             "PreprocessorDefinitions" : [
                "ECERE_NOFONTCONFIG",
-               "HIGH_DPI"
+               "HIGH_DPI",
+               "ECERE_NOSSL",
+               "_GLES"
             ],
             "IncludeDirs" : [
-               "../deps/jpeg-6b",
+               "../deps/jpeg-9a",
                "../deps/libpng-1.4.0",
                "../deps/libungif-4.1.1/lib",
                "../deps/zlib",
@@ -434,13 +425,34 @@ from wherever you obtained them.
                   ],
                   "LibraryDirs" : [
                      "../deps/libungif-4.1.1/obj/release.$(PLATFORM).$(COMPILER)",
-                     "../deps/libpng-1.4.0/obj/release.$(PLATFORM).$(COMPILER)",
-                     "../deps/jpeg-6b/obj/release.$(PLATFORM).$(COMPILER)",
+                     "../deps/libpng-1.6.12/obj/release.$(PLATFORM).$(COMPILER)",
+                     "../deps/jpeg-9a/obj/release.$(PLATFORM).$(COMPILER)",
                      "../deps/freetype-2.3.12/obj/release.$(PLATFORM).$(COMPILER)"
                   ]
                }
             }
          ]
+      },
+      {
+         "Name" : "GLES",
+         "Options" : {
+            "Debug" : true,
+            "PreprocessorDefinitions" : [
+               "_GLES"
+            ]
+         }
+      },
+      {
+         "Name" : "Emscripten",
+         "Options" : {
+            "Debug" : true,
+            "PreprocessorDefinitions" : [
+               "ECERE_STATIC",
+               "NOBLENDING"
+            ],
+            "TargetType" : "StaticLibrary",
+            "TargetFileName" : "ecereStatic"
+         }
       }
    ],
    "Files" : [
@@ -695,6 +707,12 @@ from wherever you obtained them.
                                        }
                                     }
                                  ]
+                              },
+                              {
+                                 "Name" : "Emscripten",
+                                 "Options" : {
+                                    "ExcludeFromBuild" : true
+                                 }
                               }
                            ]
                         },
@@ -717,6 +735,12 @@ from wherever you obtained them.
                                        }
                                     }
                                  ]
+                              },
+                              {
+                                 "Name" : "Emscripten",
+                                 "Options" : {
+                                    "ExcludeFromBuild" : true
+                                 }
                               }
                            ]
                         },
@@ -731,7 +755,17 @@ from wherever you obtained them.
                               }
                            ]
                         },
-                        "PNGFormat.ec",
+                        {
+                           "FileName" : "PNGFormat.ec",
+                           "Configurations" : [
+                              {
+                                 "Name" : "Emscripten",
+                                 "Options" : {
+                                    "ExcludeFromBuild" : true
+                                 }
+                              }
+                           ]
+                        },
                         {
                            "FileName" : "RGBFormat.ec",
                            "Configurations" : [
@@ -757,6 +791,12 @@ from wherever you obtained them.
                                        }
                                     }
                                  ]
+                              },
+                              {
+                                 "Name" : "Emscripten",
+                                 "Options" : {
+                                    "ExcludeFromBuild" : true
+                                 }
                               }
                            ]
                         }
@@ -1308,6 +1348,11 @@ from wherever you obtained them.
                         },
                         {
                            "FileName" : "CocoaOpenGLDisplayDriver.ec",
+                           "Options" : {
+                              "IncludeDirs" : [
+                                 "src/gui/drivers/cocoa"
+                              ]
+                           },
                            "Platforms" : [
                               {
                                  "Name" : "apple",
@@ -1494,6 +1539,12 @@ from wherever you obtained them.
                                        "Options" : {
                                           "ExcludeFromBuild" : true
                                        }
+                                    },
+                                    {
+                                       "Name" : "apple",
+                                       "Options" : {
+                                          "ExcludeFromBuild" : true
+                                       }
                                     }
                                  ]
                               },
@@ -1509,6 +1560,26 @@ from wherever you obtained them.
                                  ]
                               }
                            ]
+                        },
+                        {
+                           "FileName" : "edtaa3func.ec",
+                           "Options" : {
+                              "ExcludeFromBuild" : false
+                           },
+                           "Configurations" : [
+                              {
+                                 "Name" : "Vanilla",
+                                 "Options" : {
+                                    "ExcludeFromBuild" : true
+                                 }
+                              },
+                              {
+                                 "Name" : "Bootstrap",
+                                 "Options" : {
+                                    "ExcludeFromBuild" : true
+                                 }
+                              }
+                           ]
                         }
                      ],
                      "Options" : {
@@ -1842,6 +1913,17 @@ from wherever you obtained them.
                                  }
                               }
                            ]
+                        },
+                        {
+                           "FileName" : "EmscriptenInterface.ec",
+                           "Configurations" : [
+                              {
+                                 "Name" : "Emscripten",
+                                 "Options" : {
+                                    "ExcludeFromBuild" : false
+                                 }
+                              }
+                           ]
                         }
                      ],
                      "Options" : {
@@ -1983,7 +2065,36 @@ from wherever you obtained them.
                      ]
                   },
                   "Service.ec",
-                  "Socket.ec"
+                  "Socket.ec",
+                  {
+                     "FileName" : "SSLSocket.ec",
+                     "Configurations" : [
+                        {
+                           "Name" : "WSMS",
+                           "Options" : {
+                              "ExcludeFromBuild" : true
+                           }
+                        },
+                        {
+                           "Name" : "PACS",
+                           "Options" : {
+                              "ExcludeFromBuild" : true
+                           }
+                        },
+                        {
+                           "Name" : "Android",
+                           "Options" : {
+                              "ExcludeFromBuild" : true
+                           }
+                        },
+                        {
+                           "Name" : "Installer",
+                           "Options" : {
+                              "ExcludeFromBuild" : true
+                           }
+                        }
+                     ]
+                  }
                ],
                "Configurations" : [
                   {
@@ -2008,6 +2119,12 @@ from wherever you obtained them.
                            }
                         }
                      ]
+                  },
+                  {
+                     "Name" : "Emscripten",
+                     "Options" : {
+                        "ExcludeFromBuild" : true
+                     }
                   }
                ]
             },
@@ -2352,28 +2469,13 @@ from wherever you obtained them.
       {
          "Folder" : "locale",
          "Files" : [
-            {
-               "Folder" : "zh_CN",
-               "Files" : [
-                  {
-                     "Folder" : "LC_MESSAGES",
-                     "Files" : [
-                        "locale/zh_CN/LC_MESSAGES/ecere.mo"
-                     ]
-                  }
-               ]
-            },
-            {
-               "Folder" : "es_ES",
-               "Files" : [
-                  {
-                     "Folder" : "LC_MESSAGES",
-                     "Files" : [
-                        "locale/es_ES/LC_MESSAGES/ecere.mo"
-                     ]
-                  }
-               ]
-            }
+            "locale/es.mo",
+            "locale/hu.mo",
+            "locale/mr.mo",
+            "locale/nl.mo",
+            "locale/pt_BR.mo",
+            "locale/ru.mo",
+            "locale/zh_CN.mo"
          ],
          "Configurations" : [
             {