-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: autogen version.mk, and fix versioning in Makefile
Until recently packetgraph version was hardcoded in the Makefile, and we had no way to ghet the version in C. It's now resolve by adding 4 define in "common.h" those defines are: PG_VERSION_YEAR: year of last DPDK release on which packetgraph is bases PG_VERSION_MONTH: month of DPDK release PG_VERSION_REVISION: number of revisions on the release PG_VERSION: number containing all information above As we need to got thoses informations for the linker in the makefile, we are compiling an intermediate program in the configure that ghenerate a version.mk which is then use in the makefile. So we are now generating a libpacketgraph.so.19.2.0 instead of libpacketgraph.so.17.5.0. Signed-off-by: Matthias Gatto <[email protected]>
- Loading branch information
1 parent
915ec1a
commit a98e2fb
Showing
3 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters