Description: Generate c files and header files in libnl

Feature or Bugfix: Feature
Binary Source: No

Signed-off-by: jiachanglin <jiachanglin@huawei.com>
This commit is contained in:
jiachanglin 2022-02-28 06:35:49 +00:00
parent 4221f5cac4
commit 2ed60ab4be
2 changed files with 3 additions and 3 deletions

View File

@ -9,13 +9,13 @@
#### Generates Header File
In this warehouse include/netlink/version. h and lib/defs.h file is generated through the following steps
In this warehouse include/netlink/version.h and lib/defs.h file is generated through the following steps
1.Run the following script to generate the tools required for the header file
```
bash install_tool.sh
```
After the autoconf tool is installed in the preceding script,the autogen.sh of the root directory is executed.The configure,defs.h.in, and defs.h.in~ files are generated. After the libtool and pkg-config tools are installed and the configure file is executed in the root directory, version.h is generated in the include/netlink directory, and defs.h is generated in the lib directory
Note:The preceding script performs following operations:Install the autoconf,libtool and pkg-config tools,execute the autogen.sh file in the libnl root directory,generate the configure,defs.h.in and defs.h.in~ files,and then execute the configure command,The version.h file is generated in the include/netlink directory and defs.h file is generated in the lib directory.
#### Contribution
[How to involve](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/contribute/参与贡献.md)

View File

@ -16,7 +16,7 @@
```
bash install_tool.sh
```
在上述脚本中安装autoconf工具后执行根目录的autogen.sh此时会生成configure、defs.h.in和defs.h.in~文件。继续安装libtool、pkg-config工具在根目录执行configure文件后会在include/netlink目录下生成version.hlib目录下生成defs.h文件
上述脚本进行了如下操作首先安装了autoconf、libtool、pkg-config工具然后执行libnl根目录autogen.sh生成configure、defs.h.in和defs.h.in~文件。最后执行configure会在include/netlink目录下生成version.hlib目录下生成defs.h文件
#### 参与贡献