home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / inetutils-1.2-src.tgz / tar.out / fsf / inetutils / config.make.in < prev    next >
Text File  |  1996-09-28  |  3KB  |  90 lines

  1. # Configuration-derived make variables for inetutils
  2. #
  3. # Copyright (C) 1995, 1996 Free Software Foundation, Inc.
  4. #
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. #
  19.  
  20. SHELL = /bin/sh
  21.  
  22. VPATH = $(srcdir)
  23.  
  24. prefix = @prefix@
  25. exec_prefix = @exec_prefix@
  26. bindir = @bindir@
  27. includedir = @includedir@
  28. libdir = @libdir@
  29. sbindir = @sbindir@
  30. libexecdir = @libexecdir@
  31. sysconfdir = @sysconfdir@
  32. localstatedir = @localstatedir@
  33. sharedstatedir = @sharedstatedir@
  34. mandir = @mandir@
  35. man1dir = $(mandir)/man1
  36. man5dir = $(mandir)/man5
  37. man8dir = $(mandir)/man8
  38.  
  39. INSTALL = @INSTALL@
  40. INSTALL_DATA = @INSTALL_DATA@
  41. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  42. AR = @AR@
  43. RANLIB = @RANLIB@
  44. CC = @CC@
  45. YACC = @YACC@
  46. DEFS = @DEFS@
  47. LIBS = @LIBS@
  48. CFLAGS = @CFLAGS@
  49. LDFLAGS = @LDFLAGS@
  50. RM = @RM@
  51. MKINSTDIRS = $(SHELL) $(top_srcdir)/mkinstalldirs
  52.  
  53. LIBCURSES = @LIBCURSES@
  54. LIBAUTH = @LIBAUTH@
  55. LIBTERMCAP = @LIBTERMCAP@
  56. LIBCRYPT = @LIBCRYPT@
  57. LIBUTIL = @LIBUTIL@
  58. LIBGLOB = @LIBGLOB@
  59.  
  60. CPPFLAGS += $(DEFS) -I$(srcdir) -I../include
  61. LDLIBS += -L../libinetutils -linetutils $(LIBS)
  62.  
  63. RULES = $(top_srcdir)/rules.make
  64.  
  65. # Link or copy the file $$DISTFILE (a shell variable) into $(DISTDIR)/$$FILE
  66. define _LINK_DISTFILE
  67.   if test -d $$DISTFILE; then                     \
  68.     echo mkdir $(DISTDIR)/$$FILE; mkdir $(DISTDIR)/$$FILE;     \
  69.   else                                 \
  70.     { ln 2>/dev/null $$DISTFILE $(DISTDIR)/$$FILE         \
  71.       && echo ln $$DISTFILE $(DISTDIR)/$$FILE; }         \
  72.     || { echo cp -p $$DISTFILE $(DISTDIR)/$$FILE         \
  73.         ; cp -p $$DISTFILE $(DISTDIR)/$$FILE; };         \
  74.   fi
  75. endef
  76.  
  77. # Link or copy every file in $(DISTFILES) + Makefile.in from $(srcdir)
  78. # and any file in $(OPT_DISTFILE) that exists in the current directory,
  79. # into $(DISTDIR)
  80. define LINK_DISTFILES
  81.   @for FILE in Makefile.in $(DISTFILES); do \
  82.     DISTFILE=$(srcdir)/$$FILE; $(_LINK_DISTFILE); \
  83.   done
  84.   @for FILE in $(OPT_DISTFILES); do \
  85.     test -e "$$DISTFILE" && { DISTFILE="$$FILE"; $(_LINK_DISTFILE) } || :; \
  86.   done
  87. endef
  88.  
  89. @PATHDEFS_MAKE@
  90.