Annotation of embedaddon/sudo/compat/Makefile.in, revision 1.1.1.2

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
                     27: 
1.1.1.2 ! misho      28: # Where to install things...
        !            29: prefix = @prefix@
        !            30: exec_prefix = @exec_prefix@
        !            31: bindir = @bindir@
        !            32: sbindir = @sbindir@
        !            33: sysconfdir = @sysconfdir@
        !            34: libexecdir = @libexecdir@
        !            35: datarootdir = @datarootdir@
        !            36: localstatedir = @localstatedir@
        !            37: 
1.1       misho      38: # Compiler & tools to use
                     39: CC = @CC@
                     40: LIBTOOL = @LIBTOOL@
                     41: 
                     42: # C preprocessor flags
                     43: CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(top_srcdir) @CPPFLAGS@
                     44: 
                     45: # Usually -O and/or -g
                     46: CFLAGS = @CFLAGS@
                     47: 
                     48: # OS dependent defines
                     49: DEFS = @OSDEFS@
                     50: 
1.1.1.2 ! misho      51: # Set to non-empty for development mode
        !            52: DEVEL = @DEVEL@
        !            53: 
1.1       misho      54: #### End of system configuration section. ####
                     55: 
                     56: SHELL = @SHELL@
                     57: 
1.1.1.2 ! misho      58: TEST_PROGS = @COMPAT_TEST_PROGS@
1.1       misho      59: 
                     60: LIBOBJDIR = 
                     61: 
                     62: LTLIBOBJS = @LTLIBOBJS@
                     63: 
                     64: all: libreplace.la
                     65: 
                     66: Makefile: $(srcdir)/Makefile.in
                     67:        (cd $(top_builddir) && ./config.status --file compat/Makefile)
                     68: 
                     69: .SUFFIXES: .o .c .h .lo
                     70: 
                     71: .c.o:
                     72:        $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
                     73: 
                     74: .c.lo:
                     75:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
                     76: 
                     77: libreplace.la: $(LTLIBOBJS)
                     78:        $(LIBTOOL) --mode=link $(CC) -o $@ $(LTLIBOBJS) -no-install
                     79: 
                     80: siglist.c: mksiglist
                     81:        ./mksiglist > $@
                     82: 
                     83: mksiglist: $(srcdir)/mksiglist.c $(srcdir)/mksiglist.h $(incdir)/missing.h $(top_builddir)/config.h
                     84:        $(CC) $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/mksiglist.c -o $@
                     85: 
                     86: fnm_test: fnm_test.o libreplace.la
                     87:        $(LIBTOOL) --mode=link $(CC) -o $@ fnm_test.o libreplace.la
                     88: 
                     89: globtest: globtest.o libreplace.la
                     90:        $(LIBTOOL) --mode=link $(CC) -o $@ globtest.o libreplace.la
                     91: 
1.1.1.2 ! misho      92: $(srcdir)/mksiglist.h: $(srcdir)/siglist.in
        !            93:        if [ -n "$(DEVEL)" ]; then \
        !            94:            awk 'BEGIN {print "/* public domain */\n"} /^    [A-Z]/ {printf("#ifdef SIG%s\n    if (my_sys_siglist[SIG%s] == NULL)\n\tmy_sys_siglist[SIG%s] = \"%s\";\n#endif\n", $$1, $$1, $$1, substr($$0, 13))}' < $(srcdir)/siglist.in > $@; \
        !            95:        fi
1.1       misho      96: 
                     97: pre-install:
                     98: 
                     99: install:
                    100: 
                    101: install-dirs:
                    102: 
                    103: install-binaries:
                    104: 
                    105: install-includes:
                    106: 
                    107: install-doc:
                    108: 
                    109: install-plugin:
                    110: 
                    111: uninstall:
                    112: 
                    113: check: $(TEST_PROGS)
1.1.1.2 ! misho     114:        @if [ -f fnm_test ]; then \
        !           115:            ./fnm_test $(srcdir)/regress/fnmatch/fnm_test.in; \
        !           116:        fi
        !           117:        @if [ -f globtest ]; then \
        !           118:            mkdir -p `sed 's@/[^/]*$$@@' $(srcdir)/regress/glob/files | sort -u`; \
        !           119:            touch `cat $(srcdir)/regress/glob/files`; \
        !           120:            chmod 0755 `grep '/r[^/]*$$' $(srcdir)/regress/glob/files`; \
        !           121:            chmod 0444 `grep '/s[^/]*$$' $(srcdir)/regress/glob/files`; \
        !           122:            chmod 0711 `grep '/t[^/]*$$' $(srcdir)/regress/glob/files`; \
        !           123:            ./globtest $(srcdir)/regress/glob/globtest.in; \
        !           124:            rval=$$?; \
        !           125:            rm -rf fake; \
        !           126:            exit $$rval; \
        !           127:        fi
1.1       misho     128: 
                    129: clean:
                    130:        -$(LIBTOOL) --mode=clean rm -f $(TEST_PROGS) mksiglist siglist.c *.lo *.o *.la *.a stamp-* core *.core core.*
                    131: 
                    132: mostlyclean: clean
                    133: 
                    134: distclean: clean
                    135:        -rm -rf Makefile .libs
                    136: 
                    137: clobber: distclean
                    138: 
                    139: realclean: distclean
                    140:        rm -f TAGS tags
                    141: 
                    142: cleandir: realclean
                    143: 
                    144: # Autogenerated dependencies, do not modify
                    145: closefrom.lo: $(srcdir)/closefrom.c $(top_builddir)/config.h $(incdir)/missing.h
                    146:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/closefrom.c
                    147: dlopen.lo: $(srcdir)/dlopen.c $(top_builddir)/config.h \
                    148:            $(top_srcdir)/compat/dlfcn.h $(incdir)/missing.h
                    149:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/dlopen.c
                    150: fnm_test.o: $(srcdir)/regress/fnmatch/fnm_test.c $(top_builddir)/config.h \
                    151:             $(top_srcdir)/compat/fnmatch.h
                    152:        $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/regress/fnmatch/fnm_test.c
                    153: fnmatch.lo: $(srcdir)/fnmatch.c $(top_builddir)/config.h $(incdir)/missing.h \
                    154:             $(top_srcdir)/compat/charclass.h $(top_srcdir)/compat/fnmatch.h
                    155:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/fnmatch.c
                    156: getcwd.lo: $(srcdir)/getcwd.c $(top_builddir)/config.h $(incdir)/missing.h
                    157:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/getcwd.c
                    158: getgrouplist.lo: $(srcdir)/getgrouplist.c $(top_builddir)/config.h \
                    159:                  $(incdir)/missing.h
                    160:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/getgrouplist.c
                    161: getline.lo: $(srcdir)/getline.c $(top_builddir)/config.h $(incdir)/missing.h
                    162:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/getline.c
                    163: getprogname.lo: $(srcdir)/getprogname.c $(top_builddir)/config.h \
                    164:                 $(incdir)/missing.h
                    165:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/getprogname.c
                    166: glob.lo: $(srcdir)/glob.c $(top_builddir)/config.h $(incdir)/missing.h \
                    167:          $(top_srcdir)/compat/glob.h $(top_srcdir)/compat/charclass.h
                    168:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/glob.c
                    169: globtest.o: $(srcdir)/regress/glob/globtest.c $(top_builddir)/config.h \
                    170:             $(top_srcdir)/compat/glob.h $(incdir)/missing.h
                    171:        $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/regress/glob/globtest.c
                    172: isblank.lo: $(srcdir)/isblank.c $(top_builddir)/config.h $(incdir)/missing.h
                    173:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/isblank.c
                    174: memrchr.lo: $(srcdir)/memrchr.c $(top_builddir)/config.h $(incdir)/missing.h
                    175:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/memrchr.c
                    176: mksiglist.lo: $(srcdir)/mksiglist.c $(top_builddir)/config.h \
                    177:               $(incdir)/missing.h $(top_srcdir)/compat/mksiglist.h
                    178:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/mksiglist.c
                    179: mktemp.lo: $(srcdir)/mktemp.c $(top_builddir)/config.h $(incdir)/missing.h
                    180:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/mktemp.c
                    181: nanosleep.lo: $(srcdir)/nanosleep.c $(top_builddir)/config.h \
                    182:               $(top_srcdir)/compat/timespec.h $(incdir)/missing.h
                    183:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/nanosleep.c
1.1.1.2 ! misho     184: pw_dup.lo: $(srcdir)/pw_dup.c $(top_builddir)/config.h
        !           185:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/pw_dup.c
1.1       misho     186: siglist.lo: siglist.c $(top_builddir)/config.h $(incdir)/missing.h
                    187:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) siglist.c
                    188: snprintf.lo: $(srcdir)/snprintf.c $(top_builddir)/config.h $(incdir)/missing.h
                    189:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/snprintf.c
                    190: strlcat.lo: $(srcdir)/strlcat.c $(top_builddir)/config.h $(incdir)/missing.h
                    191:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/strlcat.c
                    192: strlcpy.lo: $(srcdir)/strlcpy.c $(top_builddir)/config.h $(incdir)/missing.h
                    193:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/strlcpy.c
                    194: strsignal.lo: $(srcdir)/strsignal.c $(top_builddir)/config.h \
                    195:               $(incdir)/missing.h $(incdir)/gettext.h
                    196:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/strsignal.c
                    197: utimes.lo: $(srcdir)/utimes.c $(top_builddir)/config.h \
                    198:            $(top_srcdir)/compat/utime.h $(incdir)/missing.h
                    199:        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/utimes.c

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