in ./EPICS/extensions/src th Makefile
#
# Makefile,v 1.8 2002/07/19 15:19:25 jba Exp
#
# Makefile for building subdirectories
#

TOP = ..
include $(TOP)/config/CONFIG_EXTENSIONS
include $(TOP)/config/RULES_DIRS

includes just two files: ./EPICS/extensions/config/CONFIG_EXTENSIONS (introduction of the include files given by the base installation and the extensions tree.)

and ./EPICS/extensions/config/RULES_DIRS (include the RULES_DIRS of th base installation). These two files already show that a real attempt to find the place of the definition of rpath leads to a search af at least a week;-)

A grep in ./EPICS/extensions/ gives:
grep -r -i rpath *
config/CONFIG_SITE.Host.Linux:RUNTIME_LDFLAGS := $(FULL_PATH_INSTALL_LIB:%=-Wl,-rpath,%) $(RUNTIME_LDFLAGS)

./EPICS/extensions/config/CONFIG_SITE.Host.Linux
#
# CONFIG_SITE.Host.Linux
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file

-include $(TOP)/config/CONFIG_SITE.Host.UnixCommon

# This is the absolute path to INSTALL_LOCATION_EXTENSIONS, for SHARED_LIBRARY searches.
#SHRLIB_SEARCH_DIRS += /usr/local/epics/R3.14.1/extensions

# Following 3 for SDDS
#USE_GD_LIBRARY=1
#USE_RUNCONTROL=1
#USE_LOGDAEMON=1

# Where to find utilities/libraries
#       If you do not have a certain product,
#       leave the line empty.
#

X11_LIB=/usr/X11R6/lib
X11_INC=/usr/X11R6/include/X11
MOTIF_LIB=/usr/X11R6/lib
MOTIF_INC=/usr/X11R6/include
#MOTIF_LIB=/usr/X11R6/LessTif/Motif2.1/lib
#MOTIF_INC=/usr/X11R6/LessTif/Motif2.1/include

IV_INC=/usr/local/interviews/include
IV-2_6_INC=/usr/local/interviews/include/IV-2_6
IV_BIN=/usr/local/interviews/bin/O.Linux
IV_LIB=/usr/local/interviews/lib/O.Linux

OPENWIN =
WINGZ_INC =
WINGZ_LIB =
MATHEMATICA =

# Define XRTGRAPH_EXTENSIONS = YES only if using XRT/graph 3.x
#   and you want the extensions for MEDM
#XRTGRAPH_EXTENSIONS = YES
#XRTGRAPH = /opt/local/xrtgraph

SCIPLOT = YES
QUESTWIN =

TK_LIB = /usr/lib
TK_INC = /usr/include
TCL_LIB = /usr/lib
TCL_INC = /usr/include
DP_LIB = /usr/lib
DP_INC = /usr/include
BLT_LIB = /usr/local/lib
BLT_INC = /usr/local/include

JAVA_DIR=/usr/java/j2sdk1.4.1
JAVA_INC=$(JAVA_DIR)/include
JAVA_INCLUDES = -I$(JAVA_INC) -I$(JAVA_INC)/linux

XPM_INC=/usr/X11R6/include/X11
XPM_LIB=/usr/X11R6/lib

# Needed for R3.14.2 when SHARED_LIBRARIES=YES
# Prefix Runtime ldflags with fullpath name to INSTALL_LIB.
ifdef BASE_3_14
FULL_PATH_INSTALL_LIB = $(shell perl $(TOP)/config/fullPathName.pl $(INSTALL_LIB)) \
      $(shell perl $(TOP)/config/fullPathName.pl $(EPICS_BASE_LIB))
RUNTIME_LDFLAGS := $(FULL_PATH_INSTALL_LIB:%=-Wl,-rpath,%) $(RUNTIME_LDFLAGS)
endif

Only one place was found on which the Xaw liobrary was required: grep -r -i Xaw * gives: SDDSaps/sddsplots/Makefile.OAG:PROD_LIBS_DEFAULT = mdbplt mdbcommon SDDS1 mdbmth mdblib gd png Xaw Xmu Xt Xext X11

Changes in this makefile like:


ifeq ($(OS_CLASS),Linux)
OP_SYS_LDLIBS = -L/usr/X11R6/lib -lXaw 
endif

-- MarcRStockmeier - 10 May 2006
Topic revision: r2 - 2006-05-10, MarcRStockmeier
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)