Changeset 2739 for trunk/yat/Makefile.am


Ignore:
Timestamp:
Jun 8, 2012, 12:22:47 AM (9 years ago)
Author:
Peter
Message:

refs #703 using a non-recursive Makefile. Old Makefile.am are kept but
rather than being source for sub-Makefiles they are included into
topdir Makefile.am. This implies Make rules must be modified to work
from topdir. A temporary code snippet will remove old Makefiles and
Makefile.ins at configure time. This code will be removed in a week or
so and is mainly there for autobuilds and prepare for future
sub-Makefiles (that will have a all: rule in sub-directories.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/Makefile.am

    r2341 r2739  
    2323# along with yat. If not, see <http://www.gnu.org/licenses/>.
    2424
    25 SUBDIRS = classifier normalizer omic random regression statistics utility
     25lib_LTLIBRARIES = yat/libyat.la
    2626
    27 lib_LTLIBRARIES = libyat.la
    28 
    29 libyat_la_SOURCES =
     27yat_libyat_la_SOURCES =
    3028
    3129# Dummy C++ source to cause C++ linking.
    32 nodist_EXTRA_libyat_la_SOURCES = dummy.cc
     30nodist_EXTRA_yat_libyat_la_SOURCES = dummy.cc
    3331
    34 libyat_la_LDFLAGS = -version-info $(YAT_LT_VERSION) $(AM_LDFLAGS)
     32yat_libyat_la_LDFLAGS = -version-info $(YAT_LT_VERSION) $(AM_LDFLAGS)
    3533
    36 libyat_la_LIBADD = \
    37   classifier/libclassifier.la \
    38   normalizer/libnormalizer.la \
    39   omic/libomic.la \
    40   random/librandom.la \
    41   regression/libregression.la \
    42   statistics/libstatistics.la \
    43   utility/libutility.la \
    44   $(YAT_PRIMARY_LIBS) $(LIBM) 
     34yat_libyat_la_LIBADD = \
     35  yat/classifier/libclassifier.la \
     36  yat/normalizer/libnormalizer.la \
     37  yat/omic/libomic.la \
     38  yat/random/librandom.la \
     39  yat/regression/libregression.la \
     40  yat/statistics/libstatistics.la \
     41  yat/utility/libutility.la \
     42  $(YAT_PRIMARY_LIBS) $(LIBM)
    4543
    46 .PHONY: doxygen_mk
     44noinst_LTLIBRARIES =
     45nobase_include_HEADERS =
    4746
    48 html-local:doxygen_mk
    49 dvi-local:doxygen_mk
    50 ps-local:doxygen_mk
    51 pdf-local:doxygen_mk
    52 
    53 doxygen_mk:
    54   @for subdir in $(SUBDIRS); do \
    55     (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) doxygen.mk) \
    56   done;
     47include yat/classifier/Makefile.am
     48include yat/normalizer/Makefile.am
     49include yat/omic/Makefile.am
     50include yat/random/Makefile.am
     51include yat/regression/Makefile.am
     52include yat/statistics/Makefile.am
     53include yat/utility/Makefile.am
Note: See TracChangeset for help on using the changeset viewer.