Changeset 39
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Makefile
r33 r39 12 12 librappture \ 13 13 libRapptureIO \ 14 libRpUnits \ 15 libRpVariable \ 16 libRpNumber \ 17 libRpString \ 18 libRpBoolean \ 19 libRpChoice \ 20 libRpOption 21 14 22 15 23 # define our compiling environment … … 43 51 # 44 52 45 CFLAGS = -DCOMPNAME_ADD 1UNDERSCORE53 CFLAGS = -DCOMPNAME_ADD2UNDERSCORE 46 54 47 #F77 = g7755 F77 = g77 48 56 #F77 = f77 49 57 #F77 = ifort 50 F77 = /opt/mpich-1.2.6/p4-intel/bin/mpif9058 #F77 = /opt/mpich-1.2.6/p4-intel/bin/mpif90 51 59 52 60 LN = ln … … 67 75 #LIB_RPUNITS = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lRpUnits 68 76 #LIB_RPDICT = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lRpDict 77 78 LIB_INC_PREFIX = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) 79 80 #LIB_RPUNITS_C = $(LIB_INC_PREFIX) -lRpUnits_CInterface 81 #LIB_RAPPTUREIO = $(LIB_INC_PREFIX) -lrappture 82 83 LIB_RP_UNITS = $(LIB_INC_PREFIX) -lRpUnits 84 LIB_RP_VARIABLE = $(LIB_INC_PREFIX) -lRpVariable 85 LIB_RP_NUMBER = $(LIB_INC_PREFIX) -lRpNumber 86 LIB_RP_STRING = $(LIB_INC_PREFIX) -lRpString 87 LIB_RP_BOOLEAN = $(LIB_INC_PREFIX) -lRpBoolean 88 LIB_RP_OPTION = $(LIB_INC_PREFIX) -lRpOption 89 LIB_RP_CHOICE = $(LIB_INC_PREFIX) -lRpChoice 90 LIB_RP_PRESET = $(LIB_INC_PREFIX) -lRpPreset 91 69 92 70 93 LIB_RPUNITS_C = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lRpUnits_CInterface … … 108 131 include $(FORT_SRC)/make.inc 109 132 110 111 133 #### CLEAN UP ############################################################ 112 134 clean: -
trunk/src/core/make.inc
r37 r39 1 $(WORK_DIR)/Rp Units.o: $(SRC_DIR)/RpUnits.cc1 $(WORK_DIR)/Rp%.o: $(CORE_SRC)/Rp%.cc 2 2 $(CPP) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $? 3 4 $(WORK_DIR)/RpUnitsStd.o: $(SRC_DIR)/RpUnitsStd.cc5 $(CPP) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?6 7 $(WORK_DIR)/RpDict.o: $(SRC_DIR)/RpDict.cc8 $(CPP) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?9 10 $(WORK_DIR)/RpVariable.o: $(SRC_DIR)/RpVariable.cc11 $(CPP) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?12 13 $(WORK_DIR)/RpNumber.o: $(SRC_DIR)/RpNumber.cc14 $(CPP) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?15 16 $(WORK_DIR)/RpString.o: $(SRC_DIR)/RpString.cc17 $(CPP) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?18 19 $(WORK_DIR)/RpChoice.o: $(SRC_DIR)/RpChoice.cc20 $(CPP) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?21 22 $(WORK_DIR)/RpBoolean.o: $(SRC_DIR)/RpBoolean.cc23 $(CPP) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?24 25 $(WORK_DIR)/RpOption.o: $(SRC_DIR)/RpOption.cc26 $(CPP) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?27 28 $(WORK_DIR)/RpAbout.o: $(SRC_DIR)/RpAbout.cc29 $(CPP) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $? -
trunk/src/make.inc
r33 r39 24 24 25 25 /sbin/ldconfig -n $(LIB_DIR) 26 27 28 #### libRpUnits ########################################################### 29 libRpUnits: $(WORK_DIR)/RpUnits.o $(WORK_DIR)/RpUnitsStd.o 30 $(CPP) $(DEGUG) -shared -Wl,-rpath,../lib \ 31 -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $^ -lc 32 33 /sbin/ldconfig -n $(LIB_DIR) 34 35 #### libRpVariable ######################################################## 36 libRpVariable: $(WORK_DIR)/RpVariable.o $(WORK_DIR)/RpAbout.o 37 $(CPP) $(DEGUG) -shared -Wl,-rpath,../lib \ 38 -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $^ -lc 39 40 /sbin/ldconfig -n $(LIB_DIR) 41 42 #### libRpNumber ########################################################## 43 libRpNumber: $(WORK_DIR)/RpNumber.o libRpUnits libRpVariable 44 $(CPP) $(DEGUG) -shared -Wl,-rpath,../lib \ 45 -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $< -lc $(LIB_RP_UNITS) $(LIB_RP_VARIABLE) 46 47 /sbin/ldconfig -n $(LIB_DIR) 48 49 #### libRpString ########################################################## 50 libRpString: $(WORK_DIR)/RpString.o libRpVariable 51 $(CPP) $(DEGUG) -shared -Wl,-rpath,../lib \ 52 -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $< -lc $(LIB_RP_VARIABLE) 53 54 /sbin/ldconfig -n $(LIB_DIR) 55 56 #### libRpBoolean ########################################################## 57 libRpBoolean: $(WORK_DIR)/RpBoolean.o libRpVariable 58 $(CPP) $(DEGUG) -shared -Wl,-rpath,../lib \ 59 -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $< -lc $(LIB_RP_VARIABLE) 60 61 /sbin/ldconfig -n $(LIB_DIR) 62 63 #### libRpChoice ########################################################## 64 libRpChoice: $(WORK_DIR)/RpChoice.o libRpVariable libRpOption 65 $(CPP) $(DEGUG) -shared -Wl,-rpath,../lib \ 66 -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $< -lc $(LIB_RP_VARIABLE) $(LIB_RP_OPTION) 67 68 /sbin/ldconfig -n $(LIB_DIR) 69 70 #### libRpOption ########################################################## 71 libRpOption: $(WORK_DIR)/RpOption.o $(WORK_DIR)/RpAbout.o 72 $(CPP) $(DEGUG) -shared -Wl,-rpath,../lib \ 73 -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $< -lc $(LIB_RP_ABOUT) 74 75 /sbin/ldconfig -n $(LIB_DIR) 76
Note: See TracChangeset
for help on using the changeset viewer.