Changeset 751 for trunk/src


Ignore:
Timestamp:
May 28, 2007 9:10:04 PM (17 years ago)
Author:
dkearney
Message:

moved encode code to src2/core so it can be used in librappture2 for nanovis
updated nanovis configure script
updated src and src2/core makefiles with encode code move

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.in

    r748 r751  
    2424# define which programs can be made
    2525PROGS           =   librappture    \
    26                     libRpObjects   \
    27                     Rappture.Units
     26                    libRpObjects
    2827
    2928# define our compiling environment
     
    3332DEBUG           = -g -Wall
    3433DEBUG_PLUS      = -g -DDEBUG
    35 MEX             = @MEX@
    36 OCT             = @MKOCTFILE@
    3734LN              = ln
     35CFLAGS = -fPIC
    3836
    3937# define our directories
     
    5048FORT_SRC        = $(SRC_DIR)/fortran
    5149CEE_SRC         = $(SRC_DIR)/cee
    52 MATLAB_SRC      = $(SRC_DIR)/matlab
    53 OCTAVE_SRC      = $(SRC_DIR)/octave
    54 TCL_SRC         = $(SRC_DIR)/tcl
    55 
    56 LIB_INC_PREFIX  = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR)
    57 LIB_RP_OBJECTS  = $(LIB_INC_PREFIX) -lRpObjects
     50
     51LIB_RP_OBJECTS  = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lRpObjects
    5852LIB_RAPPTURE    = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lrappture
    5953
     
    6559INCL_OCTAVE     = -I$(OCTAVE_SRC)
    6660
    67 CFLAGS = -fPIC
    68 
    6961# default:
    7062
    7163all: ${PROGS}
    7264install:        install_rappture \
    73                         install_rpobjs \
    74                         install_matlab \
    75                         install_octave
    76 #                       install_tcl
     65                        install_rpobjs
    7766
    7867RP_IO_DEPS      = RpLibrary.o RpLibraryCInterface.o RpLibraryFInterface.o \
    79                   scew_extras.o RpEntityRef.o RpEncode.o RpUtils.o
     68                  scew_extras.o RpEntityRef.o RpUtils.o
    8069RP_UNITS_DEPS   = RpUnitsStd.o RpUnits.o RpUnitsCInterface.o RpUnitsFInterface.o
    8170RP_UTILS_DEPS   = RpUtils.o RpUtilsCInterface.o RpUtilsFInterface.o
     
    8372                  RpBufferCInterface.o RpOutcomeCInterface.o
    8473RP_OBJS_DEP     = RpVariable.o RpAbout.o RpNumber.o RpString.o RpBoolean.o \
    85                   RpChoice.o RpOption.o RpUnitsStd.o RpUnits.o #RpValue.o\
    86                   # RpValueDouble.o RpValueString.o
    87 RP2_OBJ_DEP     = $(CORE2_SRC)/Outcome.o $(CORE2_SRC)/Ptr.o $(CORE2_SRC)/RpBuffer.o
     74                  RpChoice.o RpOption.o RpUnitsStd.o RpUnits.o
     75                  #RpValue.o RpValueDouble.o RpValueString.o
     76RP2_OBJ_DEP     = $(CORE2_SRC)/Outcome.o $(CORE2_SRC)/Ptr.o $(CORE2_SRC)/RpBuffer.o $(CORE2_SRC)/RpEncode.o
    8877
    8978
     
    9685
    9786librappture: $(RP_IO_DEPS) $(RP_UTILS_DEPS) $(RP_UNITS_DEPS) $(RP_OTHER_DEPS)
    98         (cd ../src2/core/; make Outcome.o Ptr.o RpBuffer.o)
     87        (cd ../src2/core/; make Outcome.o Ptr.o RpBuffer.o RpEncode.o)
    9988        $(INSTALL_DATA) $(CORE_SRC)/*.h $(INCLUDES_DIR)
    10089        $(INSTALL_DATA) $(CEE_SRC)/*.h $(INCLUDES_DIR)
     
    10392        $(INSTALL_DATA) $(CORE2_SRC)/Ptr.h $(INCLUDES_DIR)
    10493        $(INSTALL_DATA) $(CORE2_SRC)/RpBuffer.h $(INCLUDES_DIR)
     94        $(INSTALL_DATA) $(CORE2_SRC)/RpEncode.h $(INCLUDES_DIR)
    10595        $(INSTALL_DATA) $(CORE2_SRC)/rappture2.h $(INCLUDES_DIR)
    10696        @if test "`uname`" == "Darwin"; then \
     
    154144        $(CXX) $(CFLAGS) $(DEBUG) -o $@ -c $? $(INCL_CORE) $(INCL_CORE2)
    155145
    156 RpEncode.o: $(CORE_SRC)/RpEncode.cc
    157         $(CXX) $(CFLAGS) $(DEBUG) -o $@ -c $? $(INCL_CORE) $(INCL_CORE2)
    158 
    159146RpUtils.o: $(CORE_SRC)/RpUtils.cc
    160147        $(CXX) $(CFLAGS) $(DEBUG) -o $@ -c $? $(INCL_CORE)
     
    169156        $(CXX) $(CFLAGS) $(DEBUG) -o $@ -c $? $(INCL_CORE)
    170157
     158
     159# objects for rappture 2 developement
    171160
    172161RpVariable.o: $(CORE_SRC)/RpVariable.cc
     
    246235#### CLEAN UP ############################################################
    247236clean:
    248         - rm -f *.o librappture.so* librappture.a libRp*.so*
     237        - rm -f *.o librappture.* libRp*.so*
    249238        - rm -rf build
    250239
Note: See TracChangeset for help on using the changeset viewer.