package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
874 B
28 lines
874 B
add_rules("mode.debug", "mode.release") |
|
|
|
target("kmod") |
|
set_kind("$(kind)") |
|
set_languages("gnu99") |
|
add_headerfiles("(libkmod/libkmod.h)") |
|
add_headerfiles("(libkmod/libkmod-index.h)") |
|
add_includedirs(".") |
|
add_defines("PATH_MAX=4096") |
|
add_defines("ANOTHER_BRICK_IN_THE") |
|
add_defines("SYSCONFDIR=\"/tmp\"") |
|
add_defines("secure_getenv=getenv") |
|
add_cflags("-include config.h") |
|
add_files( |
|
"libkmod/libkmod.c", |
|
"libkmod/libkmod-builtin.c", |
|
"libkmod/libkmod-file.c", |
|
"libkmod/libkmod-module.c", |
|
"libkmod/libkmod-config.c", |
|
"libkmod/libkmod-index.c", |
|
"libkmod/libkmod-elf.c", |
|
"libkmod/libkmod-list.c", |
|
"libkmod/libkmod-signature.c", |
|
"shared/array.c", |
|
"shared/scratchbuf.c", |
|
"shared/util.c", |
|
"shared/hash.c", |
|
"shared/strbuf.c")
|
|
|