Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to autotools files to enable VPATH builds #66

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

safayetahmedatge
Copy link

These changes allow the configure script to be called from an
arbitrary build directory separate from the source. The source
directory contains the source and the configure script. The Makefile,
object files, libraries, and executables are all generated in the
build directory. This is useful when using the same source directory
to build for multiple target environments (x86 vs ARM) or multiple
configurations (debug vs release).

configure.ac: statements-related to safec are modified to distinguish
between the source tree and build tree. "-I" flags should reference
the source tree (containing the headers). "-L" flags should reference
the build tree (containing the libraries). Similar changes made to
"Makefile.am" files.

Signed-off-by: Safayet N Ahmed [email protected]

These changes allow the configure script to be called from an
arbitrary build directory separate from the source. The source
directory contains the source and the configure script. The Makefile,
object files, libraries, and executables are all generated in the
build directory. This is useful when using the same source directory
to build for multiple target environments (x86 vs ARM) or multiple
configurations (debug vs release).

configure.ac: statements-related to safec are modified to distinguish
between the source tree and build tree. "-I" flags should reference
the source tree (containing the headers). "-L" flags should reference
the build tree (containing the libraries). Similar changes made to
"Makefile.am" files.

Signed-off-by: Safayet N Ahmed <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant