Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alberta3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ians-nmh-siebert
alberta
alberta3
Commits
af4db564
Commit
af4db564
authored
21 years ago
by
Claus-Justus Heine
Browse files
Options
Downloads
Patches
Plain Diff
New rule to generate Makefile.am's for all ALBERTA
libraries. (maintainer-mode only)
parent
63b2464b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile.am
+40
-0
40 additions, 0 deletions
Makefile.am
with
40 additions
and
0 deletions
Makefile.am
+
40
−
0
View file @
af4db564
...
@@ -62,6 +62,46 @@ dist-hook:
...
@@ -62,6 +62,46 @@ dist-hook:
find
$(
distdir
)
/DEMO
\(
-name
ellipt
-o
-name
heat
-o
-name
nonlin
\)
-exec
/bin/rm
-f
{}
\;
find
$(
distdir
)
/DEMO
\(
-name
ellipt
-o
-name
heat
-o
-name
nonlin
\)
-exec
/bin/rm
-f
{}
\;
find
$(
distdir
)
/DEMO
-name
Makefile
-exec
/bin/rm
-f
{}
\;
find
$(
distdir
)
/DEMO
-name
Makefile
-exec
/bin/rm
-f
{}
\;
#
# Generate all ALBERTA Makefile.am's form a template. I was just fed
# up with changing 24 different files which looked essentially the
# same.
#
generate-alberta-automakefiles
:
for
DEBUG
in
0 1
;
do
\
for
EL_INDEX
in
0 1
;
do
\
for
DIM
in
1 2 3
;
do
\
DIM_OF_WORLD
=
$${
DIM
};
while
test
$${
DIM_OF_WORLD
}
-le
3
;
do
\
if
test
$$
EL_INDEX
-eq
0
;
then
\
LIBCODE
=
$${
DIM
}$${
DIM_OF_WORLD
}
_
$${
DEBUG
}
;
\
else
\
LIBCODE
=
$${
DIM
}$${
DIM_OF_WORLD
}
_
$${
DEBUG
}
1
;
\
fi
;
\
if
test
$$
DEBUG
-eq
0
;
then
\
EFLAGS
=
OPTIMISE
;
\
else
\
EFLAGS
=
DEBUG
;
\
fi
;
\
sed
-e
"s/%DIM%/
$$
DIM/g"
Makefile.am.template
-e
"s/%DIM_OF_WORLD%/
$$
DIM_OF_WORLD/g"
-e
"s/%DEBUG%/
$$
DEBUG/g"
-e
"s/%EL_INDEX%/
$$
EL_INDEX/g"
-e
"s/%LIBCODE%/
$$
LIBCODE/g"
-e
"s/%EFLAGS%/
$$
EFLAGS/g"
>
ALBERTA/src/ALBERTA
$$
LIBCODE/Makefile.am
;
\
DIM_OF_WORLD
=
$$(
(
$$
DIM_OF_WORLD + 1
)
)
;
\
done
;
\
done
;
\
done
;
\
done
#
# NOTE: you better have GRAPE installed properly before doing this.
#
# This target does not depend on any specific compilers, but we have
# to enable all optional ALBERTA flavours, and we need GRAPE,
# otherwise the grape-interface will not be included into the
# distribution.
#
generate-alberta-dist
:
generate-alberta-automakefiles
autoreconf
./configure
--enable-alberta-12
--enable-alberta-13
--enable-alberta-23
--enable-el-index
--enable-maintainer-mode
make dist
endif
endif
SUFFIXES
=
.gz .tar .tar.gz
SUFFIXES
=
.gz .tar .tar.gz
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment