Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
ed9a8236
Commit
ed9a8236
authored
Apr 11, 1999
by
Martin Mareš
Browse files
Added new target "tags" to generate a tag table for Emacs.
Also made "depend" work before the tree is compiled first time.
parent
2db3b288
Changes
2
Show whitespace changes
Inline
Side-by-side
tools/Makefile-top.in
View file @
ed9a8236
...
...
@@ -3,7 +3,7 @@
objdir=@objdir@
all depend:
all depend
tags
:
$(MAKE) -C $(objdir) $@
clean:
...
...
tools/Makefile.in
View file @
ed9a8236
...
...
@@ -5,11 +5,11 @@ include Rules
srcdir_abs
:=
$(
shell
cd
$(srcdir)
;
pwd
)
.PHONY
:
all subdir depend clean distclean
.PHONY
:
all subdir depend clean distclean
tags
all
:
.dir-stamp
.dep-stamp subdir $(exedir)/bird
all
:
.dep-stamp subdir $(exedir)/bird
subdir depend
:
subdir depend
:
.dir-stamp
set
-e
;
for
a
in
$
(
dynamic-dirs
)
;
do
$(MAKE)
-C
$$
a
$@
;
done
set
-e
;
for
a
in
$
(
static-dirs
)
;
do
$(MAKE)
-C
$$
a
-f
$(srcdir_abs)
/
$$
a/Makefile
$@
;
done
...
...
@@ -24,6 +24,9 @@ $(exedir)/bird: $(addsuffix /all.o, $(static-dirs)) conf/all.o lib/birdlib.a
$(MAKE)
depend
touch
.dep-stamp
tags
:
cd
$(srcdir)
;
etags
-lc
`
find
$
(
static-dirs
)
$(
addprefix
$(objdir)
/,
$
(
dynamic-dirs
))
-name
*
.[chY]
`
clean
:
find
.
-name
"*.[oa]"
-or
-name
core
-or
-name
depend | xargs
rm
-f
rm
-f
$(exedir)
/bird .dep-stamp
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment