Changeset 86 for trunk/src/Makefile


Ignore:
Timestamp:
Oct 5, 2005 2:03:49 PM (19 years ago)
Author:
dkearney
Message:

updated for rappture-runtime compiling from source

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r85 r86  
    33RP_INSTALL_BASE = /opt/rappture
    44
    5 # tell make where to find the libscew sources
    6 EXPAT_HEADERS   = /opt/rappture/include
    7 LIB_EXPAT_INCL  = -I $(EXPAT_HEADERS)
    8 SCEW_HEADERS    = /opt/rappture/include/scew
     5# tell make where to find the expat & libscew sources
     6EXPAT_HEADERS   = $(RP_INSTALL_BASE)/include
     7LIB_EXPAT_INCL  = -I $(EXPAT_HEADERS)
     8SCEW_HEADERS    = $(RP_INSTALL_BASE)/include/scew
    99LIB_SCEW_INCL   = -I $(SCEW_HEADERS) -I $(EXPAT_HEADERS)
    10 LIB_SCEW_FLAG   = -L/opt/rappture/lib -lscew
     10LIB_SCEW_FLAG   = -L$(RP_INSTALL_BASE)/lib -lscew
    1111#LIB_SCEW_FLAG   = /opt/rappture/lib/libscew.a
    1212#LIB_SCEW_FLAG   = -static -L/opt/rappture/lib -lscew
     
    2121
    2222# define the top of the rappture directory structure
    23 RP_BASE   = $(TOP_DIR)/svn.rappture
     23RP_BASE   = $(TOP_DIR)/rappture
    2424
    2525# define which programs can be made
     
    109109# include core source files
    110110
    111 RpLibrary.o: $(CORE_SRC)/RpLibrary.cc 
     111RpLibrary.o: $(CORE_SRC)/RpLibrary.cc
    112112        $(CXX) -fPIC $(DEBUG) $(INCL_CORE) $(LIB_SCEW_INCL) -o $@ -c $?
    113113
    114 scew_extras.o: $(CORE_SRC)/scew_extras.c 
     114scew_extras.o: $(CORE_SRC)/scew_extras.c
    115115        $(CC) -fPIC $(DEBUG) $(INCL_CORE) $(LIB_SCEW_INCL) -o $@ -c $?
    116116
    117 RpVariable.o: $(CORE_SRC)/RpVariable.cc 
     117RpVariable.o: $(CORE_SRC)/RpVariable.cc
    118118        $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?
    119119
    120 RpAbout.o: $(CORE_SRC)/RpAbout.cc 
     120RpAbout.o: $(CORE_SRC)/RpAbout.cc
    121121        $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?
    122122
    123 RpNumber.o: $(CORE_SRC)/RpNumber.cc 
     123RpNumber.o: $(CORE_SRC)/RpNumber.cc
    124124        $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?
    125125
    126 RpString.o: $(CORE_SRC)/RpString.cc 
     126RpString.o: $(CORE_SRC)/RpString.cc
    127127        $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?
    128128
    129 RpBoolean.o: $(CORE_SRC)/RpBoolean.cc 
     129RpBoolean.o: $(CORE_SRC)/RpBoolean.cc
    130130        $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?
    131131
    132 RpChoice.o: $(CORE_SRC)/RpChoice.cc 
     132RpChoice.o: $(CORE_SRC)/RpChoice.cc
    133133        $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?
    134134
    135 RpOption.o: $(CORE_SRC)/RpOption.cc 
     135RpOption.o: $(CORE_SRC)/RpOption.cc
    136136        $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?
    137137
    138 RpUnitsStd.o: $(CORE_SRC)/RpUnitsStd.cc 
     138RpUnitsStd.o: $(CORE_SRC)/RpUnitsStd.cc
    139139        $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?
    140140
    141 RpUnits.o: $(CORE_SRC)/RpUnits.cc 
     141RpUnits.o: $(CORE_SRC)/RpUnits.cc
    142142        $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?
    143143
     
    153153        $(CXX) -fPIC $(DEBUG) $(INCL_CORE) $(INCL_CEE) -o $@ -c $?
    154154
    155 RpLibraryCInterface.o: $(CEE_SRC)/RpLibraryCInterface.cc 
     155RpLibraryCInterface.o: $(CEE_SRC)/RpLibraryCInterface.cc
    156156        $(CXX) -fPIC $(DEBUG) $(INCL_CORE) $(INCL_CEE) $(LIB_SCEW_INCL) -o $@ -c $?
    157157
Note: See TracChangeset for help on using the changeset viewer.