[00f983] | 1 | LIBSCOPTIONSSOURCES = \
|
---|
[23612c] | 2 | util/options/GetLongOpt.cc
|
---|
| 3 |
|
---|
[00f983] | 4 |
|
---|
| 5 | LIBSCOPTIONSHEADERS = \
|
---|
[23612c] | 6 | util/options/GetLongOpt.h
|
---|
| 7 |
|
---|
[00f983] | 8 |
|
---|
| 9 | lib_LTLIBRARIES +=
|
---|
| 10 | noinst_LTLIBRARIES += libSCoptions.la
|
---|
| 11 | libSCoptions_la_includedir = $(includedir)/util/options
|
---|
| 12 | libSCoptions_la_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
| 13 | libSCoptions_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
| 14 | libSCoptions_la_LIBADD =
|
---|
| 15 |
|
---|
| 16 | nobase_libSCoptions_la_include_HEADERS = ${LIBSCOPTIONSHEADERS}
|
---|
| 17 |
|
---|
| 18 | ## Define the source file list for the "libexample-@MPQC_API_VERSION@.la"
|
---|
| 19 | ## target. Note that @MPQC_API_VERSION@ is not interpreted by Automake and
|
---|
| 20 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 21 | ## and the variable name derived from that.
|
---|
| 22 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 23 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 24 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 25 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
| 26 | libSCoptions_la_SOURCES = ${LIBSCOPTIONSSOURCES}
|
---|
| 27 |
|
---|
| 28 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 29 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 30 | ## that all version information is kept in one place.
|
---|
| 31 | #libSCoptions_la_LDFLAGS += $(AM_LDFLAGS) -version-info $(MPQC_SO_VERSION)
|
---|
| 32 |
|
---|
| 33 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 34 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 35 | ## into this header file describes the target platform the installed library
|
---|
| 36 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 37 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 38 | ## Hierarchy Standard (FHS).
|
---|
| 39 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 40 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 41 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 42 | ## configuration header file is generated at configure time and should not be
|
---|
| 43 | ## shipped with the source tarball.
|
---|
| 44 | #libSCoptions_libincludedir = $(libdir)/util/options/include
|
---|
| 45 | #nodist_libSCoptions_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
|
---|
| 46 |
|
---|
[23612c] | 47 |
|
---|
[00f983] | 48 | OPTIONSTESTS = \
|
---|
| 49 | sample
|
---|
| 50 |
|
---|
| 51 | check_PROGRAMS += $(OPTIONSTESTS)
|
---|
| 52 | noinst_PROGRAMS += $(OPTIONSTESTS)
|
---|
| 53 |
|
---|
| 54 | OPTIONSLIBS = \
|
---|
| 55 | libSCoptions.la
|
---|
| 56 |
|
---|
[23612c] | 57 | sample_SOURCES = \
|
---|
| 58 | util/options/README.cc
|
---|
| 59 |
|
---|
[00f983] | 60 | sample_LDADD = \
|
---|
| 61 | $(OPTIONSLIBS)
|
---|
| 62 |
|
---|
| 63 |
|
---|