COMP: coco-cpp now installed with --prefix and without separate --exec-prefix

COMP: latest coco-cpp can find the frame files relative to the
executable path. This simplifies the make rules.
This commit is contained in:
Mark Olesen
2010-03-10 12:11:26 +01:00
parent 6b6dd51a27
commit d239cc053a
7 changed files with 6 additions and 12 deletions

View File

@ -8,7 +8,6 @@
atgtoo = \
$(WM_THIRD_PARTY_DIR)/platforms/$(WM_ARCH)$(WM_COMPILER)/coco-cpp/bin/coco-cpp \
-single \
-frames $(WM_THIRD_PARTY_DIR)/platforms/share/coco-cpp \
$$SOURCE -o $(OBJECTS_DIR) && \
$(CC) $(c++FLAGS) -c $*.cpp -o $@

View File

@ -34,7 +34,7 @@ cd ${0%/*} || exit 1 # run from this directory
bindir=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/coco-cpp/bin
frames=$WM_THIRD_PARTY_DIR/platforms/share/coco-cpp
frames=$bindir/../share/coco-cpp
[ -d "$bindir" -a -x "$bindir/coco-cpp" ] || {
echo "no coco-cpp binary found"
@ -47,8 +47,7 @@ frames=$WM_THIRD_PARTY_DIR/platforms/share/coco-cpp
}
# run coco-cpp:
$bindir/coco-cpp -frames $frames wmkdependParser.atg
$bindir/coco-cpp wmkdependParser.atg
echo
echo Done

View File

@ -2,10 +2,6 @@
Attributed Grammar for Coco/R (-*- C++ -*- version)
compile with:
coco-cpp wmkdependParser.atg
For example,
$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/coco-cpp/bin/coco-cpp \
-frames $WM_THIRD_PARTY_DIR/platforms/share/coco-cpp \
wmkdependParser.atg
\*---------------------------------------------------------------------------*/
[copy]
/*---------------------------------*- C++ -*---------------------------------*\

View File

@ -32,7 +32,7 @@ SourceFiles
generated
\*---------------------------------------------------------------------------*/
// This file was generated with Coco/R C++ (7 Feb 2010)
// This file was generated with Coco/R C++ (10 Mar 2010)
// http://www.ssw.uni-linz.ac.at/coco/
// with these defines:
// - FORCE_UTF8

View File

@ -32,7 +32,7 @@ SourceFiles
generated
\*---------------------------------------------------------------------------*/
// This file was generated with Coco/R C++ (7 Feb 2010)
// This file was generated with Coco/R C++ (10 Mar 2010)
// http://www.ssw.uni-linz.ac.at/coco/
// with these defines:
// - FORCE_UTF8

View File

@ -32,7 +32,7 @@ SourceFiles
generated
\*---------------------------------------------------------------------------*/
// This file was generated with Coco/R C++ (7 Feb 2010)
// This file was generated with Coco/R C++ (10 Mar 2010)
// http://www.ssw.uni-linz.ac.at/coco/
// with these defines:
// - FORCE_UTF8

View File

@ -32,7 +32,7 @@ SourceFiles
generated
\*---------------------------------------------------------------------------*/
// This file was generated with Coco/R C++ (7 Feb 2010)
// This file was generated with Coco/R C++ (10 Mar 2010)
// http://www.ssw.uni-linz.ac.at/coco/
// with these defines:
// - FORCE_UTF8