Changeset 718 for trunk/Makefile.in


Ignore:
Timestamp:
May 9, 2007 1:48:39 PM (14 years ago)
Author:
dkearney
Message:

after the core rappture library (librappture.so) is created the include
files necessary to compile all other bindings are copied to the top level
include directory. python, perl, matlab, octave and tcl bindings now refer
to this top level include directory to find header files.

fortran and c examples are only compiled if we find a compiler, this check
helps prevent builds from failing before the libraries are installed.

added more checks to the configure script

removed rappture search paths from perl's unix build because perl could find
an older version of rappture and compile against it. I would rather the build
fail and have the person enter a valid prefix.

addrd the -fPIC flag to CFLAGS in src2's makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r710 r718  
    4343
    4444rplib:
     45        @if ! test -d "include"; then \
     46                mkdir include;\
     47        fi
    4548        make -C src2/core librappture2.a librappture2.so.0.0
    4649        make -C src librappture;
    4750
    4851install_rplib:
    49         set -x;
    5052        make -C src2/core install;
    5153        make -C src install_rappture;
     
    6163#############################################################################
    6264build_examples:
     65ifneq ($(strip @F77@),)
    6366        make -C examples/app-fermi/fortran
     67endif
     68ifneq ($(strip @CC@),)
    6469        make -C examples/app-fermi/cee
    6570        make -C examples/app-fermi/wrapper/cee
    6671        make -C examples/c-example
     72endif
    6773
    6874install_examples: build_examples
     
    116122install_python: build_python
    117123        @if test "x@PYTHON@" != "x" ; then \
    118                 set -x; \
    119124                cd python; \
    120125                @PYTHON@ setup.py install --prefix=$(prefix); \
     
    123128build_perl:
    124129        @if test "x@PERL@" != "x" ; then \
    125                 set -x; \
    126130                cd perl; \
    127131                @PERL@ Makefile.PL INSTALLSITELIB=$(libdir)/perl5 INSTALLSITEARCH=$(libdir)/perl5 INSTALLSITEMAN3DIR=$(mandir)/man3; \
     
    131135install_perl: build_perl
    132136        @if test "x@PERL@" != "x" ; then \
    133                 make -C perl install; \
     137                cd perl; \
     138                make install; \
    134139        fi
    135140
    136141build_pkgs:
    137         set -x;
    138142        @if ! test -d "bin"; then \
    139143                mkdir bin;\
     
    148152        make -C examples/c-example clean
    149153        make -C gui clean
    150         make -C perl clean
     154        @if test -r "perl/Makefile" ; then \
     155                make -C perl clean; \
     156        fi
    151157        rm -rf python/build
    152158        make -C src clean
    153159        make -C src/matlab clean
    154160        make -C src/octave clean
    155         make -C src/tcl distclean
     161        make -C src/tcl clean
    156162        make -C src2/core clean
     163        rm -rf include
    157164
    158165distclean:
Note: See TracChangeset for help on using the changeset viewer.