"Fossies" - the Fresh Open Source Software Archive

Member "hydra-3.3.2/mpl/Makefile.am" (12 Nov 2019, 2114 Bytes) of package /linux/misc/hydra-3.3.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.am": 3.3.1_vs_3.3.2.

    1 # -*- Mode: Makefile; -*-
    2 #
    3 # (C) 2008 by Argonne National Laboratory.
    4 #     See COPYRIGHT in top-level directory.
    5 #
    6 
    7 ACLOCAL_AMFLAGS = -I confdb
    8 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
    9 
   10 lib@MPLLIBNAME@_la_SOURCES =
   11 lib@MPLLIBNAME@_la_LDFLAGS = ${lib@MPLLIBNAME@_so_versionflags}
   12 
   13 include src/Makefile.mk
   14 
   15 MPL_TESTS = strsep
   16 TESTS = $(MPL_TESTS)
   17 check_PROGRAMS = $(MPL_TESTS)
   18 strsep_SOURCES = test/strsep.c
   19 strsep_LDADD = lib@MPLLIBNAME@.la
   20 
   21 mpl_headers =               \
   22     include/mpl.h           \
   23     include/mpl_base.h      \
   24     include/mpl_math.h      \
   25     include/mplconfig.h     \
   26     include/utlist.h    \
   27     include/mpl_valgrind.h  \
   28     include/mpl_env.h       \
   29     include/mpl_str.h       \
   30     include/mpl_trmem.h     \
   31     include/mpl_msg.h       \
   32     include/mpl_sock.h      \
   33     include/mpl_sockaddr.h  \
   34     include/mpl_iov.h       \
   35     include/mpl_bt.h        \
   36     include/mpl_shm.h
   37 
   38 if MPL_EMBEDDED_MODE
   39 noinst_HEADERS = $(mpl_headers)
   40 noinst_LTLIBRARIES = lib@MPLLIBNAME@.la
   41 else !MPL_EMBEDDED_MODE
   42 include_HEADERS = $(mpl_headers)
   43 lib_LTLIBRARIES = lib@MPLLIBNAME@.la
   44 endif !MPL_EMBEDDED_MODE
   45 
   46 # --------------------------------------------------------------------------
   47 .PHONY: coverage
   48 gcov_sources = $(libmpl_la_SOURCES)
   49 # assumes that these sources were compiled appropriately ("-fprofile-arcs"
   50 # and "-ftest-coverage")
   51 coverage:
   52 	@for file in $(gcov_sources) ; do \
   53 	    dir=`dirname $$file` ; \
   54 	    bname=`basename $$file` ; \
   55 	    aux=`echo $$bname | sed -e 's,\.*$$,,'` ; \
   56 	    echo "( $(GCOV) -b -f -o $$file $$file && mv $${bname}.gcov $$dir )" ; \
   57 	    ( $(GCOV) -b -f -o $$file $$file && mv $${bname}.gcov $$dir ) ; \
   58 	    rm -f *.gcov ; \
   59 	done
   60 	for subdir in $(SUBDIRS) - ; do \
   61 	    if test $$subdir = "-" ; then break ; fi ; \
   62 	    ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) coverage ) ; \
   63 	done
   64 # --------------------------------------------------------------------------
   65 
   66 # files that automake doesn't know about by default that should be included in
   67 # the distribution
   68 EXTRA_DIST = VERSION
   69 
   70 DISTCLEANFILES = _configs.sed include/mplconfig.h