Changeset 77 for trunk/test


Ignore:
Timestamp:
Sep 29, 2005 10:21:05 PM (19 years ago)
Author:
dkearney
Message:
  1. initial checkin of RpLibrary? code, includes c++/c/fortran bindings
  2. minor modifications to makefiles to accommodate new code
  3. updated README in src to tell how to compile code in src and test
Location:
trunk/test
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Makefile

    r76 r77  
     1
     2# tell make where to find the libscew sources
     3SCEW_HEADERS    = /opt/rappture/include/scew
     4LIB_SCEW_INCL   = -I $(SCEW_HEADERS)
     5LIB_SCEW_FLAG   = -L/opt/rappture/lib -lscew
     6#LIB_SCEW_FLAG  = -static -L/opt/rappture/lib -lscew
     7
    18# define the top of our directory structure
    29# replace this with the full path of the directory
     
    1623                      RpVariable_test   \
    1724                      RpUnitsC_test             \
    18                       RpUnitsF_test
     25                      RpUnitsF_test             \
     26                                          RpLibrary_test        \
     27                                          RpLibraryCInterface_test
    1928
    2029# define our compiling environment
     
    6574LIB_RP_OBJECTS  = $(LIB_INC_PREFIX) -lRpObjects
    6675LIB_RAPPTURE    = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lrappture
     76LIB_RAPPTURE_T  = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lrappture_test
    6777
    6878INCL_CORE               = -I $(INCLUDES_DIR)/core
     
    100110
    101111RpUnitsC_test: $(SRC_TEST)/RpUnitsC_test.c
    102         $(CC) $(DEBUG) $(INCL_CEE) $(INCL_CORE) -o $@ $^ $(LIB_RAPPTURE)
     112        $(CC) $(DEBUG) $(INCL_CEE) $(INCL_CORE) -o $@ $^ $(LIB_RAPPTURE_T)
     113
     114RpLibrary_test: $(SRC_TEST)/RpLibrary_test.cc
     115        $(CXX) $(DEBUG) $(INCL_CEE) $(INCL_CORE) $(LIB_SCEW_INCL) -o $@ $^ $(LIB_RAPPTURE_T)
     116
     117RpLibraryCInterface_test: $(SRC_TEST)/RpLibraryCInterface_test.c
     118        $(CC) $(DEBUG) $(INCL_CEE) $(INCL_CORE) $(LIB_SCEW_INCL) -o $@ $^ $(LIB_RAPPTURE_T)
    103119
    104120RpUnitsF_test: $(SRC_TEST)/RpUnitsF_test.f
    105         $(F77) $(DEBUG) -o $@ $^ $(LIB_RAPPTURE)
     121        $(F77) $(DEBUG) -o $@ $^ $(LIB_RAPPTURE_T)
    106122
    107123
Note: See TracChangeset for help on using the changeset viewer.