# Makefile.in generated automatically by automake 1.4a from Makefile.am

# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@

top_builddir = ..

ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :

@SET_MAKE@
host_alias = @host_alias@
host_triplet = @host@
AMDEP = @AMDEP@
AMTAR = @AMTAR@
AWK = @AWK@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
CPP = @CPP@
CXX = @CXX@
CXXCPP = @CXXCPP@
DATADIRNAME = @DATADIRNAME@
DEPDIR = @DEPDIR@
DF_PROG = @DF_PROG@
FESETROUND_LIBM = @FESETROUND_LIBM@
GENCAT = @GENCAT@
GETCONF = @GETCONF@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
GT_NO = @GT_NO@
GT_YES = @GT_YES@
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
INSTOBJEXT = @INSTOBJEXT@
INTLDEPS = @INTLDEPS@
INTLLIBS = @INTLLIBS@
INTLOBJS = @INTLOBJS@
KMEM_GROUP = @KMEM_GROUP@
LIBICONV = @LIBICONV@
LIBOBJS = @LIBOBJS@
LIB_CRYPT = @LIB_CRYPT@
MAKEINFO = @MAKEINFO@
MAN = @MAN@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
NEED_SETGID = @NEED_SETGID@
OPTIONAL_BIN_PROGS = @OPTIONAL_BIN_PROGS@
OPTIONAL_BIN_ZCRIPTS = @OPTIONAL_BIN_ZCRIPTS@
PACKAGE = @PACKAGE@
PERL = @PERL@
POFILES = @POFILES@
POSUB = @POSUB@
POW_LIBM = @POW_LIBM@
RANLIB = @RANLIB@
SQRT_LIBM = @SQRT_LIBM@
U = @U@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
YACC = @YACC@
install_sh = @install_sh@
l = @l@


AUTOMAKE_OPTIONS = ansi2knr

EXTRA_PROGRAMS = chroot hostid nice stty uname uptime su
EXTRA_SCRIPTS = nohup

bin_SCRIPTS = groups @OPTIONAL_BIN_ZCRIPTS@

bin_PROGRAMS = basename date dirname echo env expr factor false \
  hostname id logname pathchk pinky printenv printf pwd seq \
  sleep tee test true tty users who whoami yes @OPTIONAL_BIN_PROGS@


datadir = $(prefix)/@DATADIRNAME@
localedir = $(datadir)/locale

noinst_HEADERS = sys2.h system.h
EXTRA_DIST = ansi2knr.1 ansi2knr.c \
  groups.sh nohup.sh

CLEANFILES = $(SCRIPTS) su

INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/lib -I../intl
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
LDADD = @INTLLIBS@ ../lib/libfetish.a

# For sqrt
factor_LDADD = $(LDADD) @SQRT_LIBM@
factor_DEPENDENCIES = $(LDADD)

# If necessary, add -lm to resolve use of pow in lib/strtod.c.
# If necessary, add -liconv to resolve use of iconv in lib/unicodeio.c.
printf_LDADD = $(LDADD) @POW_LIBM@ @LIBICONV@
printf_DEPENDENCIES = $(LDADD)

# For floor, rint, modf
seq_LDADD = $(LDADD) -lm
seq_DEPENDENCIES = $(LDADD)

# If necessary, add -lm to resolve the `pow' reference in lib/strtod.c
# or for the fesetround reference in sleep.c.
sleep_LDADD = $(LDADD) @FESETROUND_LIBM@ @POW_LIBM@
sleep_DEPENDENCIES = $(LDADD)

uptime_LDADD = $(LDADD) @GETLOADAVG_LIBS@
uptime_DEPENDENCIES = $(LDADD)

su_LDADD = $(LDADD) @LIB_CRYPT@
su_DEPENDENCIES = $(LDADD)

SUFFIXES = .sh

installed_su = $(DESTDIR)$(bindir)/`echo su|sed '$(transform)'`

setuid_root_mode = a=rx,u+s

INSTALL_SU = \
  p=su; \
  echo " $(INSTALL_PROGRAM) $$p $(installed_su)"; \
  $(INSTALL_PROGRAM) $$p $(installed_su); \
  echo " chown root $(installed_su)"; \
  chown root $(installed_su); \
  echo " chmod $(setuid_root_mode) $(installed_su)"; \
  chmod $(setuid_root_mode) $(installed_su)


BUILT_SOURCES = false.c
subdir = src
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES = 
PROGRAMS =  $(bin_PROGRAMS)

CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
ANSI2KNR = @ANSI2KNR@
basename_SOURCES = basename.c
basename_OBJECTS =  basename$U.o
basename_LDADD = $(LDADD)
basename_DEPENDENCIES =  ../lib/libfetish.a
basename_LDFLAGS = 
chroot_SOURCES = chroot.c
chroot_OBJECTS =  chroot$U.o
chroot_LDADD = $(LDADD)
chroot_DEPENDENCIES =  ../lib/libfetish.a
chroot_LDFLAGS = 
date_SOURCES = date.c
date_OBJECTS =  date$U.o
date_LDADD = $(LDADD)
date_DEPENDENCIES =  ../lib/libfetish.a
date_LDFLAGS = 
dirname_SOURCES = dirname.c
dirname_OBJECTS =  dirname$U.o
dirname_LDADD = $(LDADD)
dirname_DEPENDENCIES =  ../lib/libfetish.a
dirname_LDFLAGS = 
echo_SOURCES = echo.c
echo_OBJECTS =  echo$U.o
echo_LDADD = $(LDADD)
echo_DEPENDENCIES =  ../lib/libfetish.a
echo_LDFLAGS = 
env_SOURCES = env.c
env_OBJECTS =  env$U.o
env_LDADD = $(LDADD)
env_DEPENDENCIES =  ../lib/libfetish.a
env_LDFLAGS = 
expr_SOURCES = expr.c
expr_OBJECTS =  expr$U.o
expr_LDADD = $(LDADD)
expr_DEPENDENCIES =  ../lib/libfetish.a
expr_LDFLAGS = 
factor_SOURCES = factor.c
factor_OBJECTS =  factor$U.o
factor_LDFLAGS = 
false_SOURCES = false.c
false_OBJECTS =  false$U.o
false_LDADD = $(LDADD)
false_DEPENDENCIES =  ../lib/libfetish.a
false_LDFLAGS = 
hostid_SOURCES = hostid.c
hostid_OBJECTS =  hostid$U.o
hostid_LDADD = $(LDADD)
hostid_DEPENDENCIES =  ../lib/libfetish.a
hostid_LDFLAGS = 
hostname_SOURCES = hostname.c
hostname_OBJECTS =  hostname$U.o
hostname_LDADD = $(LDADD)
hostname_DEPENDENCIES =  ../lib/libfetish.a
hostname_LDFLAGS = 
id_SOURCES = id.c
id_OBJECTS =  id$U.o
id_LDADD = $(LDADD)
id_DEPENDENCIES =  ../lib/libfetish.a
id_LDFLAGS = 
logname_SOURCES = logname.c
logname_OBJECTS =  logname$U.o
logname_LDADD = $(LDADD)
logname_DEPENDENCIES =  ../lib/libfetish.a
logname_LDFLAGS = 
nice_SOURCES = nice.c
nice_OBJECTS =  nice$U.o
nice_LDADD = $(LDADD)
nice_DEPENDENCIES =  ../lib/libfetish.a
nice_LDFLAGS = 
pathchk_SOURCES = pathchk.c
pathchk_OBJECTS =  pathchk$U.o
pathchk_LDADD = $(LDADD)
pathchk_DEPENDENCIES =  ../lib/libfetish.a
pathchk_LDFLAGS = 
pinky_SOURCES = pinky.c
pinky_OBJECTS =  pinky$U.o
pinky_LDADD = $(LDADD)
pinky_DEPENDENCIES =  ../lib/libfetish.a
pinky_LDFLAGS = 
printenv_SOURCES = printenv.c
printenv_OBJECTS =  printenv$U.o
printenv_LDADD = $(LDADD)
printenv_DEPENDENCIES =  ../lib/libfetish.a
printenv_LDFLAGS = 
printf_SOURCES = printf.c
printf_OBJECTS =  printf$U.o
printf_LDFLAGS = 
pwd_SOURCES = pwd.c
pwd_OBJECTS =  pwd$U.o
pwd_LDADD = $(LDADD)
pwd_DEPENDENCIES =  ../lib/libfetish.a
pwd_LDFLAGS = 
seq_SOURCES = seq.c
seq_OBJECTS =  seq$U.o
seq_LDFLAGS = 
sleep_SOURCES = sleep.c
sleep_OBJECTS =  sleep$U.o
sleep_LDFLAGS = 
stty_SOURCES = stty.c
stty_OBJECTS =  stty$U.o
stty_LDADD = $(LDADD)
stty_DEPENDENCIES =  ../lib/libfetish.a
stty_LDFLAGS = 
su_SOURCES = su.c
su_OBJECTS =  su$U.o
su_LDFLAGS = 
tee_SOURCES = tee.c
tee_OBJECTS =  tee$U.o
tee_LDADD = $(LDADD)
tee_DEPENDENCIES =  ../lib/libfetish.a
tee_LDFLAGS = 
test_SOURCES = test.c
test_OBJECTS =  test$U.o
test_LDADD = $(LDADD)
test_DEPENDENCIES =  ../lib/libfetish.a
test_LDFLAGS = 
true_SOURCES = true.c
true_OBJECTS =  true$U.o
true_LDADD = $(LDADD)
true_DEPENDENCIES =  ../lib/libfetish.a
true_LDFLAGS = 
tty_SOURCES = tty.c
tty_OBJECTS =  tty$U.o
tty_LDADD = $(LDADD)
tty_DEPENDENCIES =  ../lib/libfetish.a
tty_LDFLAGS = 
uname_SOURCES = uname.c
uname_OBJECTS =  uname$U.o
uname_LDADD = $(LDADD)
uname_DEPENDENCIES =  ../lib/libfetish.a
uname_LDFLAGS = 
uptime_SOURCES = uptime.c
uptime_OBJECTS =  uptime$U.o
uptime_LDFLAGS = 
users_SOURCES = users.c
users_OBJECTS =  users$U.o
users_LDADD = $(LDADD)
users_DEPENDENCIES =  ../lib/libfetish.a
users_LDFLAGS = 
who_SOURCES = who.c
who_OBJECTS =  who$U.o
who_LDADD = $(LDADD)
who_DEPENDENCIES =  ../lib/libfetish.a
who_LDFLAGS = 
whoami_SOURCES = whoami.c
whoami_OBJECTS =  whoami$U.o
whoami_LDADD = $(LDADD)
whoami_DEPENDENCIES =  ../lib/libfetish.a
whoami_LDFLAGS = 
yes_SOURCES = yes.c
yes_OBJECTS =  yes$U.o
yes_LDADD = $(LDADD)
yes_DEPENDENCIES =  ../lib/libfetish.a
yes_LDFLAGS = 
SCRIPTS =  $(bin_SCRIPTS)

COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CFLAGS = @CFLAGS@
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
DIST_SOURCES =  basename.c chroot.c date.c dirname.c echo.c env.c expr.c \
factor.c false.c hostid.c hostname.c id.c logname.c nice.c pathchk.c \
pinky.c printenv.c printf.c pwd.c seq.c sleep.c stty.c su.c tee.c \
test.c true.c tty.c uname.c uptime.c users.c who.c whoami.c yes.c
HEADERS =  $(noinst_HEADERS)

depcomp = $(SHELL) $(top_srcdir)/depcomp
DEP_FILES =  @AMDEP@ $(DEPDIR)/basename$U.Po $(DEPDIR)/chroot$U.Po \
$(DEPDIR)/date$U.Po $(DEPDIR)/dirname$U.Po $(DEPDIR)/echo$U.Po \
$(DEPDIR)/env$U.Po $(DEPDIR)/expr$U.Po $(DEPDIR)/factor$U.Po \
$(DEPDIR)/false$U.Po $(DEPDIR)/hostid$U.Po $(DEPDIR)/hostname$U.Po \
$(DEPDIR)/id$U.Po $(DEPDIR)/logname$U.Po $(DEPDIR)/nice$U.Po \
$(DEPDIR)/pathchk$U.Po $(DEPDIR)/pinky$U.Po $(DEPDIR)/printenv$U.Po \
$(DEPDIR)/printf$U.Po $(DEPDIR)/pwd$U.Po $(DEPDIR)/seq$U.Po \
$(DEPDIR)/sleep$U.Po $(DEPDIR)/stty$U.Po $(DEPDIR)/su$U.Po \
$(DEPDIR)/tee$U.Po $(DEPDIR)/test$U.Po $(DEPDIR)/true$U.Po \
$(DEPDIR)/tty$U.Po $(DEPDIR)/uname$U.Po $(DEPDIR)/uptime$U.Po \
$(DEPDIR)/users$U.Po $(DEPDIR)/who$U.Po $(DEPDIR)/whoami$U.Po \
$(DEPDIR)/yes$U.Po
DIST_COMMON =  $(noinst_HEADERS) Makefile.am Makefile.in TODO ansi2knr.1 \
ansi2knr.c


DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

GZIP_ENV = --best
SOURCES = basename.c chroot.c date.c dirname.c echo.c env.c expr.c factor.c false.c hostid.c hostname.c id.c logname.c nice.c pathchk.c pinky.c printenv.c printf.c pwd.c seq.c sleep.c stty.c su.c tee.c test.c true.c tty.c uname.c uptime.c users.c who.c whoami.c yes.c
OBJECTS = basename$U.o chroot$U.o date$U.o dirname$U.o echo$U.o env$U.o expr$U.o factor$U.o false$U.o hostid$U.o hostname$U.o id$U.o logname$U.o nice$U.o pathchk$U.o pinky$U.o printenv$U.o printf$U.o pwd$U.o seq$U.o sleep$U.o stty$U.o su$U.o tee$U.o test$U.o true$U.o tty$U.o uname$U.o uptime$U.o users$U.o who$U.o whoami$U.o yes$U.o

all: all-redirect
.SUFFIXES:
.SUFFIXES: .c .o .sh
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnits src/Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status


mostlyclean-binPROGRAMS:

clean-binPROGRAMS:
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)

distclean-binPROGRAMS:

maintainer-clean-binPROGRAMS:

install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  if test -f $$p; then \
	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
	    echo "  $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
	     $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
	  rm -f $(DESTDIR)$(bindir)/$$f; \
	done

mostlyclean-compile:
	-rm -f *.o core *.core

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

mostlyclean-krextra:

clean-krextra:
	-rm -f ansi2knr

distclean-krextra:

maintainer-clean-krextra:
ansi2knr: ansi2knr.o
	$(LINK) ansi2knr.o $(LIBS)
ansi2knr.o: $(CONFIG_HEADER)


mostlyclean-kr:
	-rm -f *_.c

clean-kr:

distclean-kr:

maintainer-clean-kr:

basename: $(basename_OBJECTS) $(basename_DEPENDENCIES)
	@rm -f basename
	$(LINK) $(basename_LDFLAGS) $(basename_OBJECTS) $(basename_LDADD) $(LIBS)

chroot: $(chroot_OBJECTS) $(chroot_DEPENDENCIES)
	@rm -f chroot
	$(LINK) $(chroot_LDFLAGS) $(chroot_OBJECTS) $(chroot_LDADD) $(LIBS)

date: $(date_OBJECTS) $(date_DEPENDENCIES)
	@rm -f date
	$(LINK) $(date_LDFLAGS) $(date_OBJECTS) $(date_LDADD) $(LIBS)

dirname: $(dirname_OBJECTS) $(dirname_DEPENDENCIES)
	@rm -f dirname
	$(LINK) $(dirname_LDFLAGS) $(dirname_OBJECTS) $(dirname_LDADD) $(LIBS)

echo: $(echo_OBJECTS) $(echo_DEPENDENCIES)
	@rm -f echo
	$(LINK) $(echo_LDFLAGS) $(echo_OBJECTS) $(echo_LDADD) $(LIBS)

env: $(env_OBJECTS) $(env_DEPENDENCIES)
	@rm -f env
	$(LINK) $(env_LDFLAGS) $(env_OBJECTS) $(env_LDADD) $(LIBS)

expr: $(expr_OBJECTS) $(expr_DEPENDENCIES)
	@rm -f expr
	$(LINK) $(expr_LDFLAGS) $(expr_OBJECTS) $(expr_LDADD) $(LIBS)

factor: $(factor_OBJECTS) $(factor_DEPENDENCIES)
	@rm -f factor
	$(LINK) $(factor_LDFLAGS) $(factor_OBJECTS) $(factor_LDADD) $(LIBS)

false: $(false_OBJECTS) $(false_DEPENDENCIES)
	@rm -f false
	$(LINK) $(false_LDFLAGS) $(false_OBJECTS) $(false_LDADD) $(LIBS)

hostid: $(hostid_OBJECTS) $(hostid_DEPENDENCIES)
	@rm -f hostid
	$(LINK) $(hostid_LDFLAGS) $(hostid_OBJECTS) $(hostid_LDADD) $(LIBS)

hostname: $(hostname_OBJECTS) $(hostname_DEPENDENCIES)
	@rm -f hostname
	$(LINK) $(hostname_LDFLAGS) $(hostname_OBJECTS) $(hostname_LDADD) $(LIBS)

id: $(id_OBJECTS) $(id_DEPENDENCIES)
	@rm -f id
	$(LINK) $(id_LDFLAGS) $(id_OBJECTS) $(id_LDADD) $(LIBS)

logname: $(logname_OBJECTS) $(logname_DEPENDENCIES)
	@rm -f logname
	$(LINK) $(logname_LDFLAGS) $(logname_OBJECTS) $(logname_LDADD) $(LIBS)

nice: $(nice_OBJECTS) $(nice_DEPENDENCIES)
	@rm -f nice
	$(LINK) $(nice_LDFLAGS) $(nice_OBJECTS) $(nice_LDADD) $(LIBS)

pathchk: $(pathchk_OBJECTS) $(pathchk_DEPENDENCIES)
	@rm -f pathchk
	$(LINK) $(pathchk_LDFLAGS) $(pathchk_OBJECTS) $(pathchk_LDADD) $(LIBS)

pinky: $(pinky_OBJECTS) $(pinky_DEPENDENCIES)
	@rm -f pinky
	$(LINK) $(pinky_LDFLAGS) $(pinky_OBJECTS) $(pinky_LDADD) $(LIBS)

printenv: $(printenv_OBJECTS) $(printenv_DEPENDENCIES)
	@rm -f printenv
	$(LINK) $(printenv_LDFLAGS) $(printenv_OBJECTS) $(printenv_LDADD) $(LIBS)

printf: $(printf_OBJECTS) $(printf_DEPENDENCIES)
	@rm -f printf
	$(LINK) $(printf_LDFLAGS) $(printf_OBJECTS) $(printf_LDADD) $(LIBS)

pwd: $(pwd_OBJECTS) $(pwd_DEPENDENCIES)
	@rm -f pwd
	$(LINK) $(pwd_LDFLAGS) $(pwd_OBJECTS) $(pwd_LDADD) $(LIBS)

seq: $(seq_OBJECTS) $(seq_DEPENDENCIES)
	@rm -f seq
	$(LINK) $(seq_LDFLAGS) $(seq_OBJECTS) $(seq_LDADD) $(LIBS)

sleep: $(sleep_OBJECTS) $(sleep_DEPENDENCIES)
	@rm -f sleep
	$(LINK) $(sleep_LDFLAGS) $(sleep_OBJECTS) $(sleep_LDADD) $(LIBS)

stty: $(stty_OBJECTS) $(stty_DEPENDENCIES)
	@rm -f stty
	$(LINK) $(stty_LDFLAGS) $(stty_OBJECTS) $(stty_LDADD) $(LIBS)

su: $(su_OBJECTS) $(su_DEPENDENCIES)
	@rm -f su
	$(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS)

tee: $(tee_OBJECTS) $(tee_DEPENDENCIES)
	@rm -f tee
	$(LINK) $(tee_LDFLAGS) $(tee_OBJECTS) $(tee_LDADD) $(LIBS)

test: $(test_OBJECTS) $(test_DEPENDENCIES)
	@rm -f test
	$(LINK) $(test_LDFLAGS) $(test_OBJECTS) $(test_LDADD) $(LIBS)

true: $(true_OBJECTS) $(true_DEPENDENCIES)
	@rm -f true
	$(LINK) $(true_LDFLAGS) $(true_OBJECTS) $(true_LDADD) $(LIBS)

tty: $(tty_OBJECTS) $(tty_DEPENDENCIES)
	@rm -f tty
	$(LINK) $(tty_LDFLAGS) $(tty_OBJECTS) $(tty_LDADD) $(LIBS)

uname: $(uname_OBJECTS) $(uname_DEPENDENCIES)
	@rm -f uname
	$(LINK) $(uname_LDFLAGS) $(uname_OBJECTS) $(uname_LDADD) $(LIBS)

uptime: $(uptime_OBJECTS) $(uptime_DEPENDENCIES)
	@rm -f uptime
	$(LINK) $(uptime_LDFLAGS) $(uptime_OBJECTS) $(uptime_LDADD) $(LIBS)

users: $(users_OBJECTS) $(users_DEPENDENCIES)
	@rm -f users
	$(LINK) $(users_LDFLAGS) $(users_OBJECTS) $(users_LDADD) $(LIBS)

who: $(who_OBJECTS) $(who_DEPENDENCIES)
	@rm -f who
	$(LINK) $(who_LDFLAGS) $(who_OBJECTS) $(who_LDADD) $(LIBS)

whoami: $(whoami_OBJECTS) $(whoami_DEPENDENCIES)
	@rm -f whoami
	$(LINK) $(whoami_LDFLAGS) $(whoami_OBJECTS) $(whoami_LDADD) $(LIBS)

yes: $(yes_OBJECTS) $(yes_DEPENDENCIES)
	@rm -f yes
	$(LINK) $(yes_LDFLAGS) $(yes_OBJECTS) $(yes_LDADD) $(LIBS)

install-binSCRIPTS: $(bin_SCRIPTS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_SCRIPTS)'; for p in $$list; do \
	  f="`echo $$p|sed '$(transform)'`"; \
	  if test -f $$p; then \
	    echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
	    $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
	  elif test -f $(srcdir)/$$p; then \
	    echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
	    $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
	  else :; fi; \
	done

uninstall-binSCRIPTS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_SCRIPTS)'; for p in $$list; do \
	  f="`echo $$p|sed '$(transform)'`"; \
	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
	  rm -f $(DESTDIR)$(bindir)/$$f; \
	done
basename_.c: basename.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/basename.c; then echo $(srcdir)/basename.c; else echo basename.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > basename_.c
chroot_.c: chroot.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/chroot.c; then echo $(srcdir)/chroot.c; else echo chroot.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > chroot_.c
date_.c: date.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/date.c; then echo $(srcdir)/date.c; else echo date.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > date_.c
dirname_.c: dirname.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dirname.c; then echo $(srcdir)/dirname.c; else echo dirname.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > dirname_.c
echo_.c: echo.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/echo.c; then echo $(srcdir)/echo.c; else echo echo.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > echo_.c
env_.c: env.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/env.c; then echo $(srcdir)/env.c; else echo env.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > env_.c
expr_.c: expr.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/expr.c; then echo $(srcdir)/expr.c; else echo expr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > expr_.c
factor_.c: factor.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/factor.c; then echo $(srcdir)/factor.c; else echo factor.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > factor_.c
false_.c: false.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/false.c; then echo $(srcdir)/false.c; else echo false.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > false_.c
hostid_.c: hostid.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/hostid.c; then echo $(srcdir)/hostid.c; else echo hostid.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > hostid_.c
hostname_.c: hostname.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/hostname.c; then echo $(srcdir)/hostname.c; else echo hostname.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > hostname_.c
id_.c: id.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/id.c; then echo $(srcdir)/id.c; else echo id.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > id_.c
logname_.c: logname.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/logname.c; then echo $(srcdir)/logname.c; else echo logname.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > logname_.c
nice_.c: nice.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/nice.c; then echo $(srcdir)/nice.c; else echo nice.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > nice_.c
pathchk_.c: pathchk.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/pathchk.c; then echo $(srcdir)/pathchk.c; else echo pathchk.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > pathchk_.c
pinky_.c: pinky.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/pinky.c; then echo $(srcdir)/pinky.c; else echo pinky.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > pinky_.c
printenv_.c: printenv.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/printenv.c; then echo $(srcdir)/printenv.c; else echo printenv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > printenv_.c
printf_.c: printf.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/printf.c; then echo $(srcdir)/printf.c; else echo printf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > printf_.c
pwd_.c: pwd.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/pwd.c; then echo $(srcdir)/pwd.c; else echo pwd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > pwd_.c
seq_.c: seq.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/seq.c; then echo $(srcdir)/seq.c; else echo seq.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > seq_.c
sleep_.c: sleep.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/sleep.c; then echo $(srcdir)/sleep.c; else echo sleep.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > sleep_.c
stty_.c: stty.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/stty.c; then echo $(srcdir)/stty.c; else echo stty.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > stty_.c
su_.c: su.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/su.c; then echo $(srcdir)/su.c; else echo su.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > su_.c
tee_.c: tee.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tee.c; then echo $(srcdir)/tee.c; else echo tee.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tee_.c
test_.c: test.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/test.c; then echo $(srcdir)/test.c; else echo test.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > test_.c
true_.c: true.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/true.c; then echo $(srcdir)/true.c; else echo true.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > true_.c
tty_.c: tty.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tty.c; then echo $(srcdir)/tty.c; else echo tty.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tty_.c
uname_.c: uname.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/uname.c; then echo $(srcdir)/uname.c; else echo uname.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > uname_.c
uptime_.c: uptime.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/uptime.c; then echo $(srcdir)/uptime.c; else echo uptime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > uptime_.c
users_.c: users.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/users.c; then echo $(srcdir)/users.c; else echo users.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > users_.c
who_.c: who.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/who.c; then echo $(srcdir)/who.c; else echo who.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > who_.c
whoami_.c: whoami.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/whoami.c; then echo $(srcdir)/whoami.c; else echo whoami.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > whoami_.c
yes_.c: yes.c $(ANSI2KNR)
	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/yes.c; then echo $(srcdir)/yes.c; else echo yes.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > yes_.c
basename_.o chroot_.o date_.o dirname_.o echo_.o env_.o expr_.o \
factor_.o false_.o hostid_.o hostname_.o id_.o logname_.o nice_.o \
pathchk_.o pinky_.o printenv_.o printf_.o pwd_.o seq_.o sleep_.o \
stty_.o su_.o tee_.o test_.o true_.o tty_.o uname_.o uptime_.o users_.o \
who_.o whoami_.o yes_.o : $(ANSI2KNR)

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	mkid -fID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

@AMDEP@include $(DEPDIR)/basename$U.Po
@AMDEP@include $(DEPDIR)/chroot$U.Po
@AMDEP@include $(DEPDIR)/date$U.Po
@AMDEP@include $(DEPDIR)/dirname$U.Po
@AMDEP@include $(DEPDIR)/echo$U.Po
@AMDEP@include $(DEPDIR)/env$U.Po
@AMDEP@include $(DEPDIR)/expr$U.Po
@AMDEP@include $(DEPDIR)/factor$U.Po
@AMDEP@include $(DEPDIR)/false$U.Po
@AMDEP@include $(DEPDIR)/hostid$U.Po
@AMDEP@include $(DEPDIR)/hostname$U.Po
@AMDEP@include $(DEPDIR)/id$U.Po
@AMDEP@include $(DEPDIR)/logname$U.Po
@AMDEP@include $(DEPDIR)/nice$U.Po
@AMDEP@include $(DEPDIR)/pathchk$U.Po
@AMDEP@include $(DEPDIR)/pinky$U.Po
@AMDEP@include $(DEPDIR)/printenv$U.Po
@AMDEP@include $(DEPDIR)/printf$U.Po
@AMDEP@include $(DEPDIR)/pwd$U.Po
@AMDEP@include $(DEPDIR)/seq$U.Po
@AMDEP@include $(DEPDIR)/sleep$U.Po
@AMDEP@include $(DEPDIR)/stty$U.Po
@AMDEP@include $(DEPDIR)/su$U.Po
@AMDEP@include $(DEPDIR)/tee$U.Po
@AMDEP@include $(DEPDIR)/test$U.Po
@AMDEP@include $(DEPDIR)/true$U.Po
@AMDEP@include $(DEPDIR)/tty$U.Po
@AMDEP@include $(DEPDIR)/uname$U.Po
@AMDEP@include $(DEPDIR)/uptime$U.Po
@AMDEP@include $(DEPDIR)/users$U.Po
@AMDEP@include $(DEPDIR)/who$U.Po
@AMDEP@include $(DEPDIR)/whoami$U.Po
@AMDEP@include $(DEPDIR)/yes$U.Po

mostlyclean-depend:

clean-depend:

distclean-depend:
	-rm -rf $(DEPDIR)

maintainer-clean-depend:

@AMDEP@CCDEPMODE = @CCDEPMODE@

.c.o:
@AMDEP@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@AMDEP@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
	$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<


distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pR $$d/$$file $(distdir) \
	    || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am: install-binPROGRAMS install-binSCRIPTS \
		install-exec-local
install-exec: install-exec-am

install-data-am:
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-local
uninstall: uninstall-am
all-am: Makefile $(ANSI2KNR) $(PROGRAMS) $(SCRIPTS) $(HEADERS) all-local
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)


mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
	-rm -f Makefile.in
	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
		mostlyclean-krextra mostlyclean-kr mostlyclean-tags \
		mostlyclean-depend mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-binPROGRAMS clean-compile clean-krextra clean-kr \
		clean-tags clean-depend clean-generic mostlyclean-am

clean: clean-am

distclean-am:  distclean-binPROGRAMS distclean-compile distclean-krextra \
		distclean-kr distclean-tags distclean-depend \
		distclean-generic clean-am

distclean: distclean-am

maintainer-clean-am:  maintainer-clean-binPROGRAMS \
		maintainer-clean-compile maintainer-clean-krextra \
		maintainer-clean-kr maintainer-clean-tags \
		maintainer-clean-depend maintainer-clean-generic \
		distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am

.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile mostlyclean-krextra distclean-krextra \
clean-krextra maintainer-clean-krextra mostlyclean-kr distclean-kr \
clean-kr maintainer-clean-kr uninstall-binSCRIPTS install-binSCRIPTS \
tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
mostlyclean-depend distclean-depend clean-depend \
maintainer-clean-depend distdir info-am info dvi-am dvi check check-am \
installcheck-am installcheck install-exec-local install-exec-am \
install-exec install-data-am install-data install-am install \
uninstall-local uninstall-am uninstall all-local all-redirect all-am \
all install-strip installdirs mostlyclean-generic distclean-generic \
clean-generic maintainer-clean-generic clean mostlyclean distclean \
maintainer-clean


$(PROGRAMS): ../lib/libfetish.a

$(SCRIPTS): Makefile

.sh:
	rm -f $@ $@-t
	sed \
	  -e 's!@''bindir''@!$(bindir)!' \
	  -e 's/@''GNU_PACKAGE''@/@GNU_PACKAGE@/' \
	  -e 's/@''VERSION''@/@VERSION@/' $< > $@-t
	chmod +x $@-t
	mv $@-t $@

all-local: su

install-root: su
	@$(INSTALL_SU)

install-exec-local: su
	@TMPFILE=$(DESTDIR)$(bindir)/.su-$$$$; \
	rm -f $$TMPFILE; \
	echo > $$TMPFILE; \
	can_create_suid_root_executable=no; \
	chown root $$TMPFILE > /dev/null 2>&1 \
	  && chmod $(setuid_root_mode) $$TMPFILE > /dev/null 2>&1 \
	  && can_create_suid_root_executable=yes; \
	rm -f $$TMPFILE; \
	if test $$can_create_suid_root_executable = yes; then \
	  $(INSTALL_SU); \
	else \
	  echo "WARNING: insufficient access; not installing su"; \
	  echo "NOTE: to install su, run 'make install-root' as root"; \
	fi

uninstall-local:
# Remove su only if it's one we installed.
	@if grep 'GNU sh-utils' $(installed_su) > /dev/null 2>&1; then \
	  echo "  rm -f $(installed_su)"; \
	  rm -f $(installed_su); \
	else :; fi

false.c: true.c
	sed \
	  -e s/true/false/g \
	  -e s/success/failure/g \
	  -e s/EXIT_SUCCESS/EXIT_FAILURE/g \
	  $(srcdir)/true.c > $@-t
	mv $@-t $@

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
