1: #
2: # Copyright (c) 2011-2014 Todd C. Miller <Todd.Miller@courtesan.com>
3: #
4: # Permission to use, copy, modify, and distribute this software for any
5: # purpose with or without fee is hereby granted, provided that the above
6: # copyright notice and this permission notice appear in all copies.
7: #
8: # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9: # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10: # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11: # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12: # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13: # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14: # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15: # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
16: #
17: # @configure_input@
18: #
19:
20: #### Start of system configuration section. ####
21:
22: srcdir = @srcdir@
23: top_builddir = @top_builddir@
24: top_srcdir = @top_srcdir@
25: includedir = @includedir@
26: cross_compiling = @CROSS_COMPILING@
27:
28: # Our install program supports extra flags...
29: INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
30:
31: # Where to install things...
32: prefix = @prefix@
33: exec_prefix = @exec_prefix@
34: bindir = @bindir@
35: sbindir = @sbindir@
36: sysconfdir = @sysconfdir@
37: libexecdir = @libexecdir@
38: datarootdir = @datarootdir@
39: localstatedir = @localstatedir@
40:
41: # User and group ids the installed files should be "owned" by
42: install_uid = 0
43: install_gid = 0
44:
45: #### End of system configuration section. ####
46:
47: SHELL = @SHELL@
48:
49: all:
50:
51: Makefile: $(srcdir)/Makefile.in
52: (cd $(top_builddir) && ./config.status --file include/Makefile)
53:
54: .SUFFIXES: .h
55:
56: pre-install:
57:
58: install: install-includes
59:
60: install-dirs:
61: $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(includedir)
62:
63: install-binaries:
64:
65: install-doc:
66:
67: install-includes: install-dirs
68: $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 $(srcdir)/sudo_plugin.h $(DESTDIR)$(includedir)
69:
70: install-plugin:
71:
72: uninstall:
73: -rm -f $(DESTDIR)$(includedir)/sudo_plugin.h
74:
75: cppcheck:
76:
77: check:
78:
79: clean:
80:
81: mostlyclean: clean
82:
83: distclean: clean
84: -rm -rf Makefile
85:
86: clobber: distclean
87:
88: realclean: distclean
89:
90: cleandir: distclean
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>