Loading Configurations/README +4 −6 Original line number Diff line number Diff line Loading @@ -85,8 +85,6 @@ In each table entry, the following keys are significant: lflags => Flags that are used when linking apps. shared_ldflag => Flags that are used when linking shared or dynamic libraries. plib_lflags => Extra linking flags to appear just before the libraries on the command line. ex_libs => Extra libraries that are needed when linking. Loading Loading @@ -340,15 +338,15 @@ In each table entry, the following keys are significant: shared libraries: {ld} $(CFLAGS) {shared_ldflag} -shared -o libfoo.so \ -Wl,--whole-archive libfoo.a -Wl,--no-whole-archive \ {plib_lflags} -lcrypto {ex_libs} -lcrypto {ex_libs} shared objects: {ld} $(CFLAGS) {shared_ldflag} -shared -o libeng.so \ blah1.o blah2.o {plib_lflags} -lcrypto {ex_libs} {ld} $(CFLAGS) {lflags} {module_lflags} -o libeng.so \ blah1.o blah2.o -lcrypto {ex_libs} applications: {ld} $(CFLAGS) {lflags} -o app \ app1.o utils.o {plib_lflags} -lssl -lcrypto {ex_libs} app1.o utils.o -lssl -lcrypto {ex_libs} Historically, the target configurations came in form of a string with Loading Configurations/unix-Makefile.tmpl +3 −3 Original line number Diff line number Diff line Loading @@ -1100,7 +1100,7 @@ EOF $target: $deps \$(CC) \$(LIB_CFLAGS) $linkflags\$(LIB_LDFLAGS)$shared_soname$shared_imp \\ -o $target_full$shared_def $objs \\ \$(PLIB_LDFLAGS) $linklibs \$(LIB_EX_LIBS) $linklibs \$(LIB_EX_LIBS) EOF if (windowsdll()) { $recipe .= <<"EOF"; Loading Loading @@ -1143,7 +1143,7 @@ EOF $target: $objs $deps \$(CC) \$(DSO_CFLAGS) $linkflags\$(DSO_LDFLAGS) \\ -o $target $objs \\ \$(PLIB_LDFLAGS) $linklibs \$(DSO_EX_LIBS) $linklibs \$(DSO_EX_LIBS) EOF } sub obj2lib { Loading Loading @@ -1191,7 +1191,7 @@ $bin$exeext: $objs $deps rm -f $bin$exeext \$\${LDCMD:-$cmd} $cmdflags $linkflags\$(BIN_LDFLAGS) \\ -o $bin$exeext $objs \\ \$(PLIB_LDFLAGS) $linklibs \$(BIN_EX_LIBS) $linklibs \$(BIN_EX_LIBS) EOF } sub in2script { Loading Configure +0 −2 Original line number Diff line number Diff line Loading @@ -1101,7 +1101,6 @@ foreach (keys %user) { || $mkvalue->($ref_type, $target{$_}); delete $config{$_} unless defined $config{$_}; } $config{plib_lflags} = [ $target{plib_lflags} ]; # Allow overriding the build file name $config{build_file} = env('BUILDFILE') || $target{build_file} || "Makefile"; Loading Loading @@ -3104,7 +3103,6 @@ sub print_table_entry "ld", "lflags", "loutflag", "plib_lflags", "ex_libs", "bn_ops", "apps_aux_src", Loading Loading
Configurations/README +4 −6 Original line number Diff line number Diff line Loading @@ -85,8 +85,6 @@ In each table entry, the following keys are significant: lflags => Flags that are used when linking apps. shared_ldflag => Flags that are used when linking shared or dynamic libraries. plib_lflags => Extra linking flags to appear just before the libraries on the command line. ex_libs => Extra libraries that are needed when linking. Loading Loading @@ -340,15 +338,15 @@ In each table entry, the following keys are significant: shared libraries: {ld} $(CFLAGS) {shared_ldflag} -shared -o libfoo.so \ -Wl,--whole-archive libfoo.a -Wl,--no-whole-archive \ {plib_lflags} -lcrypto {ex_libs} -lcrypto {ex_libs} shared objects: {ld} $(CFLAGS) {shared_ldflag} -shared -o libeng.so \ blah1.o blah2.o {plib_lflags} -lcrypto {ex_libs} {ld} $(CFLAGS) {lflags} {module_lflags} -o libeng.so \ blah1.o blah2.o -lcrypto {ex_libs} applications: {ld} $(CFLAGS) {lflags} -o app \ app1.o utils.o {plib_lflags} -lssl -lcrypto {ex_libs} app1.o utils.o -lssl -lcrypto {ex_libs} Historically, the target configurations came in form of a string with Loading
Configurations/unix-Makefile.tmpl +3 −3 Original line number Diff line number Diff line Loading @@ -1100,7 +1100,7 @@ EOF $target: $deps \$(CC) \$(LIB_CFLAGS) $linkflags\$(LIB_LDFLAGS)$shared_soname$shared_imp \\ -o $target_full$shared_def $objs \\ \$(PLIB_LDFLAGS) $linklibs \$(LIB_EX_LIBS) $linklibs \$(LIB_EX_LIBS) EOF if (windowsdll()) { $recipe .= <<"EOF"; Loading Loading @@ -1143,7 +1143,7 @@ EOF $target: $objs $deps \$(CC) \$(DSO_CFLAGS) $linkflags\$(DSO_LDFLAGS) \\ -o $target $objs \\ \$(PLIB_LDFLAGS) $linklibs \$(DSO_EX_LIBS) $linklibs \$(DSO_EX_LIBS) EOF } sub obj2lib { Loading Loading @@ -1191,7 +1191,7 @@ $bin$exeext: $objs $deps rm -f $bin$exeext \$\${LDCMD:-$cmd} $cmdflags $linkflags\$(BIN_LDFLAGS) \\ -o $bin$exeext $objs \\ \$(PLIB_LDFLAGS) $linklibs \$(BIN_EX_LIBS) $linklibs \$(BIN_EX_LIBS) EOF } sub in2script { Loading
Configure +0 −2 Original line number Diff line number Diff line Loading @@ -1101,7 +1101,6 @@ foreach (keys %user) { || $mkvalue->($ref_type, $target{$_}); delete $config{$_} unless defined $config{$_}; } $config{plib_lflags} = [ $target{plib_lflags} ]; # Allow overriding the build file name $config{build_file} = env('BUILDFILE') || $target{build_file} || "Makefile"; Loading Loading @@ -3104,7 +3103,6 @@ sub print_table_entry "ld", "lflags", "loutflag", "plib_lflags", "ex_libs", "bn_ops", "apps_aux_src", Loading