- Timestamp:
- May 28, 2007 9:10:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Makefile.in
r748 r751 24 24 # define which programs can be made 25 25 PROGS = librappture \ 26 libRpObjects \ 27 Rappture.Units 26 libRpObjects 28 27 29 28 # define our compiling environment … … 33 32 DEBUG = -g -Wall 34 33 DEBUG_PLUS = -g -DDEBUG 35 MEX = @MEX@36 OCT = @MKOCTFILE@37 34 LN = ln 35 CFLAGS = -fPIC 38 36 39 37 # define our directories … … 50 48 FORT_SRC = $(SRC_DIR)/fortran 51 49 CEE_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 51 LIB_RP_OBJECTS = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lRpObjects 58 52 LIB_RAPPTURE = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lrappture 59 53 … … 65 59 INCL_OCTAVE = -I$(OCTAVE_SRC) 66 60 67 CFLAGS = -fPIC68 69 61 # default: 70 62 71 63 all: ${PROGS} 72 64 install: install_rappture \ 73 install_rpobjs \ 74 install_matlab \ 75 install_octave 76 # install_tcl 65 install_rpobjs 77 66 78 67 RP_IO_DEPS = RpLibrary.o RpLibraryCInterface.o RpLibraryFInterface.o \ 79 scew_extras.o RpEntityRef.o Rp Encode.o RpUtils.o68 scew_extras.o RpEntityRef.o RpUtils.o 80 69 RP_UNITS_DEPS = RpUnitsStd.o RpUnits.o RpUnitsCInterface.o RpUnitsFInterface.o 81 70 RP_UTILS_DEPS = RpUtils.o RpUtilsCInterface.o RpUtilsFInterface.o … … 83 72 RpBufferCInterface.o RpOutcomeCInterface.o 84 73 RP_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.o87 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 76 RP2_OBJ_DEP = $(CORE2_SRC)/Outcome.o $(CORE2_SRC)/Ptr.o $(CORE2_SRC)/RpBuffer.o $(CORE2_SRC)/RpEncode.o 88 77 89 78 … … 96 85 97 86 librappture: $(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) 99 88 $(INSTALL_DATA) $(CORE_SRC)/*.h $(INCLUDES_DIR) 100 89 $(INSTALL_DATA) $(CEE_SRC)/*.h $(INCLUDES_DIR) … … 103 92 $(INSTALL_DATA) $(CORE2_SRC)/Ptr.h $(INCLUDES_DIR) 104 93 $(INSTALL_DATA) $(CORE2_SRC)/RpBuffer.h $(INCLUDES_DIR) 94 $(INSTALL_DATA) $(CORE2_SRC)/RpEncode.h $(INCLUDES_DIR) 105 95 $(INSTALL_DATA) $(CORE2_SRC)/rappture2.h $(INCLUDES_DIR) 106 96 @if test "`uname`" == "Darwin"; then \ … … 154 144 $(CXX) $(CFLAGS) $(DEBUG) -o $@ -c $? $(INCL_CORE) $(INCL_CORE2) 155 145 156 RpEncode.o: $(CORE_SRC)/RpEncode.cc157 $(CXX) $(CFLAGS) $(DEBUG) -o $@ -c $? $(INCL_CORE) $(INCL_CORE2)158 159 146 RpUtils.o: $(CORE_SRC)/RpUtils.cc 160 147 $(CXX) $(CFLAGS) $(DEBUG) -o $@ -c $? $(INCL_CORE) … … 169 156 $(CXX) $(CFLAGS) $(DEBUG) -o $@ -c $? $(INCL_CORE) 170 157 158 159 # objects for rappture 2 developement 171 160 172 161 RpVariable.o: $(CORE_SRC)/RpVariable.cc … … 246 235 #### CLEAN UP ############################################################ 247 236 clean: 248 - rm -f *.o librappture. so* librappture.alibRp*.so*237 - rm -f *.o librappture.* libRp*.so* 249 238 - rm -rf build 250 239
Note: See TracChangeset
for help on using the changeset viewer.