| 1 | LIBSCCLASSSOURCES = \ | 
|---|
| 2 | util/class/class.cc \ | 
|---|
| 3 | util/class/scexception.cc | 
|---|
| 4 |  | 
|---|
| 5 |  | 
|---|
| 6 | LIBSCCLASSHEADERS = \ | 
|---|
| 7 | util/class/class.h \ | 
|---|
| 8 | util/class/proxy.h \ | 
|---|
| 9 | util/class/scexception.h | 
|---|
| 10 |  | 
|---|
| 11 |  | 
|---|
| 12 | lib_LTLIBRARIES += | 
|---|
| 13 | noinst_LTLIBRARIES += libSCclass.la | 
|---|
| 14 | libSCclass_la_includedir = $(includedir)/util/class | 
|---|
| 15 | libSCclass_la_CPPFLAGS = $(AM_CPPFLAGS) | 
|---|
| 16 | libSCclass_la_LDFLAGS = $(AM_LDFLAGS) | 
|---|
| 17 | libSCclass_la_LIBADD = | 
|---|
| 18 |  | 
|---|
| 19 | nobase_libSCclass_la_include_HEADERS = ${LIBSCCLASSHEADERS} | 
|---|
| 20 |  | 
|---|
| 21 | ## Define the source file list for the "libexample-@MPQC_API_VERSION@.la" | 
|---|
| 22 | ## target.  Note that @MPQC_API_VERSION@ is not interpreted by Automake and | 
|---|
| 23 | ## will therefore be treated as if it were literally part of the target name, | 
|---|
| 24 | ## and the variable name derived from that. | 
|---|
| 25 | ## The file extension .cc is recognized by Automake, and makes it produce | 
|---|
| 26 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo) | 
|---|
| 27 | ## from each source file.  Note that it is not necessary to list header files | 
|---|
| 28 | ## which are already listed elsewhere in a _HEADERS variable assignment. | 
|---|
| 29 | libSCclass_la_SOURCES = ${LIBSCCLASSSOURCES} | 
|---|
| 30 |  | 
|---|
| 31 | ## Instruct libtool to include ABI version information in the generated shared | 
|---|
| 32 | ## library file (.so).  The library ABI version is defined in configure.ac, so | 
|---|
| 33 | ## that all version information is kept in one place. | 
|---|
| 34 | #libSCclass_la_LDFLAGS += $(AM_LDFLAGS) -version-info $(MPQC_SO_VERSION) | 
|---|
| 35 |  | 
|---|
| 36 | ## The generated configuration header is installed in its own subdirectory of | 
|---|
| 37 | ## $(libdir).  The reason for this is that the configuration information put | 
|---|
| 38 | ## into this header file describes the target platform the installed library | 
|---|
| 39 | ## has been built for.  Thus the file must not be installed into a location | 
|---|
| 40 | ## intended for architecture-independent files, as defined by the Filesystem | 
|---|
| 41 | ## Hierarchy Standard (FHS). | 
|---|
| 42 | ## The nodist_ prefix instructs Automake to not generate rules for including | 
|---|
| 43 | ## the listed files in the distribution on 'make dist'.  Files that are listed | 
|---|
| 44 | ## in _HEADERS variables are normally included in the distribution, but the | 
|---|
| 45 | ## configuration header file is generated at configure time and should not be | 
|---|
| 46 | ## shipped with the source tarball. | 
|---|
| 47 | #libSCclass_libincludedir = $(libdir)/util/class/include | 
|---|
| 48 | #nodist_libSCclass_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h | 
|---|
| 49 |  | 
|---|
| 50 |  | 
|---|
| 51 | CLASSTESTS = \ | 
|---|
| 52 | classtest \ | 
|---|
| 53 | scextest_class | 
|---|
| 54 |  | 
|---|
| 55 | TESTS += $(CLASSTESTS) | 
|---|
| 56 | check_PROGRAMS += $(CLASSTESTS) | 
|---|
| 57 | noinst_PROGRAMS += $(CLASSTESTS) | 
|---|
| 58 |  | 
|---|
| 59 | CLASSLIBS = \ | 
|---|
| 60 | libSCclass.la libSCcontainer.la libSCref.la libSCmisc.la libSCstate.la libSCkeyval.la | 
|---|
| 61 |  | 
|---|
| 62 | classtest_SOURCES = \ | 
|---|
| 63 | util/class/class.cc \ | 
|---|
| 64 | util/class/class.h \ | 
|---|
| 65 | util/class/classtest.cc | 
|---|
| 66 | classtest_LDADD = $(CLASSLIBS) | 
|---|
| 67 |  | 
|---|
| 68 | scextest_class_SOURCES = \ | 
|---|
| 69 | util/class/scextest.cc | 
|---|
| 70 | scextest_class_LDADD = $(CLASSLIBS) | 
|---|
| 71 |  | 
|---|