Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
emulab-devel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
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
Emmanuel Cecchet
emulab-devel
Commits
901ee10b
Commit
901ee10b
authored
24 years ago
by
Leigh B. Stoller
Browse files
Options
Downloads
Patches
Plain Diff
More Makefile hacking.
parent
95218eb2
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
tbsetup/GNUmakefile
+18
-3
18 additions, 3 deletions
tbsetup/GNUmakefile
tbsetup/checkpass/Makefile
+3
-4
3 additions, 4 deletions
tbsetup/checkpass/Makefile
tbsetup/ir/GNUmakefile
+33
-0
33 additions, 0 deletions
tbsetup/ir/GNUmakefile
tbsetup/ns2ir/GNUmakefile
+32
-0
32 additions, 0 deletions
tbsetup/ns2ir/GNUmakefile
with
86 additions
and
7 deletions
tbsetup/GNUmakefile
+
18
−
3
View file @
901ee10b
...
...
@@ -4,13 +4,19 @@
include
../Makeconf
include
../GNUmakerules
SUBDIRS
=
checkpass
SCRIPTS
=
mkprojdir_wrapper tbdoit tbstopit mkexpdir
\
mkacct rmacct delay_setup ifc_setup ifc_filegen
\
ir2ifc power resetvlans savevlans snmpit tbend
\
tbprerun tbreport vpower vsnmpit
tbprerun tbreport vpower vsnmpit killtip
DATAFILES
=
default.ifc
SUSCRIPTS
=
mkprojdir
all
:
$(BINS)
all
:
$(BINS) $(SUBDIRS)
.PHONY
:
checkpass
checkpass
:
@$(
MAKE
)
-C
checkpass all
#
# Currently, all the stuff that gets installed in the bin directory
...
...
@@ -21,9 +27,18 @@ INSTALL_LIBTBDIR = $(INSTALL_LIBDIR)/tbsetup
install
:
$(addprefix $(INSTALL_BINDIR)/
,
$(SCRIPTS))
\
$(addprefix $(INSTALL_BINDIR)/
,
$(SUSCRIPTS))
\
$(addprefix $(INSTALL_LIBTBDIR)/
,
$(SCRIPTS))
\
$(addprefix $(INSTALL_LIBTBDIR)/
,
$(SUSCRIPTS))
$(addprefix $(INSTALL_LIBTBDIR)/
,
$(DATAFILES))
\
subdir-install
@
echo
"Don't forget to do a post-install as root"
#
# Automate this part at some point.
#
subdir-install
:
@$(
MAKE
)
-C
checkpass
install
@$(
MAKE
)
-C
ir
install
@$(
MAKE
)
-C
ns2ir
install
#
# Leave these rules here. They should be flushed when we no longer
# dup this stuff.
...
...
This diff is collapsed.
Click to expand it.
tbsetup/checkpass/Makefile
+
3
−
4
View file @
901ee10b
CC
=
/usr/gnu/bin/gcc
# Pick one of the two below.
include
../../Makeconf
include
../../GNUmakerules
all
:
checkpass cracklib
...
...
@@ -9,8 +9,7 @@ checkpass: cracklib
cracklib
:
gmake
-C
cracklib,2.7 all
install
:
install
-c
checkpass /usr/testbed/bin
install
:
$(INSTALL_BINDIR)/checkpass
clean
:
gmake
-C
cracklib,2.7 clean
...
...
This diff is collapsed.
Click to expand it.
tbsetup/ir/GNUmakefile
0 → 100644
+
33
−
0
View file @
901ee10b
#
# Insert Copyright Here.
#
include
../../Makeconf
include
../../GNUmakerules
#
# These get installed with .tcl extensions.
#
SCRIPTS
=
assign.tcl handle_os.tcl extract_tb.tcl libir.tcl
\
handle_ip.tcl
all
:
#
# Currently, all the stuff that gets installed in the bin directory
# gets duplicated in lib/tbsetup.
#
INSTALL_LIBTBDIR
=
$(
INSTALL_LIBDIR
)
/tbsetup/ir
install
:
$(addprefix $(INSTALL_LIBTBDIR)/
,
$(SCRIPTS))
#
# Leave these rules here. They should be flushed when we no longer
# dup this stuff.
#
$(INSTALL_LIBTBDIR)/%
:
%
@
echo
"Installing
$<
"
-
mkdir
-p
$(
INSTALL_LIBTBDIR
)
$(
INSTALL
)
$<
$@
clean
:
This diff is collapsed.
Click to expand it.
tbsetup/ns2ir/GNUmakefile
0 → 100644
+
32
−
0
View file @
901ee10b
#
# Insert Copyright Here.
#
include
../../Makeconf
include
../../GNUmakerules
#
# These get installed with .tcl extensions.
#
SCRIPTS
=
event.tcl parse.tcl stubs.tcl link.tcl postparse.tcl
\
tcl-object.tcl node.tcl sim.tcl
all
:
#
# Currently, all the stuff that gets installed in the bin directory
# gets duplicated in lib/tbsetup.
#
INSTALL_LIBTBDIR
=
$(
INSTALL_LIBDIR
)
/tbsetup/ns2ir
install
:
$(addprefix $(INSTALL_LIBTBDIR)/
,
$(SCRIPTS))
#
# Leave these rules here. They should be flushed when we no longer
# dup this stuff.
#
$(INSTALL_LIBTBDIR)/%
:
%
@
echo
"Installing
$<
"
-
mkdir
-p
$(
INSTALL_LIBTBDIR
)
$(
INSTALL
)
$<
$@
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