home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / crypt / GNUmakefile < prev    next >
Encoding:
Makefile  |  1993-05-07  |  1.5 KB  |  56 lines

  1. # Copyright (C) 1992, 1993 Free Software Foundation, Inc.
  2. # This file is part of the GNU C Library.
  3.  
  4. # The GNU C Library is free software; you can redistribute it and/or
  5. # modify it under the terms of the GNU Library General Public License
  6. # as published by the Free Software Foundation; either version 2 of
  7. # the License, or (at your option) any later version.
  8.  
  9. # The GNU C Library is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12. # Library General Public License for more details.
  13.  
  14. # You should have received a copy of the GNU Library General Public
  15. # License along with the GNU C Library; see the file COPYING.LIB.  If
  16. # not, write to the Free Software Foundation, Inc., 675 Mass Ave,
  17. # Cambridge, MA 02139, USA.
  18.  
  19. # @(#)GNUmakefile    1.7 10/08/92
  20.  
  21. ifeq ($(wildcard ../Rules),)
  22.  
  23. # I don't see glibc around here.
  24.  
  25. include Makefile
  26.  
  27. else
  28.  
  29. # We are part of the C library!
  30.  
  31. subdir := crypt
  32.  
  33. routines = $(crypt) crypt_util
  34. crypt := crypt    # Overridden by sysdep makefiles.
  35.  
  36. tests := speeds cert ufc
  37.  
  38. override +gccwarn := -w
  39.  
  40. include ../Rules
  41.  
  42. endif
  43.  
  44.  
  45. %.Z: %
  46.     compress -c $< > $@
  47. %.z: %
  48.     gzip -9 -c $< > $@
  49.  
  50. crypt.tar: README COPYING.LIB Makefile GNUmakefile S2o do_ranlib \
  51.        crypt.c crypt_util.c crypt.s300.S crypt.sun3.S crypt.sparc.s \
  52.        patchlevel.h ufc-crypt.h \
  53.        speeds.c ufc.c cert.c cert.input ufc.args
  54.     cd ..; tar cof$(verbose) $(addprefix crypt/,$@ $^)
  55.  
  56.