mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2024-11-23 18:19:50 +00:00
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:
parent
4221f5cac4
commit
2ed60ab4be
@ -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)
|
||||
|
@ -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.h,lib目录下生成defs.h文件
|
||||
注:上述脚本进行了如下操作,首先安装了autoconf、libtool、pkg-config工具,然后执行libnl根目录autogen.sh,生成configure、defs.h.in和defs.h.in~文件。最后执行configure,会在include/netlink目录下生成version.h,lib目录下生成defs.h文件
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user