-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d3c014f
Showing
13 changed files
with
3,575 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
*.o | ||
.deps/ | ||
.libs/ | ||
Makefile.in | ||
Makefile | ||
aclocal.m4 | ||
autom4te.cache/ | ||
compile | ||
config.guess | ||
config.log | ||
config.status | ||
config.sub | ||
configure | ||
depcomp | ||
install-sh | ||
libtool | ||
ltmain.sh | ||
m4/ | ||
missing | ||
libklbars.la | ||
src/*.lo | ||
doxygen/html |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
AUTOMAKE_OPTIONS = foreign | ||
SUBDIRS = src | ||
EXTRA_DIST = doxygen/libklbars.doxyconf doxygen/include | ||
|
||
docs: | ||
cd doxygen && doxygen libklbars.doxyconf | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# LICENSE | ||
|
||
LGPL-V2.1 | ||
See the included lgpl-2.1.txt for the complete license agreement. | ||
|
||
## Dependencies | ||
|
||
## Compilation | ||
./autogen.sh --build | ||
./configure --enable-shared=no | ||
make | ||
|
||
## Dependencies | ||
* none | ||
|
||
## Making Documentation: | ||
To make doxygen documentation in the doxygen folder, run the following command: | ||
|
||
make docs | ||
|
||
To view the documentation, cd into the doxygen/html/ directory and open the index.html file in a browser window. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
case "$1" in | ||
--clean) | ||
make distclean | ||
rm -rf autom4te.cache m4 | ||
rm -f aclocal.m4 config.log config.status configure | ||
rm -f depcomp install-sh Makefile Makefile.in missing | ||
rm -f config.guess config.sub libtool ltmain.sh | ||
rm -f src/Makefile.in | ||
;; | ||
--build) | ||
aclocal | ||
autoconf | ||
autoreconf -i | ||
automake --add-missing | ||
;; | ||
*) | ||
echo "$0 --clean --build" | ||
exit 1 | ||
;; | ||
esac | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# -*- Autoconf -*- | ||
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ([2.68]) | ||
AC_INIT([libklbars], [1.0], [[email protected]]) | ||
AM_INIT_AUTOMAKE | ||
AC_CONFIG_MACRO_DIR([m4]) | ||
AC_CANONICAL_HOST | ||
|
||
# Checks for programs. | ||
AC_PROG_CC | ||
AC_PROG_CC_C99 | ||
if test `uname -s` = "Darwin" | ||
then | ||
CFLAGS+=" -I/usr/local/include " | ||
LDFLAGS+="-L/usr/local/lib " | ||
fi | ||
|
||
# We always build with -fPIC in case our static libraries end up | ||
# being linked into a consumer's shared library | ||
AC_MSG_CHECKING(whether fPIC compiler option is accepted) | ||
SAVED_CFLAGS="$CFLAGS" | ||
CFLAGS="$CFLAGS -fPIC -Werror" | ||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [return 0;])], | ||
[AC_MSG_RESULT(yes) | ||
CFLAGS="$SAVED_CFLAGS -fPIC"], | ||
[AC_MSG_RESULT(no) | ||
CFLAGS="$SAVED_CFLAGS"]) | ||
|
||
AC_PROG_RANLIB | ||
AC_PROG_LIBTOOL | ||
|
||
# Checks for header files. | ||
AC_CHECK_HEADERS([stdint.h stdlib.h string.h]) | ||
|
||
# Checks for typedefs, structures, and compiler characteristics. | ||
AC_TYPE_UINT8_T | ||
|
||
# Checks for library functions. | ||
AC_CHECK_FUNCS([memset strrchr]) | ||
|
||
AC_CONFIG_FILES([Makefile src/Makefile]) | ||
AC_OUTPUT | ||
|
||
# Add debug support | ||
AC_ARG_ENABLE(debug, | ||
AS_HELP_STRING( | ||
[--enable-debug], | ||
[enable debugging, default: no]), | ||
[case "${enableval}" in | ||
yes) debug=true ;; | ||
no) debug=false ;; | ||
*) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;; | ||
esac], | ||
[debug=false]) | ||
AM_CONDITIONAL(DEBUG, test x"$debug" = x"true") | ||
AM_COND_IF(DEBUG, | ||
AC_DEFINE(DEBUG, 1, [Define to 0 if this is a release build]), | ||
AC_DEFINE(DEBUG, 0, [Define to 1 or higher if this is a debug build])) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
\mainpage LibKLVanc Documentation. | ||
|
||
TODO: Enter description of what the tool does. | ||
|
||
*/ | ||
|
Oops, something went wrong.