Changeset 508 for trunk


Ignore:
Timestamp:
Aug 15, 2006, 1:31:45 PM (18 years ago)
Author:
dkearney
Message:

updates to Makefile.in's, this should not change the current build process as these files are not in use yet. also added python's units stuff the the top level python package.

Location:
trunk
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r504 r508  
    7171        cd examples/c-example; make clean; cd -;
    7272        cd perl; make clean; cd -;
    73         cd python; rm -rf build; cd -;
     73        cd python; rm -rf build; rm setup.py; cd -;
    7474        cd src; make clean; cd -;
    7575        cd src/matlab; make clean; cd -;
     
    8181        cd examples/c-example; make distclean; cd -;
    8282        cd perl; make clean; cd -;
    83         cd python; rm -rf build; cd -;
     83        cd python; rm -rf build; rm setup.py; cd -;
    8484        cd src; make distclean; cd -;
    8585        cd src/matlab; make distclean; cd -;
  • trunk/configure.in

    r498 r508  
    11AC_INIT(src/core/RpLibrary.cc)
     2AM_INIT_AUTOMAKE(rappture, 1.1)
    23
    34VERSION=0.0.1
     
    3738AC_ARG_WITH(matlab, [  --with-matlab[=DIR]         Build Matlab bindings if MEX compiler is found])
    3839dnl AC_CHECK_PROG(MEX, mex, mex, false)
     40MEX=
    3941if test "$with_matlab" != "no" ; then
     42    WITH_MATLAB = "yes"
    4043    if test -x "$with_matlab/bin/mex"
    4144    then
     
    5255    fi
    5356fi
    54 
     57AM_CONDITIONAL(WITH_MATLAB, test x$MEX != x)
    5558
    5659AC_ARG_WITH(octave, [  --with-octave[=DIR]         Build Octave bindings if MKOCTFILE compiler is found])
    5760dnl AC_CHECK_PROG(MKOCTFILE, mkoctfile, mkoctfile, false)
     61MKOCTFILE=
    5862if test "$with_octave" != "no" ; then
    5963    if test -x "$with_octave/bin/mkoctfile"
     
    7175    fi
    7276fi
     77AM_CONDITIONAL(WITH_OCTAVE, test x$MKOCTFILE != x)
    7378
    7479
     
    8287dnl AC_CHECK_PROG(PERL, perl, perl, false)
    8388dnl AM_CONDITIONAL(WITH_PERL, test "$PERL" != "false")
     89PERL=
     90PERL_INCLUDES=
    8491if test "$with_perl" != "no" ; then
    8592    if test -x "$with_perl/bin/perl"
     
    97104    fi
    98105fi
     106AM_CONDITIONAL(WITH_PERL, test x$PERL != x)
    99107
    100108dnl
     
    161169    fi
    162170fi
     171AM_CONDITIONAL(WITH_PYTHON, test x$PYTHON != x)
    163172dnl AM_CONDITIONAL(WITH_PYTHON, test "$PYTHON_INCLUDES" != "")
    164173dnl if test "$PYTHON_INCLUDES" != ""
     
    174183AC_SUBST(MKOCTFILE)
    175184AC_SUBST(PERL)
     185AC_SUBST(PERL_INCLUDES)
    176186AC_SUBST(PYTHON)
    177187AC_SUBST(PYTHON_VERSION)
  • trunk/src/Makefile.in

    r498 r508  
    2323DEBUG           = -g -Wall
    2424DEBUG_PLUS      = -g -DDEBUG
    25 # PY              = $(RP_INSTALL_BASE)/bin/python
    26 PY              = @PYTHON@
    2725MEX             = @MEX@
    2826OCT             = @MKOCTFILE@
     
    3129# define our directories
    3230#
    33 INCLUDES_DIR    = $(RP_BASE)/include
     31INCLUDES_DIR    = $(RP_BASE)/src
    3432BIN_DIR         = $(RP_BASE)/bin
    3533LIB_DIR         = $(RP_BASE)/src
     
    4038FORT_SRC        = $(SRC_DIR)/fortran
    4139CEE_SRC         = $(SRC_DIR)/cee
    42 PY_SRC          = $(SRC_DIR)/python
    4340MATLAB_SRC      = $(SRC_DIR)/matlab
    4441OCTAVE_SRC      = $(SRC_DIR)/octave
     
    5249INCL_CEE        = -I$(INCLUDES_DIR)/cee
    5350INCL_FORTRAN    = -I$(INCLUDES_DIR)/fortran
    54 INCL_PY         = -I$(INCLUDES_DIR)/python
    5551INCL_MATLAB     = -I$(INCLUDES_DIR)/matlab
    5652INCL_OCTAVE     = -I$(INCLUDES_DIR)/octave
     
    6157
    6258all: ${PROGS}
    63 install:        install_py                      \
    64                         install_rappture        \
     59install:        install_rappture        \
    6560                        install_rpobjs          \
    6661                        install_matlab          \
     
    120115        fi
    121116
    122 #### Python ########################################################
    123 Rappture.Units: RpUnits.o RpUnitsStd.o
    124         $(PY) $(PY_SRC)/setup.py build
    125 
    126 install_py: RpUnits.o RpUnitsStd.o
    127         $(PY) $(PY_SRC)/setup.py install --prefix=$(RP_INSTALL_BASE)
    128 
    129 
    130117#### Matlab ########################################################
    131118install_matlab: librappture
    132119        cd $(MATLAB_SRC); make install; cd -
    133120
    134 #       if test ! -d $(RP_INSTALL_BASE)/lib/matlab; then \
    135 #               mkdir $(RP_INSTALL_BASE)/lib/matlab; \
    136 #       fi
    137 #       cp $(MATLAB_SRC)/*.mex* $(RP_INSTALL_BASE)/lib/matlab
    138 
    139121#### Octave ########################################################
    140122install_octave: librappture
    141123        cd $(OCTAVE_SRC); make install; cd -
    142 
    143 #       if test ! -d $(RP_INSTALL_BASE)/lib/octave; then \
    144 #               mkdir $(RP_INSTALL_BASE)/lib/octave; \
    145 #       fi
    146 #       cp $(OCTAVE_SRC)/*.oct* $(RP_INSTALL_BASE)/lib/octave
    147124
    148125#### Tcl ###########################################################
  • trunk/src/matlab/Makefile.in

    r498 r508  
    1818# define our directories
    1919#
    20 INCLUDES_DIR    = $(RP_BASE)/include
     20INCLUDES_DIR    = $(RP_BASE)/src
    2121LIB_DIR         = $(RP_BASE)/src
    2222MATLAB_SRC      = $(RP_BASE)/matlab
  • trunk/src/octave/Makefile.in

    r498 r508  
    1818# define our directories
    1919#
    20 INCLUDES_DIR    = $(RP_BASE)/include
     20INCLUDES_DIR    = $(RP_BASE)/src
    2121LIB_DIR         = $(RP_BASE)/src
    2222OCTAVE_SRC      = $(SRC_DIR)/octave
    2323LIB_RAPPTURE    = -L$(LIB_DIR) -lrappture
    2424INCL_CORE       = -I$(INCLUDES_DIR)/core
    25 INCL_CEE        = -I$(INCLUDES_DIR)/cee
    2625INCL_OCTAVE     = -I$(INCLUDES_DIR)/octave
    2726
Note: See TracChangeset for help on using the changeset viewer.