source: trunk/src/make.inc @ 33

Last change on this file since 33 was 33, checked in by dkearney, 18 years ago

separated make file into components to be included to create larger makefiles so i could compile stuff in rappture/examples/fermi_fortran using the make.inc's in the src dirs

File size: 1008 bytes
Line 
1#### librappture shared object ###########################################
2
3libRpUnits_CInterface: $(WORK_DIR)/RpUnitsCInterface.o $(WORK_DIR)/RpUnitsStd.o $(WORK_DIR)/RpUnits.o
4        $(CPP) $(DEGUG) -shared -Wl,-rpath,../lib \
5                -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $^ -lc
6       
7        /sbin/ldconfig -n $(LIB_DIR)
8
9libRpUnits_FInterface: $(WORK_DIR)/RpUnitsStd.o $(WORK_DIR)/RpUnits.o $(WORK_DIR)/RpUnits_fortran.o
10        $(CPP) $(DEBUG) -shared -Wl,-rpath,../lib \
11        -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $^ -lstdc++
12       
13        /sbin/ldconfig -n $(LIB_DIR)
14
15librappture: $(WORK_DIR)/rappture_fortran.o $(WORK_DIR)/rappture_interface.o
16        $(CC) $(DEGUG) -shared -Wl,-rpath,../lib \
17                -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $^ $(EMB_PY_FLAGS) -lstdc++
18               
19        /sbin/ldconfig -n $(LIB_DIR)
20   
21libRapptureIO: $(WORK_DIR)/rappture_fortran.o $(WORK_DIR)/rappture_interface.o
22        $(CC) $(DEGUG) -shared -Wl,-rpath,../lib \
23                -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $^ $(EMB_PY_FLAGS) -lstdc++
24               
25        /sbin/ldconfig -n $(LIB_DIR)
Note: See TracBrowser for help on using the repository browser.