diff --git a/src/softIoc/Makefile b/src/softIoc/Makefile index 49d027393..426e2f3e4 100644 --- a/src/softIoc/Makefile +++ b/src/softIoc/Makefile @@ -18,7 +18,8 @@ PROD_IOC_vxWorks = -nil- DBD += softIoc.dbd softIoc_DBD += base.dbd -USR_CXXFLAGS += -DEPICS_BASE=$(shell $(PERL) ../absPath.pl $(INSTALL_LOCATION)) +ABS_INSTALL_DIR = $(shell $(PERL) $(TOOLS)/fullPathName.pl $(INSTALL_LOCATION)) +USR_CXXFLAGS += -DEPICS_BASE=$(ABS_INSTALL_DIR) softIoc_SRCS += softIoc_registerRecordDeviceDriver.cpp softIoc_SRCS += softMain.cpp diff --git a/src/softIoc/absPath.pl b/src/softIoc/absPath.pl deleted file mode 100644 index 4170efb87..000000000 --- a/src/softIoc/absPath.pl +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/perl -#************************************************************************* -# Copyright (c) 2002 The University of Chicago, as Operator of Argonne -# National Laboratory. -# Copyright (c) 2002 The Regents of the University of California, as -# Operator of Los Alamos National Laboratory. -# EPICS BASE Versions 3.13.7 -# and higher are distributed subject to a Software License Agreement found -# in file LICENSE that is included with this distribution. -#************************************************************************* - -use Cwd; - -chdir $ARGV[0]; - -print cwd();