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

  1. # Makefile for libinetutils
  2. #
  3. # Copyright (C) 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. srcdir = @srcdir@
  21. top_srcdir = @top_srcdir@
  22. include ../config.make
  23.  
  24. SRCS = ttymsg.c version.c getopt.c getopt1.c stub_tgetent.c \
  25.     localhost.c daemon.c strerror.c hstrerror.c strdup.c logout.c \
  26.     logwtmp.c logwtmpko.c cleansess.c
  27.  
  28. DISTFILES = $(SRCS)
  29.  
  30. OBJS = ttymsg.o version.o localhost.o cleansess.o logwtmpko.o @LIBOBJS@
  31. CLEAN = libinetutils.a $(OBJS)
  32.  
  33. CPPFLAGS += $(PATHDEF_DEVNULL) $(PATHDEF_TTY_PFX) \
  34.     $(PATHDEF_WTMP) $(PATHDEF_UTMP)
  35.  
  36. all: libinetutils.a
  37. libinetutils.a: $(OBJS)
  38.     $(AR) rcv $@ $?
  39.     $(RANLIB) $@
  40.  
  41. include $(RULES)
  42.