123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- /*++
- Copyright (c) 2016 Minoca Corp. All Rights Reserved
- Module Name:
- Minoca NetLink Library
- Abstract:
- This module contains the netlink sockets library, which it built on top
- of the C library socket's interface and offers a set of APIs to make
- use of netlink sockets easier.
- Author:
- Chris Stevens 24-Mar-2016
- Environment:
- User
- --*/
- function build() {
- sources = [
- "generic.c",
- "netlink.c",
- ];
- includes = [
- "$//apps/include",
- "$//apps/include/libc"
- ];
- lib_config = {
- "LDFLAGS": ["-nostdlib"]
- };
- lib = {
- "label": "libnetlink",
- "inputs": sources,
- "entry": "NlInitialize",
- "includes": includes,
- "config": lib_config,
- "major_version": "1",
- };
- entries = shared_library(lib);
- return entries;
- }
- return build();
|