Changeset 942 for trunk/Makefile.in


Ignore:
Timestamp:
Mar 11, 2008, 4:22:12 PM (17 years ago)
Author:
gah
Message:

Makefile fixups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r926 r942  
    11
     2bindir          = @bindir@
     3datadir         = @datarootdir@
     4exec_prefix     = @exec_prefix@
     5includedir      = @includedir@
     6libdir          = @libdir@
     7mandir          = @mandir@
    28prefix          = @prefix@
    3 exec_prefix     = @exec_prefix@
    4 bindir          = @bindir@
    5 libdir          = @libdir@
    6 includedir      = @includedir@
    7 mandir          = @mandir@
    89
    9 INSTALL                 = @INSTALL@
     10INSTALL         = @INSTALL@
    1011INSTALL_PROGRAM = ${INSTALL} -m 755
    1112INSTALL_DATA    = ${INSTALL} -m 644
     
    1314
    1415
    15 build_date := $(shell date +%Y%m%d)
    16 machine := $(shell uname -m | sed 's/\ //')
    17 os := $(shell uname -s)
    18 bn := $(shell basename $(prefix))
     16build_date      := $(shell date +%Y%m%d)
     17machine         := $(shell uname -m | sed 's/\ //')
     18os              := $(shell uname -s)
     19bn              := $(shell basename $(prefix))
    1920TarfileBasename=rappture-$(os)-$(machine)-$(build_date)
    2021
     
    2324install: install_rplib install_bindings install_gui install_examples
    2425        ${INSTALL_PROGRAM}  gui/apps/rappture      $(bindir)/rappture
    25         ${INSTALL_DATA}  gui/apps/rappture.env  $(bindir)/rappture.env
     26        ${INSTALL_DATA}     gui/apps/rappture.env  $(bindir)/rappture.env
    2627        ${INSTALL_PROGRAM}  gui/apps/driver        $(bindir)/driver
    2728        ${INSTALL_PROGRAM}  gui/apps/nanovis-test  $(bindir)/nanovis-test
     
    3839build_gui:
    3940        @if test "x@ENABLE_GUI@" == "xyes" ; then \
    40                 make -C gui; \
     41                $(MAKE) -C gui; \
    4142        fi
    4243
    4344install_gui:
    4445        @if test "x@ENABLE_GUI@" == "xyes" ; then \
    45                 make -C gui install; \
     46                $(MAKE) -C gui install; \
    4647        fi
    4748
     
    5051                mkdir include;\
    5152        fi
    52         make -C src2/core librappture2.a librappture2.so.0.0
    53         make -C src librappture;
     53        $(MAKE) -C src2/core librappture2.a librappture2.so.0.0
     54        $(MAKE) -C src librappture
    5455
    5556install_rplib:
    56         make -C src2/core install;
    57         make -C src install_rappture;
     57        $(MAKE) -C src2/core install
     58        $(MAKE) -C src install_rappture
    5859
    5960build_bindings: build_matlab build_octave build_python build_perl
     
    6869build_examples:
    6970ifneq ($(strip @F77@),)
    70         make -C examples/app-fermi/fortran
     71        $(MAKE) -C examples/app-fermi/fortran
    7172endif
    7273ifneq ($(strip @CC@),)
    73         make -C examples/app-fermi/cee
    74         make -C examples/app-fermi/wrapper/cee
    75         make -C examples/c-example
     74        $(MAKE) -C examples/app-fermi/cee
     75        $(MAKE) -C examples/app-fermi/wrapper/cee
     76        $(MAKE) -C examples/c-example
    7677endif
    7778
     
    9091        @if test "x@TCLSH@" != "x" ; then \
    9192                cd tcl; $(bindir)/tclsh install.tcl; cd -;\
    92                 make -C src/tcl install; \
     93                $(MAKE) -C src/tcl install; \
    9394        fi
    9495
     
    9697build_matlab:
    9798        @if test "x@MEX@" != "x" ; then \
    98                 make -C src/matlab; \
     99                $(MAKE) -C src/matlab; \
    99100        fi
    100101
    101102install_matlab: build_matlab
    102103        @if test "x@MEX@" != "x" ; then \
    103                 make -C src/matlab install; \
     104                $(MAKE) -C src/matlab install; \
    104105        fi
    105106
     
    107108build_octave:
    108109        @if test "x@MKOCTFILE@" != "x" ; then \
    109                 make -C src/octave; \
     110                $(MAKE) -C src/octave; \
    110111        fi
    111112
    112113install_octave: build_octave
    113114        @if test "x@MKOCTFILE@" != "x" ; then \
    114                 make -C src/octave install; \
     115                $(MAKE) -C src/octave install; \
    115116        fi
    116117
     
    136137                cd perl; \
    137138                @PERL@ Makefile.PL INSTALLSITELIB=$(libdir)/perl5 INSTALLSITEARCH=$(libdir)/perl5 INSTALLSITEMAN3DIR=$(mandir)/man3; \
    138                 make; LD_LIBRARY_PATH=$(libdir):../src make test; \
     139                $(MAKE); LD_LIBRARY_PATH=$(libdir):../src $(MAKE) test; \
    139140        fi
    140141
    141142install_perl: build_perl
    142143        @if test "x@PERL@" != "x" ; then \
    143                 make -C perl install; \
     144                $(MAKE) -C perl install; \
    144145        fi
    145146
     
    152153
    153154clean:
    154         make -C examples/app-fermi/cee clean
    155         make -C examples/app-fermi/fortran clean
    156         make -C examples/app-fermi/wrapper/cee clean
    157         make -C examples/c-example clean
    158         make -C gui clean
     155        $(MAKE) -C examples/app-fermi/cee clean
     156        $(MAKE) -C examples/app-fermi/fortran clean
     157        $(MAKE) -C examples/app-fermi/wrapper/cee clean
     158        $(MAKE) -C examples/c-example clean
     159        $(MAKE) -C gui clean
    159160        @if test -r "perl/Makefile" ; then \
    160                 make -C perl clean; \
     161                $(MAKE) -C perl clean; \
    161162        fi
    162163        rm -rf python/build
    163         make -C src clean
    164         make -C src/matlab clean
    165         make -C src/octave clean
    166         make -C src/tcl clean
    167         make -C src2/core clean
     164        $(MAKE) -C src clean
     165        $(MAKE) -C src/matlab clean
     166        $(MAKE) -C src/octave clean
     167        $(MAKE) -C src/tcl clean
     168        $(MAKE) -C src2/core clean
    168169        rm -f include/*
    169170
    170171distclean:
    171172        rm -f examples/demo.bash
    172         make -C examples/app-fermi/cee distclean
    173         make -C examples/app-fermi/fortran distclean
    174         make -C examples/app-fermi/wrapper/cee distclean
    175         make -C examples/c-example distclean
    176         make -C gui distclean
    177         make -C perl clean; rm perl/Makefile.PL
     173        $(MAKE) -C examples/app-fermi/cee distclean
     174        $(MAKE) -C examples/app-fermi/fortran distclean
     175        $(MAKE) -C examples/app-fermi/wrapper/cee distclean
     176        $(MAKE) -C examples/c-example distclean
     177        $(MAKE) -C gui distclean
     178        $(MAKE) -C perl clean; rm perl/Makefile.PL
    178179        rm -rf python/build python/setup.py
    179         make -C src distclean
    180         make -C src/matlab distclean
    181         make -C src/octave distclean
    182         make -C src/tcl distclean
    183         make -C src2/core distclean
    184         make -C test distclean
     180        $(MAKE) -C src distclean
     181        $(MAKE) -C src/matlab distclean
     182        $(MAKE) -C src/octave distclean
     183        $(MAKE) -C src/tcl distclean
     184        $(MAKE) -C src2/core distclean
     185        $(MAKE) -C test distclean
    185186        rm -f gui/apps/rappture gui/apps/simsim gui/apps/rappture.env;
    186187        rm -rf Makefile config.status config.log bin;
Note: See TracChangeset for help on using the changeset viewer.