mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
statically compiling in the sudoers plugin but still allow other plugins to be loaded. The new --enable-static-sudoers configure option will cause the sudoers plugin to be compiled statically into the sudo binary. This does not prevent other plugins from being loaded as per sudo.conf.
321 lines
15 KiB
Makefile
321 lines
15 KiB
Makefile
#
|
|
# Copyright (c) 2010-2013 Todd C. Miller <Todd.Miller@courtesan.com>
|
|
#
|
|
# Permission to use, copy, modify, and distribute this software for any
|
|
# purpose with or without fee is hereby granted, provided that the above
|
|
# copyright notice and this permission notice appear in all copies.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
#
|
|
# @configure_input@
|
|
#
|
|
|
|
#### Start of system configuration section. ####
|
|
|
|
srcdir = @srcdir@
|
|
devdir = @devdir@
|
|
top_builddir = @top_builddir@
|
|
top_srcdir = @top_srcdir@
|
|
incdir = $(top_srcdir)/include
|
|
cross_compiling = @CROSS_COMPILING@
|
|
|
|
# Compiler & tools to use
|
|
CC = @CC@
|
|
LIBTOOL = @LIBTOOL@ @LT_STATIC@
|
|
|
|
# Our install program supports extra flags...
|
|
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
|
|
|
|
# Libraries
|
|
LT_LIBS = $(top_builddir)/common/libcommon.la $(LIBOBJDIR)libreplace.la
|
|
LIBS = @LIBS@ @SUDO_LIBS@ @GETGROUPS_LIB@ @NET_LIBS@ @LIBINTL@ $(LT_LIBS)
|
|
|
|
# C preprocessor flags
|
|
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) @CPPFLAGS@
|
|
|
|
# Usually -O and/or -g
|
|
CFLAGS = @CFLAGS@
|
|
|
|
# Flags to pass to the link stage
|
|
LDFLAGS = @LDFLAGS@
|
|
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@
|
|
|
|
# Where to install things...
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
sysconfdir = @sysconfdir@
|
|
libexecdir = @libexecdir@
|
|
datarootdir = @datarootdir@
|
|
localedir = @localedir@
|
|
localstatedir = @localstatedir@
|
|
noexecfile = @NOEXECFILE@
|
|
noexecdir = @NOEXECDIR@
|
|
|
|
# User and group ids the installed files should be "owned" by
|
|
install_uid = 0
|
|
install_gid = 0
|
|
|
|
# File extension and mode to use for shared libraries
|
|
shlib_ext = @SHLIB_EXT@
|
|
shlib_mode = @SHLIB_MODE@
|
|
|
|
TEST_PROGS = check_ttyname
|
|
TEST_LIBS = @LIBS@ @LIBINTL@ $(LT_LIBS)
|
|
TEST_LDFLAGS = @LDFLAGS@
|
|
|
|
# OS dependent defines
|
|
DEFS = @OSDEFS@ -DLOCALEDIR=\"$(localedir)\"
|
|
|
|
#### End of system configuration section. ####
|
|
|
|
SHELL = @SHELL@
|
|
|
|
PROGS = @PROGS@
|
|
|
|
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 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@/
|
|
|
|
VERSION = @PACKAGE_VERSION@
|
|
|
|
all: $(PROGS)
|
|
|
|
Makefile: $(srcdir)/Makefile.in
|
|
(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
|
|
|
|
.c.o:
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $<
|
|
|
|
.c.lo:
|
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $<
|
|
|
|
sudo: $(OBJS) $(LT_LIBS)
|
|
$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(LIBS)
|
|
|
|
libsudo_noexec.la: sudo_noexec.lo
|
|
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LT_LDFLAGS) -o $@ sudo_noexec.lo -avoid-version -rpath $(noexecdir)
|
|
|
|
sesh: $(SESH_OBJS) @LIBINTL@ $(LT_LIBS)
|
|
$(LIBTOOL) --mode=link $(CC) -o $@ $(SESH_OBJS) $(LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) @LIBINTL@ $(LIBS)
|
|
|
|
check_ttyname: $(CHECK_TTYNAME_OBJS) $(top_builddir)/common/libcommon.la $(LIBOBJDIR)libreplace.la
|
|
$(LIBTOOL) --mode=link $(CC) -o $@ $(CHECK_TTYNAME_OBJS) $(TEST_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LIBS)
|
|
|
|
pre-install:
|
|
|
|
install: install-binaries @INSTALL_NOEXEC@
|
|
|
|
install-dirs:
|
|
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \
|
|
$(DESTDIR)$(libexecdir)/sudo $(DESTDIR)$(noexecdir)
|
|
|
|
install-binaries: install-dirs $(PROGS)
|
|
$(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m 04755 sudo $(DESTDIR)$(bindir)/sudo
|
|
rm -f $(DESTDIR)$(bindir)/sudoedit
|
|
ln -s sudo $(DESTDIR)$(bindir)/sudoedit
|
|
if [ -f sesh ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0755 sesh $(DESTDIR)$(libexecdir)/sudo/sesh; fi
|
|
|
|
install-doc:
|
|
|
|
install-includes:
|
|
|
|
# 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.
|
|
install-noexec: install-dirs libsudo_noexec.la
|
|
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:
|
|
|
|
uninstall:
|
|
-rm -f $(DESTDIR)$(bindir)/sudo $(DESTDIR)$(bindir)/sudoedit \
|
|
$(DESTDIR)$(libexecdir)/sudo/sesh \
|
|
$(DESTDIR)$(noexecdir)/$(noexecfile)
|
|
|
|
check: $(TEST_PROGS)
|
|
./check_ttyname
|
|
|
|
clean:
|
|
-$(LIBTOOL) --mode=clean rm -f $(PROGS) $(TEST_PROGS) *.lo *.o *.la *.a stamp-* core *.core core.*
|
|
|
|
mostlyclean: clean
|
|
|
|
distclean: clean
|
|
-rm -rf Makefile .libs sudo_usage.h
|
|
|
|
clobber: distclean
|
|
|
|
realclean: distclean
|
|
rm -f TAGS tags
|
|
|
|
cleandir: realclean
|
|
|
|
# Autogenerated dependencies, do not modify
|
|
check_ttyname.o: $(srcdir)/regress/ttyname/check_ttyname.c $(incdir)/alloc.h \
|
|
$(incdir)/fatal.h $(incdir)/missing.h $(top_builddir)/config.h
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/regress/ttyname/check_ttyname.c
|
|
conversation.o: $(srcdir)/conversation.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 $(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)/conversation.c
|
|
env_hooks.o: $(srcdir)/env_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_dso.h $(incdir)/sudo_plugin.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)/env_hooks.c
|
|
exec.o: $(srcdir)/exec.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 $(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 \
|
|
$(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 $(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 \
|
|
$(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 $(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 $(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)/sudo_debug.h \
|
|
$(top_builddir)/config.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 \
|
|
$(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 $(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
|
|
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 \
|
|
$(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 \
|
|
$(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 \
|
|
$(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 $(srcdir)/sudo.h $(srcdir)/sudo_plugin_int.h \
|
|
$(top_builddir)/config.h $(top_builddir)/pathnames.h \
|
|
$(top_srcdir)/compat/stdbool.h ./sudo_usage.h
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/sudo.c
|
|
sudo_edit.o: $(srcdir)/sudo_edit.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 \
|
|
$(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)/sudo_edit.c
|
|
sudo_noexec.lo: $(srcdir)/sudo_noexec.c $(incdir)/missing.h \
|
|
$(top_builddir)/config.h
|
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/sudo_noexec.c
|
|
tgetpass.o: $(srcdir)/tgetpass.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 $(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)/tgetpass.c
|
|
ttyname.o: $(srcdir)/ttyname.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 \
|
|
$(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)/ttyname.c
|
|
utmp.o: $(srcdir)/utmp.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 \
|
|
$(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)/utmp.c
|