Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
c82ac0dd
Commit
c82ac0dd
authored
Nov 28, 2000
by
Leigh B. Stoller
Browse files
Proper (mostly) makefile.
parent
8c00bd90
Changes
1
Hide whitespace changes
Inline
Side-by-side
security/GNUmakefile
0 → 100644
View file @
c82ac0dd
BINS
=
suexec
SCRIPTS
=
paperbag plasticwrap
CFLAGS
=
-O
-g
INSTALL
=
install
-c
INSTALL_BINDIR
=
/usr/testbed/bin
all
:
$(BINS)
suexec
:
suexec.c suexec.h
$(CC)
$(CFLAGS)
-o
suexec suexec.c
install
:
$(addprefix $(INSTALL_BINDIR)/
,
$(BINS))
@
echo
"Don't forget to do a post-install as root"
$(INSTALL_BINDIR)/%
:
%
@
echo
"Installing
$<
"
-
mkdir
-p
$(INSTALL_BINDIR)
$(INSTALL)
$<
$@
post-install
:
chown
root
$(INSTALL_BINDIR)
/suexec
chmod
u+s
$(INSTALL_BINDIR)
/suexec
clean
:
rm
-f
*
.o
$(BINS)
core
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment