File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / sudo / plugins / group_file / Makefile.in
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Sun Jun 15 16:12:54 2014 UTC (10 years, 1 month ago) by misho
Branches: sudo, MAIN
CVS tags: v1_8_10p3_0, v1_8_10p3, HEAD
sudo v 1.8.10p3

    1: #
    2: # Copyright (c) 2010-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: devdir = @devdir@
   24: top_builddir = @top_builddir@
   25: top_srcdir = @top_srcdir@
   26: incdir = $(top_srcdir)/include
   27: cross_compiling = @CROSS_COMPILING@
   28: 
   29: # Compiler & tools to use
   30: CC = @CC@
   31: LIBTOOL = @LIBTOOL@ @LT_STATIC@
   32: 
   33: # Our install program supports extra flags...
   34: INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
   35: 
   36: # Libraries
   37: LT_LIBS = $(LIBOBJDIR)libreplace.la
   38: LIBS = $(LT_LIBS)
   39: 
   40: # C preprocessor flags
   41: CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(top_srcdir) @CPPFLAGS@
   42: 
   43: # Usually -O and/or -g
   44: CFLAGS = @CFLAGS@
   45: 
   46: # Flags to pass to the link stage
   47: LDFLAGS = @LDFLAGS@
   48: LT_LDFLAGS = @LT_LDFLAGS@ @LT_LDMAP@ @LT_LDOPT@ @LT_LDEXPORTS@
   49: 
   50: # PIE flags
   51: PIE_CFLAGS = @PIE_CFLAGS@
   52: PIE_LDFLAGS = @PIE_LDFLAGS@
   53: 
   54: # Stack smashing protection flags
   55: SSP_CFLAGS = @SSP_CFLAGS@
   56: SSP_LDFLAGS = @SSP_LDFLAGS@
   57: 
   58: # cppcheck options, usually set in the top-level Makefile
   59: CPPCHECK_OPTS = -q --force --enable=warning,performance,portability --suppress=constStatement --error-exitcode=1 --inline-suppr -U__cplusplus -UQUAD_MAX -UQUAD_MIN -UUQUAD_MAX -U_POSIX_HOST_NAME_MAX -U_POSIX_PATH_MAX
   60: 
   61: # Where to install things...
   62: prefix = @prefix@
   63: exec_prefix = @exec_prefix@
   64: bindir = @bindir@
   65: sbindir = @sbindir@
   66: sysconfdir = @sysconfdir@
   67: libexecdir = @libexecdir@
   68: datarootdir = @datarootdir@
   69: localstatedir = @localstatedir@
   70: plugindir = @PLUGINDIR@
   71: 
   72: # File extension, mode and map file to use for shared libraries/objects
   73: soext = @SOEXT@
   74: shlib_mode = @SHLIB_MODE@
   75: shlib_exp = $(srcdir)/group_file.exp
   76: shlib_map = group_file.map
   77: shlib_opt = group_file.opt
   78: 
   79: # OS dependent defines
   80: DEFS = @OSDEFS@
   81: 
   82: #### End of system configuration section. ####
   83: 
   84: SHELL = @SHELL@
   85: 
   86: OBJS =	group_file.lo getgrent.lo
   87: 
   88: LIBOBJDIR = $(top_builddir)/@ac_config_libobj_dir@/
   89: 
   90: VERSION = @PACKAGE_VERSION@
   91: 
   92: all: group_file.la
   93: 
   94: Makefile: $(srcdir)/Makefile.in
   95: 	(cd $(top_builddir) && ./config.status --file plugins/group_file/Makefile)
   96: 
   97: .SUFFIXES: .o .c .h .lo
   98: 
   99: .c.lo:
  100: 	$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $<
  101: 
  102: $(shlib_map): $(shlib_exp)
  103: 	@awk 'BEGIN { print "{\n\tglobal:" } { print "\t\t"$$0";" } END { print "\tlocal:\n\t\t*;\n};" }' $(shlib_exp) > $@
  104: 
  105: $(shlib_opt): $(shlib_exp)
  106: 	@sed 's/^/+e /' $(shlib_exp) > $@
  107: 
  108: group_file.la: $(OBJS) $(LT_LIBS) @LT_LDDEP@
  109: 	$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LT_LDFLAGS) -o $@ $(OBJS) $(LIBS) -module -avoid-version -rpath $(plugindir)
  110: 
  111: pre-install:
  112: 
  113: install: install-plugin
  114: 
  115: install-dirs:
  116: 	$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir)
  117: 
  118: install-binaries:
  119: 
  120: install-includes:
  121: 
  122: install-doc:
  123: 
  124: install-plugin: install-dirs group_file.la
  125: 	if [ X"$(soext)" != X"" ]; then \
  126: 	    $(INSTALL) -b~ -m $(shlib_mode) .libs/group_file$(soext) $(DESTDIR)$(plugindir)/group_file.so; \
  127: 	fi
  128: 
  129: uninstall:
  130: 	-rm -f $(DESTDIR)$(plugindir)/group_file.so
  131: 
  132: cppcheck:
  133: 	cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I$(top_srcdir) $(srcdir)/*.c
  134: 
  135: check:
  136: 
  137: clean:
  138: 	-$(LIBTOOL) --mode=clean rm -f *.lo *.o *.la *.a stamp-* core *.core core.*
  139: 
  140: mostlyclean: clean
  141: 
  142: distclean: clean
  143: 	-rm -rf Makefile .libs
  144: 
  145: clobber: distclean
  146: 
  147: realclean: distclean
  148: 	rm -f TAGS tags
  149: 
  150: cleandir: realclean
  151: 
  152: # Autogenerated dependencies, do not modify
  153: getgrent.lo: $(srcdir)/getgrent.c $(incdir)/missing.h $(incdir)/sudo_util.h \
  154:              $(top_builddir)/config.h $(top_srcdir)/compat/stdbool.h
  155: 	$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/getgrent.c
  156: group_file.lo: $(srcdir)/group_file.c $(incdir)/missing.h \
  157:                $(incdir)/sudo_plugin.h $(top_builddir)/config.h \
  158:                $(top_srcdir)/compat/stdbool.h
  159: 	$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/group_file.c

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>