X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=Configurations%2FREADME;h=c031884896065fe25bdccfa2f9b53ee1b5fb534b;hb=93e3d3f3ff5013a900e1719bfc03794deb8db099;hp=4945c1ce3b3f5e3e3afc2a32ca0c39b9f5dc02de;hpb=88297284ad14a233430cb5140d368edf17dacf7a;p=openssl.git diff --git a/Configurations/README b/Configurations/README index 4945c1ce3b..c031884896 100644 --- a/Configurations/README +++ b/Configurations/README @@ -430,7 +430,7 @@ example, the above would have "something" used, since 1 is true. Together with the use of Text::Template, this can be used as conditions based on something in the passed variables, for example: - IF[{- $config{no_shared} -}] + IF[{- $disabled{shared} -}] LIBS=libcrypto SOURCE[libcrypto]=... ELSE @@ -488,7 +488,8 @@ They are all expected to return a string with the lines they produce. src2obj(obj => "PATH/TO/objectfile", srcs => [ "PATH/TO/sourcefile", ... ], deps => [ "dep1", ... ], - incs => [ "INCL/PATH", ... ]); + incs => [ "INCL/PATH", ... ] + intent => one of "lib", "dso", "bin" ); 'obj' has the intended object file *without* extension, src2obj() is expected to add that. @@ -496,7 +497,9 @@ They are all expected to return a string with the lines they produce. object file, with the first item being the source file that directly corresponds to the object file. 'deps' is a list of explicit dependencies. 'incs' - is a list of include file directories. + is a list of include file directories. Finally, + 'intent' indicates what this object file is going + to be used for. obj2lib - function that produces build file lines to build a static library file ("libfoo.a" in Unix terms) from @@ -542,16 +545,15 @@ They are all expected to return a string with the lines they produce. corresponding static library as input to make the shared library, or the list of object files. - obj2dynlib - function that produces build file lines to build a - dynamically loadable library file ("libfoo.so" on - Unix) from object files. + obj2dso - function that produces build file lines to build a + dynamic shared object file from object files. called like this: - obj2dynlib(lib => "PATH/TO/libfile", - objs => [ "PATH/TO/objectfile", ... ], - deps => [ "PATH/TO/otherlibfile", - ... ]); + obj2dso(lib => "PATH/TO/libfile", + objs => [ "PATH/TO/objectfile", ... ], + deps => [ "PATH/TO/otherlibfile", + ... ]); This is almost the same as libobj2shlib, but the intent is to build a shareable library that can be