This commit introduces the automake build system to the project, replacing the manually written Makefile with a more flexible and portable automake configuration. This change enables better handling of different environments and simplifies the build process for contributors and users.
Changes include:
Added configure.ac with checks for essential libraries (inih,
libpq, libcurl) and header files, along with adjustments for
macOS Homebrew paths for PostgreSQL and other dependencies.
Created Makefile.am specifying the sources, flags, and targets
for the main executable and tests, ensuring proper compilation and
linkage.
Implemented autogen.sh to automate the generation of the
configure script and Makefile.in files, streamlining the
initial setup process.
Updated .gitignore to exclude auto-generated files from
automake, keeping the repository clean.
Removed the old Makefile as it is now generated by automake,
ensuring that the build process is fully managed by the new
system.
This commit introduces the automake build system to the project, replacing the manually written Makefile with a more flexible and portable automake configuration. This change enables better handling of different environments and simplifies the build process for contributors and users.
Changes include:
configure.ac
with checks for essential libraries (inih, libpq, libcurl) and header files, along with adjustments for macOS Homebrew paths for PostgreSQL and other dependencies.Makefile.am
specifying the sources, flags, and targets for the main executable and tests, ensuring proper compilation and linkage.autogen.sh
to automate the generation of theconfigure
script andMakefile.in
files, streamlining the initial setup process..gitignore
to exclude auto-generated files from automake, keeping the repository clean.Makefile
as it is now generated by automake, ensuring that the build process is fully managed by the new system.