Annotation of embedaddon/sudo/common/Makefile.in, revision 1.1.1.3
1.1 misho 1: #
2: # Copyright (c) 2011 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: devdir = @devdir@
24: top_builddir = @top_builddir@
25: top_srcdir = @top_srcdir@
26: incdir = $(top_srcdir)/include
1.1.1.3 ! misho 27: cross_compiling = @CROSS_COMPILING@
1.1 misho 28:
1.1.1.2 misho 29: # Where to install things...
30: prefix = @prefix@
31: exec_prefix = @exec_prefix@
32: bindir = @bindir@
33: sbindir = @sbindir@
34: sysconfdir = @sysconfdir@
35: libexecdir = @libexecdir@
36: datarootdir = @datarootdir@
37: localstatedir = @localstatedir@
38:
1.1 misho 39: # Compiler & tools to use
40: CC = @CC@
41: LIBTOOL = @LIBTOOL@
42:
43: # C preprocessor flags
44: CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(top_srcdir) @CPPFLAGS@
45:
46: # Usually -O and/or -g
47: CFLAGS = @CFLAGS@
48:
1.1.1.3 ! misho 49: # PIE flags
! 50: PIE_CFLAGS = @PIE_CFLAGS@
! 51: PIE_LDFLAGS = @PIE_LDFLAGS@
! 52:
1.1 misho 53: # OS dependent defines
1.1.1.2 misho 54: DEFS = @OSDEFS@ -D_PATH_SUDO_CONF=\"$(sysconfdir)/sudo.conf\"
1.1 misho 55:
56: #### End of system configuration section. ####
57:
58: SHELL = @SHELL@
59:
1.1.1.2 misho 60: LTOBJS = alloc.lo atobool.lo fileops.lo fmt_string.lo lbuf.lo list.lo \
61: secure_path.lo setgroups.lo sudo_conf.lo sudo_debug.lo term.lo \
62: ttysize.lo zero_bytes.lo @COMMON_OBJS@
1.1 misho 63:
64: all: libcommon.la
65:
66: Makefile: $(srcdir)/Makefile.in
67: (cd $(top_builddir) && ./config.status --file common/Makefile)
68:
69: .SUFFIXES: .c .h .lo
70:
71: .c.lo:
1.1.1.3 ! misho 72: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $<
1.1 misho 73:
74: libcommon.la: $(LTOBJS)
75: $(LIBTOOL) --mode=link $(CC) -o $@ $(LTOBJS) -no-install
76:
77: pre-install:
78:
79: install:
80:
81: install-dirs:
82:
83: install-binaries:
84:
85: install-includes:
86:
87: install-doc:
88:
89: install-plugin:
90:
91: uninstall:
92:
93: check:
94:
95: clean:
96: -$(LIBTOOL) --mode=clean rm -f *.lo *.o *.la *.a stamp-* core *.core core.*
97:
98: mostlyclean: clean
99:
100: distclean: clean
101: -rm -rf Makefile .libs
102:
103: clobber: distclean
104:
105: realclean: distclean
106: rm -f TAGS tags
107:
108: cleandir: realclean
109:
110: # Autogenerated dependencies, do not modify
111: aix.lo: $(srcdir)/aix.c $(top_builddir)/config.h $(incdir)/missing.h \
1.1.1.2 misho 112: $(incdir)/alloc.h $(incdir)/error.h $(incdir)/sudo_debug.h \
113: $(incdir)/gettext.h
1.1.1.3 ! misho 114: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/aix.c
1.1 misho 115: alloc.lo: $(srcdir)/alloc.c $(top_builddir)/config.h $(incdir)/missing.h \
116: $(incdir)/alloc.h $(incdir)/error.h $(incdir)/gettext.h
1.1.1.3 ! misho 117: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/alloc.c
1.1.1.2 misho 118: atobool.lo: $(srcdir)/atobool.c $(top_builddir)/config.h $(incdir)/missing.h \
119: $(incdir)/sudo_debug.h
1.1.1.3 ! misho 120: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/atobool.c
1.1 misho 121: fileops.lo: $(srcdir)/fileops.c $(top_builddir)/config.h \
1.1.1.2 misho 122: $(top_srcdir)/compat/stdbool.h $(top_srcdir)/compat/timespec.h \
123: $(incdir)/missing.h $(incdir)/fileops.h $(incdir)/sudo_debug.h
1.1.1.3 ! misho 124: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/fileops.c
1.1 misho 125: fmt_string.lo: $(srcdir)/fmt_string.c $(top_builddir)/config.h \
1.1.1.2 misho 126: $(incdir)/missing.h $(incdir)/sudo_debug.h
1.1.1.3 ! misho 127: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/fmt_string.c
1.1 misho 128: lbuf.lo: $(srcdir)/lbuf.c $(top_builddir)/config.h $(incdir)/missing.h \
1.1.1.2 misho 129: $(incdir)/alloc.h $(incdir)/error.h $(incdir)/lbuf.h \
130: $(incdir)/sudo_debug.h
1.1.1.3 ! misho 131: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/lbuf.c
1.1 misho 132: list.lo: $(srcdir)/list.c $(top_builddir)/config.h $(incdir)/missing.h \
133: $(incdir)/list.h $(incdir)/error.h
1.1.1.3 ! misho 134: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/list.c
1.1.1.2 misho 135: secure_path.lo: $(srcdir)/secure_path.c $(top_builddir)/config.h \
136: $(incdir)/missing.h $(incdir)/sudo_debug.h \
137: $(incdir)/secure_path.h
1.1.1.3 ! misho 138: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/secure_path.c
1.1.1.2 misho 139: setgroups.lo: $(srcdir)/setgroups.c $(top_builddir)/config.h \
140: $(incdir)/missing.h $(incdir)/sudo_debug.h
1.1.1.3 ! misho 141: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/setgroups.c
1.1.1.2 misho 142: sudo_conf.lo: $(srcdir)/sudo_conf.c $(top_builddir)/config.h \
143: $(top_srcdir)/compat/stdbool.h $(incdir)/missing.h \
144: $(incdir)/alloc.h $(incdir)/error.h $(incdir)/fileops.h \
145: $(top_builddir)/pathnames.h $(incdir)/sudo_plugin.h \
146: $(incdir)/sudo_conf.h $(incdir)/list.h $(incdir)/sudo_debug.h \
147: $(incdir)/secure_path.h $(incdir)/gettext.h
1.1.1.3 ! misho 148: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/sudo_conf.c
1.1.1.2 misho 149: sudo_debug.lo: $(srcdir)/sudo_debug.c $(top_builddir)/config.h \
150: $(top_srcdir)/compat/stdbool.h $(incdir)/missing.h \
151: $(incdir)/alloc.h $(incdir)/error.h $(incdir)/gettext.h \
152: $(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h
1.1.1.3 ! misho 153: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/sudo_debug.c
1.1.1.2 misho 154: term.lo: $(srcdir)/term.c $(top_builddir)/config.h $(incdir)/missing.h \
155: $(incdir)/sudo_debug.h
1.1.1.3 ! misho 156: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/term.c
1.1.1.2 misho 157: ttysize.lo: $(srcdir)/ttysize.c $(top_builddir)/config.h $(incdir)/missing.h \
158: $(incdir)/sudo_debug.h
1.1.1.3 ! misho 159: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/ttysize.c
1.1 misho 160: zero_bytes.lo: $(srcdir)/zero_bytes.c $(top_builddir)/config.h \
161: $(incdir)/missing.h
1.1.1.3 ! misho 162: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/zero_bytes.c
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>