Beispiel #1
0
def build(cflags):
    files = sys_build.get_c_files("ixc_proxy/lib/clib")
    files += sys_build.get_c_files("pywind/clib")

    files += [
        "pywind/clib/netif/linux_tuntap.c",
        "pywind/clib/netutils.c",
    ]

    sys_build.do_compile(files,
                         "ixc_proxy/lib/proxy.so",
                         cflags,
                         is_shared=True)
Beispiel #2
0
def __build_fdsl_ctl(cflags):
    sys_build.do_compile(
        ["driver/fdsl_dgram/py_fdsl_ctl.c"], "freenet/lib/fdsl_ctl.so", cflags, debug=True, is_shared=True
    )
Beispiel #3
0
def __build_fn_utils(cflags):
    sys_build.do_compile(
        ["freenet/lib/fn_utils.c"], "freenet/lib/fn_utils.so", cflags, debug=True, is_shared=True
    )