AUTOTOOLS by John Calcote

AUTOTOOLS by John Calcote

Author:John Calcote [John Calcote]
Language: eng
Format: epub
Tags: COMPUTERS / Software Development & Engineering / General
Published: 2010-07-21T16:00:00+00:00


Let's analyze this file, line by line. The line at ❶ is the primary specification, and it contains the usual prefix for libraries: lib. The products this prefix references will be installed in the $(libdir) directory. (We could have also used the pkglib prefix to indicate that we wanted our libraries installed into $(libdir)/jupiter.) Here, we're using the LTLIBRARIES primary, rather than the original LIBRARIES primary. The use of LTLIBRARIES tells Automake to generate rules that use the libtool script, rather than calling the compiler (and possibly the librarian) directly to generate the products.

The line at ❷ lists the sources that are to be used for the first (and only) product.

The line at ❸ indicates a set of C-preprocessor flags that are to be used on the compiler command line for locating the associated shared-library header files. These options indicate that the preprocessor should search the top-level include and common directories for header files referenced in the source code.

The last line (at ❹) indicates a set of linker options for this product. In this case, we're specifying that the libjupcommon.a static library should be linked into (i.e., become part of) the libjupiter.so shared library.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.