2010-02-20 09:41:49 -05:00
|
|
|
#
|
2011-01-20 16:46:56 -05:00
|
|
|
# Copyright (c) 2011 Todd C. Miller <Todd.Miller@courtesan.com>
|
2010-02-20 09:41:49 -05:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# Compiler & tools to use
|
|
|
|
CC = @CC@
|
2010-09-26 17:41:35 -04:00
|
|
|
LIBTOOL = @LIBTOOL@ @LT_STATIC@
|
2010-02-20 09:41:49 -05:00
|
|
|
|
|
|
|
# Our install program supports extra flags...
|
|
|
|
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
|
|
|
|
|
|
|
|
# Libraries
|
2010-10-11 17:40:23 -04:00
|
|
|
LT_LIBS = $(top_builddir)/common/libcommon.la $(LIBOBJDIR)libreplace.la
|
2011-05-17 16:38:40 -04:00
|
|
|
LIBS = @LIBS@ @SUDO_LIBS@ @GETGROUPS_LIB@ @NET_LIBS@ @LIBINTL@ $(LT_LIBS)
|
2010-02-20 09:41:49 -05:00
|
|
|
|
|
|
|
# C preprocessor flags
|
2011-05-25 09:02:25 -04:00
|
|
|
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) -I$(top_srcdir) -I. @CPPFLAGS@
|
2010-02-20 09:41:49 -05:00
|
|
|
|
|
|
|
# Usually -O and/or -g
|
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
|
|
|
|
# Flags to pass to the link stage
|
|
|
|
LDFLAGS = @LDFLAGS@
|
2011-08-01 19:02:16 -04:00
|
|
|
LTLDFLAGS = @LTLDFLAGS@
|
2010-02-20 09:41:49 -05:00
|
|
|
|
|
|
|
# Where to install things...
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datarootdir = @datarootdir@
|
2011-05-17 16:38:40 -04:00
|
|
|
localedir = @localedir@
|
2011-02-19 08:29:21 -05:00
|
|
|
localstatedir = @localstatedir@
|
2010-02-20 09:41:49 -05:00
|
|
|
noexecfile = @NOEXECFILE@
|
|
|
|
noexecdir = @NOEXECDIR@
|
|
|
|
|
|
|
|
# User and group ids the installed files should be "owned" by
|
|
|
|
install_uid = 0
|
|
|
|
install_gid = 0
|
|
|
|
|
2010-05-28 10:41:58 -04:00
|
|
|
# OS dependent defines
|
2012-02-07 11:45:11 -05:00
|
|
|
DEFS = @OSDEFS@ -DLOCALEDIR=\"$(localedir)\"
|
2010-02-20 09:41:49 -05:00
|
|
|
|
|
|
|
#### End of system configuration section. ####
|
|
|
|
|
2010-05-21 21:29:44 -04:00
|
|
|
SHELL = @SHELL@
|
2010-02-20 09:41:49 -05:00
|
|
|
|
2010-04-27 11:56:51 -04:00
|
|
|
PROGS = @PROGS@
|
2010-02-20 09:41:49 -05:00
|
|
|
|
2012-03-07 16:35:42 -05:00
|
|
|
OBJS = conversation.o env_hooks.o error.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 \
|
2012-04-06 16:41:08 -04:00
|
|
|
sudo_edit.o tgetpass.o ttyname.o utmp.o @SUDO_OBJS@
|
2010-02-20 09:41:49 -05:00
|
|
|
|
2010-04-04 14:01:21 -04:00
|
|
|
LIBOBJDIR = $(top_builddir)/@ac_config_libobj_dir@/
|
2010-02-21 16:12:01 -05:00
|
|
|
|
2010-02-20 09:41:49 -05:00
|
|
|
VERSION = @PACKAGE_VERSION@
|
|
|
|
|
2010-04-27 11:56:51 -04:00
|
|
|
all: $(PROGS)
|
2010-02-20 09:41:49 -05:00
|
|
|
|
2011-01-06 10:44:28 -05:00
|
|
|
Makefile: $(srcdir)/Makefile.in
|
|
|
|
(cd $(top_builddir) && ./config.status --file src/Makefile)
|
|
|
|
|
2010-04-27 12:06:41 -04:00
|
|
|
.SUFFIXES: .c .h .lo .o
|
2010-02-20 09:41:49 -05:00
|
|
|
|
|
|
|
.c.o:
|
2010-05-27 17:27:36 -04:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
|
2010-02-20 09:41:49 -05:00
|
|
|
|
|
|
|
.c.lo:
|
2010-05-27 17:27:36 -04:00
|
|
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
|
2010-02-20 09:41:49 -05:00
|
|
|
|
2010-10-11 17:40:23 -04:00
|
|
|
sudo: $(OBJS) $(LT_LIBS)
|
2012-04-20 09:41:18 -04:00
|
|
|
$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(LDFLAGS) $(LIBS)
|
2010-02-20 09:41:49 -05:00
|
|
|
|
2010-05-21 17:59:47 -04:00
|
|
|
libsudo_noexec.la: sudo_noexec.lo
|
2011-08-01 19:02:16 -04:00
|
|
|
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LTLDFLAGS) -o $@ sudo_noexec.lo -avoid-version -rpath $(noexecdir)
|
2010-02-20 09:41:49 -05:00
|
|
|
|
2012-01-25 14:58:02 -05:00
|
|
|
sesh: sesh.o error.o exec_common.o @LIBINTL@ $(LT_LIBS)
|
2012-04-20 09:41:18 -04:00
|
|
|
$(LIBTOOL) --mode=link $(CC) -o $@ sesh.o error.o exec_common.o $(LDFLAGS) @LIBINTL@ $(LIBS)
|
2010-04-27 11:56:51 -04:00
|
|
|
|
2011-03-29 15:20:32 -04:00
|
|
|
pre-install:
|
|
|
|
|
2011-12-07 14:33:25 -05:00
|
|
|
install: install-binaries @INSTALL_NOEXEC@
|
2010-02-20 09:41:49 -05:00
|
|
|
|
|
|
|
install-dirs:
|
2010-02-20 14:47:43 -05:00
|
|
|
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \
|
2010-02-20 09:41:49 -05:00
|
|
|
$(DESTDIR)$(noexecdir)
|
|
|
|
|
|
|
|
install-binaries: install-dirs $(PROGS)
|
2010-07-23 11:23:53 -04:00
|
|
|
$(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 04111 sudo $(DESTDIR)$(bindir)/sudo
|
2010-02-20 14:47:43 -05:00
|
|
|
rm -f $(DESTDIR)$(bindir)/sudoedit
|
|
|
|
ln $(DESTDIR)$(bindir)/sudo $(DESTDIR)$(bindir)/sudoedit
|
2012-02-10 11:31:54 -05:00
|
|
|
if [ -f sesh ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0111 sesh $(DESTDIR)$(libexecdir)/sesh; fi
|
2010-02-20 09:41:49 -05:00
|
|
|
|
2010-07-13 08:36:19 -04:00
|
|
|
install-doc:
|
|
|
|
|
2010-05-21 15:31:36 -04:00
|
|
|
install-includes:
|
|
|
|
|
2010-05-21 17:59:47 -04:00
|
|
|
# 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
|
2012-02-09 11:11:58 -05:00
|
|
|
if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m 0755 .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi
|
2010-02-20 09:41:49 -05:00
|
|
|
|
2010-05-21 15:31:36 -04:00
|
|
|
install-plugin:
|
|
|
|
|
2010-07-07 11:42:36 -04:00
|
|
|
uninstall:
|
|
|
|
-rm -f $(DESTDIR)$(bindir)/sudo $(DESTDIR)$(bindir)/sudoedit \
|
|
|
|
$(DESTDIR)$(libexecdir)/sesh \
|
|
|
|
$(DESTDIR)$(noexecdir)/$(noexecfile) \
|
|
|
|
|
2010-02-20 09:41:49 -05:00
|
|
|
check:
|
|
|
|
|
|
|
|
clean:
|
2010-05-28 10:41:58 -04:00
|
|
|
-$(LIBTOOL) --mode=clean rm -f $(PROGS) *.lo *.o *.la *.a stamp-* core *.core core.*
|
2010-02-20 09:41:49 -05:00
|
|
|
|
|
|
|
mostlyclean: clean
|
|
|
|
|
|
|
|
distclean: clean
|
2010-11-09 07:41:34 -05:00
|
|
|
-rm -rf Makefile .libs sudo_usage.h
|
2010-02-20 09:41:49 -05:00
|
|
|
|
|
|
|
clobber: distclean
|
|
|
|
|
|
|
|
realclean: distclean
|
|
|
|
rm -f TAGS tags
|
|
|
|
|
|
|
|
cleandir: realclean
|
2011-05-25 09:02:25 -04:00
|
|
|
|
|
|
|
# Autogenerated dependencies, do not modify
|
|
|
|
conversation.o: $(srcdir)/conversation.c $(top_builddir)/config.h \
|
|
|
|
$(srcdir)/sudo.h $(top_builddir)/pathnames.h \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(top_srcdir)/compat/stdbool.h $(incdir)/missing.h \
|
|
|
|
$(incdir)/alloc.h $(incdir)/error.h $(incdir)/fileops.h \
|
2012-01-13 06:02:17 -05:00
|
|
|
$(incdir)/list.h $(incdir)/sudo_conf.h $(incdir)/list.h \
|
|
|
|
$(incdir)/sudo_debug.h $(incdir)/gettext.h \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(incdir)/sudo_plugin.h $(srcdir)/sudo_plugin_int.h
|
2011-05-25 09:02:25 -04:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/conversation.c
|
2012-03-07 16:35:42 -05:00
|
|
|
env_hooks.o: $(srcdir)/env_hooks.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
|
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/env_hooks.c
|
2011-05-25 09:02:25 -04:00
|
|
|
error.o: $(srcdir)/error.c $(top_builddir)/config.h $(incdir)/missing.h \
|
|
|
|
$(incdir)/error.h $(incdir)/gettext.h
|
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/error.c
|
|
|
|
exec.o: $(srcdir)/exec.c $(top_builddir)/config.h $(srcdir)/sudo.h \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \
|
|
|
|
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \
|
2012-01-13 06:02:17 -05:00
|
|
|
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \
|
|
|
|
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \
|
|
|
|
$(srcdir)/sudo_exec.h $(incdir)/sudo_plugin.h \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(srcdir)/sudo_plugin_int.h
|
2011-05-25 09:02:25 -04:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/exec.c
|
2012-01-25 14:58:02 -05:00
|
|
|
exec_common.o: $(srcdir)/exec_common.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)/exec_common.c
|
2011-05-25 09:02:25 -04:00
|
|
|
exec_pty.o: $(srcdir)/exec_pty.c $(top_builddir)/config.h $(srcdir)/sudo.h \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \
|
|
|
|
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \
|
2012-01-13 06:02:17 -05:00
|
|
|
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \
|
|
|
|
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \
|
|
|
|
$(srcdir)/sudo_exec.h $(incdir)/sudo_plugin.h \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(srcdir)/sudo_plugin_int.h
|
2011-05-25 09:02:25 -04:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/exec_pty.c
|
|
|
|
get_pty.o: $(srcdir)/get_pty.c $(top_builddir)/config.h $(srcdir)/sudo.h \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \
|
|
|
|
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \
|
2012-01-13 06:02:17 -05:00
|
|
|
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \
|
|
|
|
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h
|
2011-05-25 09:02:25 -04:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/get_pty.c
|
2012-03-07 16:35:42 -05:00
|
|
|
hooks.o: $(srcdir)/hooks.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 \
|
|
|
|
$(incdir)/sudo_debug.h
|
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/hooks.c
|
2011-05-25 09:02:25 -04:00
|
|
|
load_plugins.o: $(srcdir)/load_plugins.c $(top_builddir)/config.h \
|
|
|
|
$(top_srcdir)/compat/dlfcn.h $(srcdir)/sudo.h \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \
|
|
|
|
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \
|
2012-01-13 06:02:17 -05:00
|
|
|
$(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
|
2011-05-25 09:02:25 -04:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/load_plugins.c
|
|
|
|
net_ifs.o: $(srcdir)/net_ifs.c $(top_builddir)/config.h $(incdir)/missing.h \
|
2011-10-22 14:40:21 -04:00
|
|
|
$(incdir)/alloc.h $(incdir)/error.h $(incdir)/sudo_debug.h \
|
|
|
|
$(incdir)/gettext.h
|
2011-05-25 09:02:25 -04:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/net_ifs.c
|
|
|
|
parse_args.o: $(srcdir)/parse_args.c $(top_builddir)/config.h ./sudo_usage.h \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(srcdir)/sudo.h $(top_builddir)/pathnames.h \
|
|
|
|
$(top_srcdir)/compat/stdbool.h $(incdir)/missing.h \
|
2011-05-25 09:02:25 -04:00
|
|
|
$(incdir)/alloc.h $(incdir)/error.h $(incdir)/fileops.h \
|
2012-01-13 06:02:17 -05:00
|
|
|
$(incdir)/list.h $(incdir)/sudo_conf.h $(incdir)/list.h \
|
|
|
|
$(incdir)/sudo_debug.h $(incdir)/gettext.h $(incdir)/lbuf.h
|
2011-05-25 09:02:25 -04:00
|
|
|
$(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 \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \
|
|
|
|
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \
|
2012-01-13 06:02:17 -05:00
|
|
|
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \
|
2012-03-15 09:19:28 -04:00
|
|
|
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \
|
|
|
|
$(srcdir)/sudo_exec.h
|
2011-05-25 09:02:25 -04:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/selinux.c
|
2012-01-25 14:58:02 -05:00
|
|
|
sesh.o: $(srcdir)/sesh.c $(top_builddir)/config.h \
|
2012-03-15 09:19:28 -04:00
|
|
|
$(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
|
2011-05-25 09:02:25 -04:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sesh.c
|
|
|
|
sudo.o: $(srcdir)/sudo.c $(top_builddir)/config.h $(srcdir)/sudo.h \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \
|
|
|
|
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \
|
2012-01-13 06:02:17 -05:00
|
|
|
$(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
|
2011-05-25 09:02:25 -04:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sudo.c
|
|
|
|
sudo_edit.o: $(srcdir)/sudo_edit.c $(top_builddir)/config.h $(srcdir)/sudo.h \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \
|
|
|
|
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \
|
2012-01-13 06:02:17 -05:00
|
|
|
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \
|
|
|
|
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h
|
2011-05-25 09:02:25 -04:00
|
|
|
$(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 \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \
|
|
|
|
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \
|
2012-01-13 06:02:17 -05:00
|
|
|
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \
|
|
|
|
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h
|
2011-05-25 09:02:25 -04:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/tgetpass.c
|
2012-01-13 06:01:58 -05:00
|
|
|
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
|
2011-05-25 09:02:25 -04:00
|
|
|
utmp.o: $(srcdir)/utmp.c $(top_builddir)/config.h $(srcdir)/sudo.h \
|
2011-12-05 10:43:44 -05:00
|
|
|
$(top_builddir)/pathnames.h $(top_srcdir)/compat/stdbool.h \
|
|
|
|
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \
|
2012-01-13 06:02:17 -05:00
|
|
|
$(incdir)/fileops.h $(incdir)/list.h $(incdir)/sudo_conf.h \
|
|
|
|
$(incdir)/list.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \
|
|
|
|
$(srcdir)/sudo_exec.h
|
2011-05-25 09:02:25 -04:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/utmp.c
|