| 1 | LIBSCLIBPSIOSOURCES = \
|
|---|
| 2 | init.cc done.cc open.cc close.cc open_check.cc error.cc \
|
|---|
| 3 | rw.cc read.cc write.cc \
|
|---|
| 4 | tocwrite.cc tocread.cc tocscan.cc toclast.cc tocdel.cc tocclean.cc tocprint.cc \
|
|---|
| 5 | get_filename.cc get_numvols.cc get_volpath.cc volseek.cc get_address.cc get_global_address.cc \
|
|---|
| 6 | write_entry.cc read_entry.cc write_block.cc read_block.cc
|
|---|
| 7 | # close.cc done.cc error.cc get_address.cc get_filename.cc get_global_address.cc get_numvols.cc get_volpath.cc init.cc open.cc open_check.cc psiotest.cc read_block.cc read.cc read_entry.cc rw.cc tocclean.cc tocdel.cc toclast.cc tocprint.cc tocread.cc tocscan.cc tocwrite.cc volseek.cc write_block.cc write.cc write_entry.cc
|
|---|
| 8 |
|
|---|
| 9 | LIBSCLIBPSIOHEADERS = \
|
|---|
| 10 | psio.h psio.gbl
|
|---|
| 11 | # psifiles.h psio.h
|
|---|
| 12 |
|
|---|
| 13 | lib_LTLIBRARIES +=
|
|---|
| 14 | noinst_LTLIBRARIES += libSCpsio.la
|
|---|
| 15 | libSCpsio_la_includedir = $(includedir)/util/psi3/libpsio
|
|---|
| 16 | libSCpsio_la_CPPFLAGS = $(AM_CPPFLAGS)
|
|---|
| 17 | libSCpsio_la_LDFLAGS = $(AM_LDFLAGS)
|
|---|
| 18 | libSCpsio_la_LIBADD =
|
|---|
| 19 |
|
|---|
| 20 | nobase_libSCpsio_la_include_HEADERS = ${LIBSCLIBPSIOHEADERS}
|
|---|
| 21 |
|
|---|
| 22 | ## Define the source file list for the "libexample-@MPQC_API_VERSION@.la"
|
|---|
| 23 | ## target. Note that @MPQC_API_VERSION@ is not interpreted by Automake and
|
|---|
| 24 | ## will therefore be treated as if it were literally part of the target name,
|
|---|
| 25 | ## and the variable name derived from that.
|
|---|
| 26 | ## The file extension .cc is recognized by Automake, and makes it produce
|
|---|
| 27 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
|---|
| 28 | ## from each source file. Note that it is not necessary to list header files
|
|---|
| 29 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
|---|
| 30 | libSCpsio_la_SOURCES = ${LIBSCLIBPSIOSOURCES}
|
|---|
| 31 |
|
|---|
| 32 | ## Instruct libtool to include ABI version information in the generated shared
|
|---|
| 33 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
|---|
| 34 | ## that all version information is kept in one place.
|
|---|
| 35 | #libSCpsio_la_LDFLAGS += $(AM_LDFLAGS) -version-info $(MPQC_SO_VERSION)
|
|---|
| 36 |
|
|---|
| 37 | ## The generated configuration header is installed in its own subdirectory of
|
|---|
| 38 | ## $(libdir). The reason for this is that the configuration information put
|
|---|
| 39 | ## into this header file describes the target platform the installed library
|
|---|
| 40 | ## has been built for. Thus the file must not be installed into a location
|
|---|
| 41 | ## intended for architecture-independent files, as defined by the Filesystem
|
|---|
| 42 | ## Hierarchy Standard (FHS).
|
|---|
| 43 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
|---|
| 44 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
|---|
| 45 | ## in _HEADERS variables are normally included in the distribution, but the
|
|---|
| 46 | ## configuration header file is generated at configure time and should not be
|
|---|
| 47 | ## shipped with the source tarball.
|
|---|
| 48 | #libSCpsio_libincludedir = $(libdir)/util/psi3/libpsio/include
|
|---|
| 49 | #nodist_libSCpsio_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
|
|---|
| 50 |
|
|---|
| 51 | PSIOTESTS = \
|
|---|
| 52 | psiotest
|
|---|
| 53 |
|
|---|
| 54 | check_PROGRAMS += $(PSIOTESTS)
|
|---|
| 55 | noinst_PROGRAMS += $(PSIOTESTS)
|
|---|
| 56 |
|
|---|
| 57 | PSIOLIBS = \
|
|---|
| 58 | libSCpsio.la libSCclass.la libSCcontainer.la libSCref.la libSCmisc.la libSCstate.la libSCkeyval.la
|
|---|
| 59 |
|
|---|
| 60 | psiotest_SOURCES = psiotest.cc
|
|---|
| 61 | psiotest_LDADD = \
|
|---|
| 62 | $(PSIOLIBS)
|
|---|
| 63 |
|
|---|
| 64 |
|
|---|