version 1.1.1.2, 2012/05/29 12:26:49
|
version 1.1.1.6, 2014/06/15 16:12:55
|
Line 1
|
Line 1
|
# |
# |
# Copyright (c) 2011 Todd C. Miller <Todd.Miller@courtesan.com> | # Copyright (c) 2010-2014 Todd C. Miller <Todd.Miller@courtesan.com> |
# |
# |
# Permission to use, copy, modify, and distribute this software for any |
# Permission to use, copy, modify, and distribute this software for any |
# purpose with or without fee is hereby granted, provided that the above |
# purpose with or without fee is hereby granted, provided that the above |
Line 24 devdir = @devdir@
|
Line 24 devdir = @devdir@
|
top_builddir = @top_builddir@ |
top_builddir = @top_builddir@ |
top_srcdir = @top_srcdir@ |
top_srcdir = @top_srcdir@ |
incdir = $(top_srcdir)/include |
incdir = $(top_srcdir)/include |
|
cross_compiling = @CROSS_COMPILING@ |
|
|
# Compiler & tools to use |
# Compiler & tools to use |
CC = @CC@ |
CC = @CC@ |
Line 33 LIBTOOL = @LIBTOOL@ @LT_STATIC@
|
Line 34 LIBTOOL = @LIBTOOL@ @LT_STATIC@
|
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c |
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c |
|
|
# Libraries |
# Libraries |
LT_LIBS = $(top_builddir)/common/libcommon.la $(LIBOBJDIR)libreplace.la | LT_LIBS = $(top_builddir)/common/libsudo_util.la $(LIBOBJDIR)libreplace.la |
LIBS = @LIBS@ @SUDO_LIBS@ @GETGROUPS_LIB@ @NET_LIBS@ @LIBINTL@ $(LT_LIBS) | LIBS = @LIBS@ @SUDO_LIBS@ @GETGROUPS_LIB@ @NET_LIBS@ @LIBINTL@ $(LT_LIBS) @LIBDL@ |
|
|
# C preprocessor flags |
# C preprocessor flags |
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) -I$(top_srcdir) -I. @CPPFLAGS@ | CPPFLAGS = -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) @CPPFLAGS@ |
|
|
# Usually -O and/or -g |
# Usually -O and/or -g |
CFLAGS = @CFLAGS@ |
CFLAGS = @CFLAGS@ |
|
|
# Flags to pass to the link stage |
# Flags to pass to the link stage |
LDFLAGS = @LDFLAGS@ |
LDFLAGS = @LDFLAGS@ |
LTLDFLAGS = @LTLDFLAGS@ | LT_LDFLAGS = @LT_LDFLAGS@ |
|
|
|
# PIE flags |
|
PIE_CFLAGS = @PIE_CFLAGS@ |
|
PIE_LDFLAGS = @PIE_LDFLAGS@ |
|
|
|
# Stack smashing protection flags |
|
SSP_CFLAGS = @SSP_CFLAGS@ |
|
SSP_LDFLAGS = @SSP_LDFLAGS@ |
|
|
|
# cppcheck options, usually set in the top-level Makefile |
|
CPPCHECK_OPTS = -q --force --enable=warning,performance,portability --suppress=constStatement --error-exitcode=1 --inline-suppr -U__cplusplus -UQUAD_MAX -UQUAD_MIN -UUQUAD_MAX -U_POSIX_HOST_NAME_MAX -U_POSIX_PATH_MAX |
|
|
# Where to install things... |
# Where to install things... |
prefix = @prefix@ |
prefix = @prefix@ |
exec_prefix = @exec_prefix@ |
exec_prefix = @exec_prefix@ |
Line 63 noexecdir = @NOEXECDIR@
|
Line 75 noexecdir = @NOEXECDIR@
|
install_uid = 0 |
install_uid = 0 |
install_gid = 0 |
install_gid = 0 |
|
|
|
# File extension and mode to use for shared libraries |
|
shlib_ext = @SHLIB_EXT@ |
|
shlib_mode = @SHLIB_MODE@ |
|
|
|
# Optional init script and rc.d link |
|
INIT_DIR=@INIT_DIR@ |
|
INIT_SCRIPT=@INIT_SCRIPT@ |
|
RC_LINK=@RC_LINK@ |
|
|
|
TEST_PROGS = check_ttyname |
|
TEST_LIBS = @LIBS@ @LIBINTL@ $(LT_LIBS) |
|
TEST_LDFLAGS = @LDFLAGS@ |
|
|
# OS dependent defines |
# OS dependent defines |
DEFS = @OSDEFS@ -DLOCALEDIR=\"$(localedir)\" |
DEFS = @OSDEFS@ -DLOCALEDIR=\"$(localedir)\" |
|
|
Line 72 SHELL = @SHELL@
|
Line 97 SHELL = @SHELL@
|
|
|
PROGS = @PROGS@ |
PROGS = @PROGS@ |
|
|
OBJS = conversation.o env_hooks.o error.o exec.o exec_common.o exec_pty.o \ | OBJS = conversation.o env_hooks.o exec.o exec_common.o exec_pty.o \ |
get_pty.o hooks.o net_ifs.o load_plugins.o parse_args.o sudo.o \ | get_pty.o hooks.o net_ifs.o load_plugins.o parse_args.o \ |
sudo_edit.o tgetpass.o ttyname.o utmp.o @SUDO_OBJS@ | preserve_fds.o signal.o sudo.o sudo_edit.o tgetpass.o ttyname.o \ |
| utmp.o @SUDO_OBJS@ |
|
|
|
SESH_OBJS = sesh.o locale_stub.o exec_common.o |
|
|
|
CHECK_TTYNAME_OBJS = check_ttyname.o locale_stub.o ttyname.o |
|
|
LIBOBJDIR = $(top_builddir)/@ac_config_libobj_dir@/ |
LIBOBJDIR = $(top_builddir)/@ac_config_libobj_dir@/ |
|
|
VERSION = @PACKAGE_VERSION@ |
VERSION = @PACKAGE_VERSION@ |
Line 85 all: $(PROGS)
|
Line 115 all: $(PROGS)
|
Makefile: $(srcdir)/Makefile.in |
Makefile: $(srcdir)/Makefile.in |
(cd $(top_builddir) && ./config.status --file src/Makefile) |
(cd $(top_builddir) && ./config.status --file src/Makefile) |
|
|
|
./sudo_usage.h: $(srcdir)/sudo_usage.h.in |
|
(cd $(top_builddir) && ./config.status --file src/sudo_usage.h) |
|
|
.SUFFIXES: .c .h .lo .o |
.SUFFIXES: .c .h .lo .o |
|
|
.c.o: |
.c.o: |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $< | $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $< |
|
|
.c.lo: |
.c.lo: |
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $< | $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $< |
|
|
sudo: $(OBJS) $(LT_LIBS) | sudo: $(OBJS) $(LT_LIBS) @STATIC_SUDOERS@ |
$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(LDFLAGS) $(LIBS) | $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(LIBS) @STATIC_SUDOERS@ |
|
|
libsudo_noexec.la: sudo_noexec.lo |
libsudo_noexec.la: sudo_noexec.lo |
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LTLDFLAGS) -o $@ sudo_noexec.lo -avoid-version -rpath $(noexecdir) | $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LT_LDFLAGS) -o $@ sudo_noexec.lo -avoid-version -rpath $(noexecdir) |
|
|
sesh: sesh.o error.o exec_common.o @LIBINTL@ $(LT_LIBS) | sesh: $(SESH_OBJS) @LIBINTL@ $(LT_LIBS) |
$(LIBTOOL) --mode=link $(CC) -o $@ sesh.o error.o exec_common.o $(LDFLAGS) @LIBINTL@ $(LIBS) | $(LIBTOOL) --mode=link $(CC) -o $@ $(SESH_OBJS) $(LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) @LIBINTL@ $(LIBS) |
|
|
|
check_ttyname: $(CHECK_TTYNAME_OBJS) $(top_builddir)/common/libsudo_util.la $(LIBOBJDIR)libreplace.la |
|
$(LIBTOOL) --mode=link $(CC) -o $@ $(CHECK_TTYNAME_OBJS) $(TEST_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LIBS) |
|
|
pre-install: |
pre-install: |
|
|
install: install-binaries @INSTALL_NOEXEC@ | install: install-binaries install-rc @INSTALL_NOEXEC@ |
|
|
install-dirs: |
install-dirs: |
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \ |
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \ |
$(DESTDIR)$(noexecdir) | $(DESTDIR)$(libexecdir)/sudo $(DESTDIR)$(noexecdir) |
|
|
|
install-rc: |
|
@if [ -n "$(INIT_SCRIPT)" ]; then \ |
|
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(INIT_DIR) \ |
|
`echo $(DESTDIR)$(RC_LINK)|sed 's,/[^/]*$$,,'`; \ |
|
$(INSTALL) -O $(install_uid) -G $(install_gid) -m 0755 $(top_srcdir)/init.d/$(INIT_SCRIPT) $(DESTDIR)$(INIT_DIR)/sudo; \ |
|
rm -f $(DESTDIR)$(RC_LINK); \ |
|
ln -s $(INIT_DIR)/sudo $(DESTDIR)$(RC_LINK); \ |
|
fi |
|
|
install-binaries: install-dirs $(PROGS) |
install-binaries: install-dirs $(PROGS) |
$(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 04111 sudo $(DESTDIR)$(bindir)/sudo | $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m 04755 sudo $(DESTDIR)$(bindir)/sudo |
rm -f $(DESTDIR)$(bindir)/sudoedit |
rm -f $(DESTDIR)$(bindir)/sudoedit |
ln $(DESTDIR)$(bindir)/sudo $(DESTDIR)$(bindir)/sudoedit | ln -s sudo $(DESTDIR)$(bindir)/sudoedit |
if [ -f sesh ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0111 sesh $(DESTDIR)$(libexecdir)/sesh; fi | if [ -f sesh ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0755 sesh $(DESTDIR)$(libexecdir)/sudo/sesh; fi |
|
|
install-doc: |
install-doc: |
|
|
Line 123 install-includes:
|
Line 168 install-includes:
|
# We install sudo_noexec by hand so we can avoid a "lib" prefix |
# We install sudo_noexec by hand so we can avoid a "lib" prefix |
# and a version number. Since we use LD_PRELOAD, neither is needed. |
# and a version number. Since we use LD_PRELOAD, neither is needed. |
install-noexec: install-dirs libsudo_noexec.la |
install-noexec: install-dirs libsudo_noexec.la |
if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m 0755 .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi | if [ -f .libs/libsudo_noexec$(shlib_ext) ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m $(shlib_mode) .libs/libsudo_noexec$(shlib_ext) $(DESTDIR)$(noexecdir)/$(noexecfile); fi |
|
|
install-plugin: |
install-plugin: |
|
|
uninstall: |
uninstall: |
-rm -f $(DESTDIR)$(bindir)/sudo $(DESTDIR)$(bindir)/sudoedit \ |
-rm -f $(DESTDIR)$(bindir)/sudo $(DESTDIR)$(bindir)/sudoedit \ |
$(DESTDIR)$(libexecdir)/sesh \ | $(DESTDIR)$(libexecdir)/sudo/sesh \ |
$(DESTDIR)$(noexecdir)/$(noexecfile) \ | $(DESTDIR)$(noexecdir)/$(noexecfile) |
| @if [ -n "$(INIT_SCRIPT)" ]; then \ |
| rm -f $(DESTDIR)$(RC_LINK) $(DESTDIR)$(INIT_DIR)/sudo; \ |
| fi |
|
|
check: | cppcheck: |
| cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) $(srcdir)/*.c |
|
|
|
check: $(TEST_PROGS) |
|
@if test X"$(cross_compiling)" != X"yes"; then \ |
|
./check_ttyname; \ |
|
fi |
|
|
clean: |
clean: |
-$(LIBTOOL) --mode=clean rm -f $(PROGS) *.lo *.o *.la *.a stamp-* core *.core core.* | -$(LIBTOOL) --mode=clean rm -f $(PROGS) $(TEST_PROGS) *.lo *.o *.la *.a stamp-* core *.core core.* |
|
|
mostlyclean: clean |
mostlyclean: clean |
|
|
Line 150 realclean: distclean
|
Line 204 realclean: distclean
|
cleandir: realclean |
cleandir: realclean |
|
|
# Autogenerated dependencies, do not modify |
# Autogenerated dependencies, do not modify |
conversation.o: $(srcdir)/conversation.c $(top_builddir)/config.h \ | check_ttyname.o: $(srcdir)/regress/ttyname/check_ttyname.c $(incdir)/alloc.h \ |
$(srcdir)/sudo.h $(top_builddir)/pathnames.h \ | $(incdir)/fatal.h $(incdir)/missing.h $(incdir)/sudo_util.h \ |
$(top_srcdir)/compat/stdbool.h $(incdir)/missing.h \ | $(top_builddir)/config.h $(top_srcdir)/compat/stdbool.h |
$(incdir)/alloc.h $(incdir)/error.h $(incdir)/fileops.h \ | $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/regress/ttyname/check_ttyname.c |
$(incdir)/list.h $(incdir)/sudo_conf.h $(incdir)/list.h \ | conversation.o: $(srcdir)/conversation.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
$(incdir)/sudo_debug.h $(incdir)/gettext.h \ | $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
$(incdir)/sudo_plugin.h $(srcdir)/sudo_plugin_int.h | $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/conversation.c | $(incdir)/sudo_plugin.h $(incdir)/sudo_util.h $(srcdir)/sudo.h \ |
env_hooks.o: $(srcdir)/env_hooks.c $(top_builddir)/config.h \ | $(srcdir)/sudo_plugin_int.h $(top_builddir)/config.h \ |
$(top_srcdir)/compat/dlfcn.h $(srcdir)/sudo.h \ | $(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ | $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/conversation.c |
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \ | env_hooks.o: $(srcdir)/env_hooks.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \ | $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \ | $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
$(incdir)/sudo_plugin.h | $(incdir)/sudo_dso.h $(incdir)/sudo_plugin.h \ |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/env_hooks.c | $(incdir)/sudo_util.h $(srcdir)/sudo.h $(top_builddir)/config.h \ |
error.o: $(srcdir)/error.c $(top_builddir)/config.h $(incdir)/missing.h \ | $(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h |
$(incdir)/error.h $(incdir)/gettext.h | $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/env_hooks.c |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/error.c | exec.o: $(srcdir)/exec.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
exec.o: $(srcdir)/exec.c $(top_builddir)/config.h $(srcdir)/sudo.h \ | $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
| $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(incdir)/sudo_event.h $(incdir)/sudo_plugin.h $(incdir)/sudo_util.h \ |
| $(srcdir)/sudo.h $(srcdir)/sudo_exec.h $(srcdir)/sudo_plugin_int.h \ |
| $(top_builddir)/config.h $(top_builddir)/pathnames.h \ |
| $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/exec.c |
| exec_common.o: $(srcdir)/exec_common.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
| $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(incdir)/sudo_util.h $(srcdir)/sudo.h $(srcdir)/sudo_exec.h \ |
| $(top_builddir)/config.h $(top_builddir)/pathnames.h \ |
| $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/exec_common.c |
| exec_pty.o: $(srcdir)/exec_pty.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
| $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(incdir)/sudo_event.h $(incdir)/sudo_plugin.h \ |
| $(incdir)/sudo_util.h $(srcdir)/sudo.h $(srcdir)/sudo_exec.h \ |
| $(srcdir)/sudo_plugin_int.h $(top_builddir)/config.h \ |
| $(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/exec_pty.c |
| get_pty.o: $(srcdir)/get_pty.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
| $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(incdir)/sudo_util.h $(srcdir)/sudo.h $(top_builddir)/config.h \ |
| $(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/get_pty.c |
| hooks.o: $(srcdir)/hooks.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
| $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(incdir)/sudo_plugin.h $(incdir)/sudo_util.h $(srcdir)/sudo.h \ |
| $(srcdir)/sudo_plugin_int.h $(top_builddir)/config.h \ |
| $(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/hooks.c |
| load_plugins.o: $(srcdir)/load_plugins.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
| $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(incdir)/sudo_dso.h $(incdir)/sudo_plugin.h \ |
| $(incdir)/sudo_util.h $(srcdir)/sudo.h \ |
| $(srcdir)/sudo_plugin_int.h $(top_builddir)/config.h \ |
| $(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/load_plugins.c |
| locale_stub.o: $(srcdir)/locale_stub.c $(incdir)/fatal.h $(incdir)/gettext.h \ |
| $(incdir)/missing.h $(top_builddir)/config.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/locale_stub.c |
| net_ifs.o: $(srcdir)/net_ifs.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/gettext.h $(incdir)/missing.h $(incdir)/queue.h \ |
| $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(top_builddir)/config.h $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/net_ifs.c |
| openbsd.o: $(srcdir)/openbsd.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
| $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(incdir)/sudo_util.h $(srcdir)/sudo.h $(top_builddir)/config.h \ |
| $(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/openbsd.c |
| parse_args.o: $(srcdir)/parse_args.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/lbuf.h \ |
| $(incdir)/missing.h $(incdir)/queue.h $(incdir)/sudo_conf.h \ |
| $(incdir)/sudo_debug.h $(incdir)/sudo_util.h $(srcdir)/sudo.h \ |
| $(top_builddir)/config.h $(top_builddir)/pathnames.h \ |
| $(top_srcdir)/compat/getopt.h $(top_srcdir)/compat/stdbool.h \ |
| ./sudo_usage.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/parse_args.c |
| preload.o: $(srcdir)/preload.c $(incdir)/sudo_dso.h $(incdir)/sudo_plugin.h \ |
| $(top_builddir)/config.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/preload.c |
| preserve_fds.o: $(srcdir)/preserve_fds.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
| $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(incdir)/sudo_util.h $(srcdir)/sudo.h \ |
| $(top_builddir)/config.h $(top_builddir)/pathnames.h \ |
| $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/preserve_fds.c |
| selinux.o: $(srcdir)/selinux.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
| $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(incdir)/sudo_util.h $(srcdir)/sudo.h $(srcdir)/sudo_exec.h \ |
| $(top_builddir)/config.h $(top_builddir)/pathnames.h \ |
| $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/selinux.c |
| sesh.o: $(srcdir)/sesh.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/gettext.h $(incdir)/missing.h $(incdir)/queue.h \ |
| $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h $(incdir)/sudo_plugin.h \ |
| $(srcdir)/sudo_exec.h $(top_builddir)/config.h \ |
| $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/sesh.c |
| signal.o: $(srcdir)/signal.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
| $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(incdir)/sudo_util.h $(srcdir)/sudo.h $(top_builddir)/config.h \ |
| $(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/signal.c |
| solaris.o: $(srcdir)/solaris.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
| $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(incdir)/sudo_util.h $(srcdir)/sudo.h $(top_builddir)/config.h \ |
| $(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h |
| $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/solaris.c |
| sudo.o: $(srcdir)/sudo.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
| $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
| $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
| $(incdir)/sudo_plugin.h $(incdir)/sudo_util.h $(srcdir)/sudo.h \ |
| $(srcdir)/sudo_plugin_int.h $(top_builddir)/config.h \ |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ |
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \ | ./sudo_usage.h |
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \ | $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/sudo.c |
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \ | sudo_edit.o: $(srcdir)/sudo_edit.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
$(srcdir)/sudo_exec.h $(incdir)/sudo_plugin.h \ | $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
$(srcdir)/sudo_plugin_int.h | $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/exec.c | $(incdir)/sudo_util.h $(srcdir)/sudo.h $(top_builddir)/config.h \ |
exec_common.o: $(srcdir)/exec_common.c $(top_builddir)/config.h \ | $(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h |
$(srcdir)/sudo.h $(top_builddir)/pathnames.h \ | $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/sudo_edit.c |
$(top_srcdir)/compat/stdbool.h $(incdir)/missing.h \ | sudo_noexec.lo: $(srcdir)/sudo_noexec.c $(incdir)/missing.h \ |
$(incdir)/alloc.h $(incdir)/error.h $(incdir)/fileops.h \ | $(top_builddir)/config.h |
$(incdir)/list.h $(incdir)/sudo_conf.h $(incdir)/list.h \ | $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/sudo_noexec.c |
$(incdir)/sudo_debug.h $(incdir)/gettext.h $(srcdir)/sudo_exec.h | tgetpass.o: $(srcdir)/tgetpass.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/exec_common.c | $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
exec_pty.o: $(srcdir)/exec_pty.c $(top_builddir)/config.h $(srcdir)/sudo.h \ | $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ | $(incdir)/sudo_plugin.h $(incdir)/sudo_util.h $(srcdir)/sudo.h \ |
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \ | $(top_builddir)/config.h $(top_builddir)/pathnames.h \ |
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \ | $(top_srcdir)/compat/stdbool.h |
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \ | $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/tgetpass.c |
$(srcdir)/sudo_exec.h $(incdir)/sudo_plugin.h \ | ttyname.o: $(srcdir)/ttyname.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
$(srcdir)/sudo_plugin_int.h | $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/exec_pty.c | $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
get_pty.o: $(srcdir)/get_pty.c $(top_builddir)/config.h $(srcdir)/sudo.h \ | $(incdir)/sudo_util.h $(srcdir)/sudo.h $(top_builddir)/config.h \ |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ | $(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h |
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \ | $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/ttyname.c |
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \ | utmp.o: $(srcdir)/utmp.c $(incdir)/alloc.h $(incdir)/fatal.h \ |
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h | $(incdir)/fileops.h $(incdir)/gettext.h $(incdir)/missing.h \ |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/get_pty.c | $(incdir)/queue.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ |
hooks.o: $(srcdir)/hooks.c $(top_builddir)/config.h $(srcdir)/sudo.h \ | $(incdir)/sudo_util.h $(srcdir)/sudo.h $(srcdir)/sudo_exec.h \ |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ | $(top_builddir)/config.h $(top_builddir)/pathnames.h \ |
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \ | $(top_srcdir)/compat/stdbool.h |
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \ | $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/utmp.c |
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \ | |
$(incdir)/sudo_plugin.h $(srcdir)/sudo_plugin_int.h \ | |
$(incdir)/sudo_debug.h | |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/hooks.c | |
load_plugins.o: $(srcdir)/load_plugins.c $(top_builddir)/config.h \ | |
$(top_srcdir)/compat/dlfcn.h $(srcdir)/sudo.h \ | |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ | |
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \ | |
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \ | |
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \ | |
$(incdir)/sudo_plugin.h $(srcdir)/sudo_plugin_int.h \ | |
$(incdir)/sudo_conf.h $(incdir)/list.h $(incdir)/sudo_debug.h | |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/load_plugins.c | |
net_ifs.o: $(srcdir)/net_ifs.c $(top_builddir)/config.h $(incdir)/missing.h \ | |
$(incdir)/alloc.h $(incdir)/error.h $(incdir)/sudo_debug.h \ | |
$(incdir)/gettext.h | |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/net_ifs.c | |
parse_args.o: $(srcdir)/parse_args.c $(top_builddir)/config.h ./sudo_usage.h \ | |
$(srcdir)/sudo.h $(top_builddir)/pathnames.h \ | |
$(top_srcdir)/compat/stdbool.h $(incdir)/missing.h \ | |
$(incdir)/alloc.h $(incdir)/error.h $(incdir)/fileops.h \ | |
$(incdir)/list.h $(incdir)/sudo_conf.h $(incdir)/list.h \ | |
$(incdir)/sudo_debug.h $(incdir)/gettext.h $(incdir)/lbuf.h | |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/parse_args.c | |
preload.o: $(srcdir)/preload.c $(top_builddir)/config.h $(incdir)/sudo_plugin.h | |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/preload.c | |
selinux.o: $(srcdir)/selinux.c $(top_builddir)/config.h $(srcdir)/sudo.h \ | |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ | |
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \ | |
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \ | |
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \ | |
$(srcdir)/sudo_exec.h | |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/selinux.c | |
sesh.o: $(srcdir)/sesh.c $(top_builddir)/config.h \ | |
$(top_srcdir)/compat/stdbool.h $(incdir)/missing.h $(incdir)/alloc.h \ | |
$(incdir)/error.h $(incdir)/gettext.h $(incdir)/sudo_conf.h \ | |
$(incdir)/list.h $(incdir)/sudo_debug.h $(srcdir)/sudo_exec.h \ | |
$(incdir)/sudo_plugin.h | |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sesh.c | |
sudo.o: $(srcdir)/sudo.c $(top_builddir)/config.h $(srcdir)/sudo.h \ | |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ | |
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \ | |
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \ | |
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \ | |
$(incdir)/sudo_plugin.h $(srcdir)/sudo_plugin_int.h ./sudo_usage.h | |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sudo.c | |
sudo_edit.o: $(srcdir)/sudo_edit.c $(top_builddir)/config.h $(srcdir)/sudo.h \ | |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ | |
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \ | |
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \ | |
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h | |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sudo_edit.c | |
sudo_noexec.lo: $(srcdir)/sudo_noexec.c $(top_builddir)/config.h \ | |
$(incdir)/missing.h | |
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sudo_noexec.c | |
tgetpass.o: $(srcdir)/tgetpass.c $(top_builddir)/config.h $(srcdir)/sudo.h \ | |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ | |
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \ | |
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \ | |
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h | |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/tgetpass.c | |
ttyname.o: $(srcdir)/ttyname.c $(top_builddir)/config.h $(srcdir)/sudo.h \ | |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ | |
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \ | |
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \ | |
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h | |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/ttyname.c | |
utmp.o: $(srcdir)/utmp.c $(top_builddir)/config.h $(srcdir)/sudo.h \ | |
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \ | |
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \ | |
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \ | |
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \ | |
$(srcdir)/sudo_exec.h | |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/utmp.c | |