summaryrefslogtreecommitdiffstats
path: root/examples/Makefile.in
blob: b89f3be41c21562492674620909d2a0a9f27cd7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#
# SPDX-License-Identifier: ISC
#
# Copyright (c) 2014, 2017-2020 Todd C. Miller <Todd.Miller@sudo.ws>
#
# 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.
#
# @configure_input@
#

#### Start of system configuration section. ####

srcdir = @srcdir@
abs_srcdir = @abs_srcdir@
top_srcdir = @top_srcdir@
abs_top_srcdir = @abs_top_srcdir@
top_builddir = @top_builddir@
abs_top_builddir = @abs_top_builddir@
exampledir = @exampledir@
docdir = @docdir@
scriptdir = $(top_srcdir)/scripts

# Our install program supports extra flags...
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
INSTALL_OWNER = -o $(install_uid) -g $(install_gid)

# Where to install things...
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
sysconfdir = @sysconfdir@
libexecdir = @libexecdir@
datarootdir = @datarootdir@
localstatedir = @localstatedir@

# User and group ids the installed files should be "owned" by
install_uid = 0
install_gid = 0

#### End of system configuration section. ####

SHELL = @SHELL@

LOGSRVD_CONF = @LOGSRVD_CONF@

EXAMPLES = $(srcdir)/pam.conf sudo.conf $(LOGSRVD_CONF) \
	   $(srcdir)/sudoers $(srcdir)/syslog.conf
 
VERSION = @PACKAGE_VERSION@
PACKAGE_TARNAME = @PACKAGE_TARNAME@

all: $(EXAMPLES)

depend:

Makefile: $(srcdir)/Makefile.in
	cd $(top_builddir) && ./config.status --file examples/Makefile

sudo.conf: $(srcdir)/sudo.conf.in
	cd $(top_builddir) && ./config.status --file examples/sudo.conf

pre-install:

install: install-doc

install-dirs:
	$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(exampledir)

install-binaries:

install-includes:

install-doc: install-dirs
	for f in $(EXAMPLES); do $(INSTALL) $(INSTALL_OWNER) -m 0644 $$f $(DESTDIR)$(exampledir); done
	test -r $(DESTDIR)$(sysconfdir)/sudo.conf || \
	    $(INSTALL) $(INSTALL_OWNER) -m 0644 sudo.conf $(DESTDIR)$(sysconfdir)
	if test -n "$(LOGSRVD_CONF)" -a ! -r $(DESTDIR)$(sysconfdir)/sudo_logsrvd.conf; then \
	    $(INSTALL) $(INSTALL_OWNER) -m 0644 $(LOGSRVD_CONF) $(DESTDIR)$(sysconfdir); \
	fi

install-plugin:

uninstall:
	-rm -rf	$(DESTDIR)$(exampledir)

splint:

cppcheck:

pvs-log-files:

pvs-studio:

check:

clean:

mostlyclean: clean

distclean: clean
	-rm -rf Makefile

clobber: distclean

realclean: distclean

cleandir: distclean