For posix-ish systems, we previously checked that a path was relative
by simpy checking if it included a '/' character. This meant that you
could not, for example, do
```
$ cat foo.substitutions
file rel/to/bar.template {
}
$ msi -I /some/path foo.substitutions
```
where our template file is located at `/some/path/rel/to/bar.template`.
Note that relateive paths work differently on Windows, so we carve out
an exception there.
28 lines
838 B
Makefile
28 lines
838 B
Makefile
#*************************************************************************
|
|
# Copyright (c) 2011 UChicago Argonne LLC, 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 is distributed subject to a Software License Agreement found
|
|
# in file LICENSE that is included with this distribution.
|
|
#*************************************************************************
|
|
|
|
# This is a Makefile fragment, see src/ioc/Makefile.
|
|
|
|
SRC_DIRS += $(IOCDIR)/dbtemplate
|
|
|
|
PROD_HOST += msi
|
|
|
|
msi_SRCS = msi.cpp
|
|
msi_SYS_LIBS_WIN32 = shlwapi
|
|
DOCS += msi.md
|
|
|
|
INC += dbLoadTemplate.h
|
|
INC += dbtoolsIocRegister.h
|
|
|
|
dbCore_SRCS += dbLoadTemplate.c
|
|
dbCore_SRCS += dbtoolsIocRegister.c
|
|
|
|
CLEANS += dbLoadTemplate_lex.c dbLoadTemplate.c
|
|
|