Add a C module
This commit is contained in:
parent
f5e3be481b
commit
8968ed27b2
8 changed files with 99 additions and 0 deletions
15
scripts/build.module.c/instantiate
Normal file
15
scripts/build.module.c/instantiate
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
if [ $# -ne 0 ]
|
||||
then
|
||||
print_failure "Not expecting arguments."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
do_parameter_subst
|
||||
add_config_option "CC" "${COPT_CC_DEFAULT}"
|
||||
add_config_option "CFLAGS" "${COPT_CFLAGS_DEFAULT}"
|
||||
add_config_option "BINDIR" "${COPT_BINDIR_DEFAULT}"
|
||||
add_config_option "MODULEDIR" "${COPT_LIBDIR_DEFAULT}/@TODO@/"
|
||||
true
|
||||
|
||||
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
||||
# vim: expandtab:ts=4:sw=4
|
||||
Loading…
Add table
Add a link
Reference in a new issue