Initialized build and dependency management with Automake

Setup the initial build system and dependency management using Automake. This includes checks for a C++ compiler, LimeSuite library, and associated header files. Additionally, configured automatic dependency tracking to facilitate smoother development. This system is necessary for ensuring consistent builds across different environments and simplifying the addition of new components and dependencies as development progresses.
This commit is contained in:
Kumi 2024-02-05 10:22:00 +01:00
parent 6ddad31c7f
commit d404b95187
Signed by: kumi
GPG key ID: ECBCC9082395383F
11 changed files with 6629 additions and 0 deletions

54
.gitignore vendored Normal file
View file

@ -0,0 +1,54 @@
# Compiled object files
*.o
*.obj
*.lo
# Linked and compiled binary files (executables)
pulseN_USB
*.so
*.a
*.out
*.exe
# Autoconf and Automake generated files
config.h
config.h.in
config.status
autom4te.cache/
Makefile.in
Makefile
*.m4
*.autosave
# Dependency files generated by gcc
*.d
.deps/
.dirstamp
# Archive files
*.tar
*.tar.*
*.tgz
*.zip
# Backup files
*~
.*.swp
*.bak
*.orig
# OS generated files
.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
# Editors' temporary files
.vscode/
*.sublime*
.idea/
*.swp
*.*~
# Log files
*.log

1
COPYING Symbolic link
View file

@ -0,0 +1 @@
/usr/share/automake-1.16/COPYING

1
INSTALL Symbolic link
View file

@ -0,0 +1 @@
/usr/share/automake-1.16/INSTALL

6
Makefile.am Normal file
View file

@ -0,0 +1,6 @@
CXX = h5c++
AM_LDFLAGS = $(shell pkg-config --libs LimeSuite)
bin_PROGRAMS = limedriver
limedriver_SOURCES = src/limedriver.cpp

1
compile Symbolic link
View file

@ -0,0 +1 @@
/usr/share/automake-1.16/compile

6544
configure vendored Executable file

File diff suppressed because it is too large Load diff

19
configure.ac Normal file
View file

@ -0,0 +1,19 @@
AC_PREREQ([2.69])
AC_INIT([limedriver], [1.0], [])
AC_CONFIG_SRCDIR([src/limedriver.cpp])
AM_INIT_AUTOMAKE([1.16 foreign subdir-objects])
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
# Checks for libraries.
PKG_CHECK_MODULES([LIMESUITE], [LimeSuite])
AC_CHECK_TOOL([H5CXX], [h5c++])
# Checks for header files.
# Checks for library functions.
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

1
depcomp Symbolic link
View file

@ -0,0 +1 @@
/usr/share/automake-1.16/depcomp

1
install-sh Symbolic link
View file

@ -0,0 +1 @@
/usr/share/automake-1.16/install-sh

BIN
limedriver Executable file

Binary file not shown.

1
missing Symbolic link
View file

@ -0,0 +1 @@
/usr/share/automake-1.16/missing