Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
c70b578f
Commit
c70b578f
authored
21 years ago
by
Martin Stjernholm
Browse files
Options
Downloads
Patches
Plain Diff
Some cleanup.
Rev: Makefile:1.141
parent
2e0583f5
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+40
-36
40 additions, 36 deletions
Makefile
with
40 additions
and
36 deletions
Makefile
+
40
−
36
View file @
c70b578f
#
#
# $Id: Makefile,v 1.14
0
2004/0
4
/0
4
1
2
:3
7:47 grubba
Exp $
# $Id: Makefile,v 1.14
1
2004/0
5
/0
1
1
3
:3
6:32 mast
Exp $
#
#
# Meta Makefile
# Meta Makefile
#
#
# Use this to pass arguments to configure. Leave empty to keep previous args.
CONFIGUREARGS
=
# Set this to any generic make options you'd otherwise would have to
# pass on the command line.
#MAKEFLAGS=-j2 --no-print-directory
# Set to a flag for parallelizing make, e.g. -j2. It's given to make
# at the level where it's most effective. (Don't use when the make
# program has smart job control, e.g. GNU make.)
MAKE_PARALLEL
=
VPATH
=
.
VPATH
=
.
OS
=
`
uname
-s
-r
-m
|sed
\"
s/ /-/g
\"
|tr
\"
[
A-Z]
\"
\"
[
a-z]
\"
|tr
\"
/
()
\"
\"
___
\"
`
OS
=
`
uname
-s
-r
-m
|sed
\"
s/ /-/g
\"
|tr
\"
[
A-Z]
\"
\"
[
a-z]
\"
|tr
\"
/
()
\"
\"
___
\"
`
BUILDDIR
=
build/
$(
OS
)
BUILDDIR
=
build/
$(
OS
)
...
@@ -14,21 +26,13 @@ METATARGET=
...
@@ -14,21 +26,13 @@ METATARGET=
# Priority is $(MAKE) before ${MAKE} before make.
# Priority is $(MAKE) before ${MAKE} before make.
MAKE_CMD
=
`
if
[
"x
$(
MAKE
)
"
=
"x"
]
;
then
echo
"
$${
MAKE-make
}
"
;
else
echo
"
$(
MAKE
)
"
;
fi
`
MAKE_CMD
=
`
if
[
"x
$(
MAKE
)
"
=
"x"
]
;
then
echo
"
$${
MAKE-make
}
"
;
else
echo
"
$(
MAKE
)
"
;
fi
`
# Evaluates to $(MAKE_CMD) and sets ${MAKE} and $(MAKE)
# Used internally in this file to start a submake to expand
DO_MAKE
=
MAKE
=
"
$(
MAKE_CMD
)
"
export
MAKE
&&
"
$${
MAKE
}
"
"MAKE=
$${
MAKE
}
"
# $(BUILDDIR), $(MAKE_CMD) etc.
DO_MAKE
=
MAKE
=
"
$(
MAKE_CMD
)
"
export
MAKE
&&
"
$${
MAKE
}
"
"MAKE=
$${
MAKE
}
"
"CONFIGUREARGS=
$(
CONFIGUREARGS
)
"
"BUILDDIR=
$(
BUILDDIR
)
"
# Use this to pass arguments to configure. Leave empty to keep previous args.
CONFIGUREARGS
=
# Set to a flag for parallelizing make, e.g. -j2. It's given to make
# at the level where it's most effective.
MAKE_PARALLEL
=
# Used to avoid make compatibility problems.
# Used to avoid make compatibility problems.
BIN_TRUE
=
":"
BIN_TRUE
=
":"
MAKE_FLAGS
=
"CONFIGUREARGS=
$(
CONFIGUREARGS
)
"
"BUILDDIR=
$(
BUILDDIR
)
"
all
:
bin/pike compile
all
:
bin/pike compile
-
@
$(
BIN_TRUE
)
-
@
$(
BIN_TRUE
)
...
@@ -43,7 +47,7 @@ force_autoconfig:
...
@@ -43,7 +47,7 @@ force_autoconfig:
force_configure
:
force_configure
:
-
rm
-f
"
$(
BUILDDIR
)
/Makefile"
-
rm
-f
"
$(
BUILDDIR
)
/Makefile"
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
configure
@$(
DO_MAKE
)
configure
configure_help
:
src/configure
configure_help
:
src/configure
cd
src
&&
./configure
--help
cd
src
&&
./configure
--help
...
@@ -157,7 +161,7 @@ compile: configure
...
@@ -157,7 +161,7 @@ compile: configure
# FIXME: The refdoc stuff ought to use $(BUILDDIR) too.
# FIXME: The refdoc stuff ought to use $(BUILDDIR) too.
documentation
:
documentation
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=documentation"
@$(
DO_MAKE
)
"METATARGET=documentation"
doc
:
documentation
doc
:
documentation
...
@@ -182,38 +186,38 @@ bin/pike: force
...
@@ -182,38 +186,38 @@ bin/pike: force
# This skips the modules.
# This skips the modules.
pike
:
bin/pike
pike
:
bin/pike
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=pike"
@$(
DO_MAKE
)
"METATARGET=pike"
install
:
bin/pike
install
:
bin/pike
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=install"
@$(
DO_MAKE
)
"METATARGET=install"
install_nodoc
:
bin/pike
install_nodoc
:
bin/pike
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=install_nodoc"
@$(
DO_MAKE
)
"METATARGET=install_nodoc"
install_interactive
:
bin/pike
install_interactive
:
bin/pike
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=install_interactive"
@$(
DO_MAKE
)
"METATARGET=install_interactive"
install_interactive_nodoc
:
bin/pike
install_interactive_nodoc
:
bin/pike
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=install_interactive_nodoc"
@$(
DO_MAKE
)
"METATARGET=install_interactive_nodoc"
tinstall
:
bin/pike
tinstall
:
bin/pike
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=tinstall"
@$(
DO_MAKE
)
"METATARGET=tinstall"
testsuites
:
testsuites
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=testsuites"
@$(
DO_MAKE
)
"METATARGET=testsuites"
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=testsuite"
@$(
DO_MAKE
)
"METATARGET=testsuite"
just_verify
:
just_verify
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=just_verify"
@$(
DO_MAKE
)
"METATARGET=just_verify"
valgrind_verify
:
valgrind_verify
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=valgrind_verify"
@$(
DO_MAKE
)
"METATARGET=valgrind_verify"
verify
:
verify
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=verify"
@$(
DO_MAKE
)
"METATARGET=verify"
verify_installed
:
verify_installed
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=verify_installed"
@$(
DO_MAKE
)
"METATARGET=verify_installed"
check
:
verify
check
:
verify
-
@
$(
BIN_TRUE
)
-
@
$(
BIN_TRUE
)
...
@@ -222,25 +226,25 @@ sure: verify
...
@@ -222,25 +226,25 @@ sure: verify
-
@
$(
BIN_TRUE
)
-
@
$(
BIN_TRUE
)
verbose_verify
:
verbose_verify
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=verbose_verify"
@$(
DO_MAKE
)
"METATARGET=verbose_verify"
gdb_verify
:
gdb_verify
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=gdb_verify"
@$(
DO_MAKE
)
"METATARGET=gdb_verify"
dump_modules
:
dump_modules
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=dump_modules"
@$(
DO_MAKE
)
"METATARGET=dump_modules"
force_dump_modules
:
force_dump_modules
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=force_dump_modules"
@$(
DO_MAKE
)
"METATARGET=force_dump_modules"
delete_dumped_modules
:
delete_dumped_modules
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=delete_dumped_modules"
@$(
DO_MAKE
)
"METATARGET=delete_dumped_modules"
undump_modules
:
undump_modules
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=undump_modules"
@$(
DO_MAKE
)
"METATARGET=undump_modules"
run_hilfe
:
run_hilfe
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=run_hilfe"
@$(
DO_MAKE
)
"METATARGET=run_hilfe"
source
:
source
:
@$(
DO_MAKE
)
"CONFIGUREARGS=--disable-binary
$(
CONFIGUREARGS
)
"
\
@$(
DO_MAKE
)
"CONFIGUREARGS=--disable-binary
$(
CONFIGUREARGS
)
"
\
...
@@ -275,10 +279,10 @@ xenofarm_export:
...
@@ -275,10 +279,10 @@ xenofarm_export:
@
echo
Export
done
@
echo
Export
done
bin_export
:
bin_export
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=bin_export"
@$(
DO_MAKE
)
"METATARGET=bin_export"
feature_list
:
feature_list
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=feature_list"
@$(
DO_MAKE
)
"METATARGET=feature_list"
solaris_pkg_configure
:
solaris_pkg_configure
:
@$(
DO_MAKE
)
"CONFIGUREARGS=--prefix=/opt
$(
CONFIGUREARGS
)
"
\
@$(
DO_MAKE
)
"CONFIGUREARGS=--prefix=/opt
$(
CONFIGUREARGS
)
"
\
...
@@ -307,7 +311,7 @@ xenofarm:
...
@@ -307,7 +311,7 @@ xenofarm:
gzip
-f9
xenofarm_result.tar
gzip
-f9
xenofarm_result.tar
benchmark
:
benchmark
:
@$(
DO_MAKE
)
$(
MAKE_FLAGS
)
"METATARGET=run_bench"
@$(
DO_MAKE
)
"METATARGET=run_bench"
clean
:
clean
:
-
cd
"
$(
BUILDDIR
)
"
&&
test
-f
Makefile
&&
$(
DO_MAKE
)
clean
||
{
\
-
cd
"
$(
BUILDDIR
)
"
&&
test
-f
Makefile
&&
$(
DO_MAKE
)
clean
||
{
\
...
...
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