Annotation of embedaddon/sudo/plugins/system_group/Makefile.in, revision 1.1.1.4

1.1       misho       1: #
1.1.1.3   misho       2: # Copyright (c) 2011-2013 Todd C. Miller <Todd.Miller@courtesan.com>
1.1       misho       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.2   misho      27: cross_compiling = @CROSS_COMPILING@
1.1       misho      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@
1.1.1.2   misho      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@
1.1       misho      53: 
1.1.1.3   misho      54: # Stack smashing protection flags
                     55: SSP_CFLAGS = @SSP_CFLAGS@
                     56: SSP_LDFLAGS = @SSP_LDFLAGS@
                     57: 
1.1       misho      58: # Where to install things...
                     59: prefix = @prefix@
                     60: exec_prefix = @exec_prefix@
                     61: bindir = @bindir@
                     62: sbindir = @sbindir@
                     63: sysconfdir = @sysconfdir@
                     64: libexecdir = @libexecdir@
                     65: datarootdir = @datarootdir@
                     66: localstatedir = @localstatedir@
                     67: plugindir = @PLUGINDIR@
1.1.1.2   misho      68: 
                     69: # File extension, mode and map file to use for shared libraries/objects
1.1       misho      70: soext = @SOEXT@
1.1.1.2   misho      71: shlib_mode = @SHLIB_MODE@
                     72: shlib_exp = $(srcdir)/system_group.exp
                     73: shlib_map = system_group.map
                     74: shlib_opt = system_group.opt
1.1       misho      75: 
                     76: # OS dependent defines
                     77: DEFS = @OSDEFS@
                     78: 
                     79: #### End of system configuration section. ####
                     80: 
                     81: SHELL = @SHELL@
                     82: 
                     83: OBJS = system_group.lo
                     84: 
                     85: LIBOBJDIR = $(top_builddir)/@ac_config_libobj_dir@/
                     86: 
                     87: VERSION = @PACKAGE_VERSION@
                     88: 
                     89: all: system_group.la
                     90: 
                     91: Makefile: $(srcdir)/Makefile.in
                     92:        (cd $(top_builddir) && ./config.status --file plugins/system_group/Makefile)
                     93: 
                     94: .SUFFIXES: .o .c .h .lo
                     95: 
                     96: .c.lo:
1.1.1.3   misho      97:        $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $<
1.1.1.2   misho      98: 
                     99: $(shlib_map): $(shlib_exp)
                    100:        @awk 'BEGIN { print "{\n\tglobal:" } { print "\t\t"$$0";" } END { print "\tlocal:\n\t\t*;\n};" }' $(shlib_exp) > $@
                    101: 
                    102: $(shlib_opt): $(shlib_exp)
                    103:        @sed 's/^/+e /' $(shlib_exp) > $@
1.1       misho     104: 
1.1.1.2   misho     105: system_group.la: $(OBJS) $(LT_LIBS) @LT_LDDEP@
                    106:        $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LT_LDFLAGS) -o $@ $(OBJS) $(LIBS) -module -avoid-version -rpath $(plugindir)
1.1       misho     107: 
                    108: pre-install:
                    109: 
                    110: install: install-plugin
                    111: 
                    112: install-dirs:
                    113:        $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir)
                    114: 
                    115: install-binaries:
                    116: 
                    117: install-includes:
                    118: 
                    119: install-doc:
                    120: 
                    121: install-plugin: install-dirs system_group.la
1.1.1.4 ! misho     122:        if [ X"$(soext)" != X"" ]; then \
        !           123:            $(INSTALL) -b~ -m $(shlib_mode) .libs/system_group$(soext) $(DESTDIR)$(plugindir)/system_group.so; \
        !           124:        fi
1.1       misho     125: 
                    126: uninstall:
1.1.1.3   misho     127:        -rm -f $(DESTDIR)$(plugindir)/system_group.so
1.1       misho     128: 
                    129: check:
                    130: 
                    131: clean:
                    132:        -$(LIBTOOL) --mode=clean rm -f *.lo *.o *.la *.a stamp-* core *.core core.*
                    133: 
                    134: mostlyclean: clean
                    135: 
                    136: distclean: clean
                    137:        -rm -rf Makefile .libs
                    138: 
                    139: clobber: distclean
                    140: 
                    141: realclean: distclean
                    142:        rm -f TAGS tags
                    143: 
                    144: cleandir: realclean
                    145: 
                    146: # Autogenerated dependencies, do not modify
                    147: system_group.lo: $(srcdir)/system_group.c $(top_builddir)/config.h \
                    148:                  $(top_srcdir)/compat/stdbool.h $(top_srcdir)/compat/dlfcn.h \
                    149:                  $(incdir)/sudo_plugin.h $(incdir)/missing.h
1.1.1.3   misho     150:        $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/system_group.c

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