File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / sudo / compat / Makefile.in
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 16:23:02 2012 UTC (12 years, 4 months ago) by misho
Branches: sudo, MAIN
CVS tags: v1_8_3p2, HEAD
sudo

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

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