home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / gdb-4.9 / glob / Makefile.in < prev    next >
Encoding:
Makefile  |  1993-05-12  |  2.2 KB  |  99 lines

  1. #
  2. # Makefile
  3. #   Copyright (C) 1990, 1991, 1992 Free Software Foundation
  4. #
  5. # This file 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 of the License, or
  8. # (at your option) any later version.
  9. # This program 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
  12. # GNU General Public License for more details.
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  16. #
  17.  
  18. # Seriously hacked by K. Richard Pixley <rich@cygnus.com>.
  19.  
  20. # Makefile for glob source is in -*- text -*- mode.
  21.  
  22. srcdir = .
  23.  
  24. prefix = /usr/local
  25.  
  26. exec_prefix = $(prefix)
  27. bindir = $(exec_prefix)/bin
  28. libdir = $(exec_prefix)/lib
  29.  
  30. datadir = $(prefix)/lib
  31.  
  32. mandir = $(prefix)/man
  33. man1dir = $(mandir)/man1
  34. man2dir = $(mandir)/man2
  35. man3dir = $(mandir)/man3
  36. man4dir = $(mandir)/man4
  37. man5dir = $(mandir)/man5
  38. man6dir = $(mandir)/man6
  39. man7dir = $(mandir)/man7
  40. man8dir = $(mandir)/man8
  41. man9dir = $(mandir)/man9
  42. infodir = $(prefix)/info
  43. includedir = $(prefix)/include
  44. oldincludedir =
  45. docdir = $(datadir)/doc
  46.  
  47. SHELL = /bin/sh
  48.  
  49. INSTALL = install -c
  50. INSTALL_PROGRAM = $(INSTALL)
  51. INSTALL_DATA = $(INSTALL)
  52.  
  53. AR = ar
  54. AR_FLAGS = lq
  55. BISON = bison
  56. MAKEINFO = makeinfo
  57. RANLIB = ranlib
  58.  
  59. #### Host, target, and site specific Makefile fragments come in here.
  60. ###
  61.  
  62. .c.o:
  63.     $(CC) -c $(CFLAGS) $(H_CFLAGS) -I. $<
  64.  
  65. CFLAGS = -g
  66. RM = rm -f
  67.  
  68. #all:    libglob.a
  69. all:
  70.     @echo "Glob doesn't make yet, but readline uses a piece of its src"
  71.  
  72. .PHONY: check installcheck
  73. check installcheck:
  74.  
  75. install:
  76. info install-info clean-info dvi:
  77. libglob.a: glob.o tilde.o
  78.     $(RM) -f $@
  79.     $(AR) $(AR_FLAGS) $@ glob.o tilde.o
  80.     $(RANLIB) libglob.a
  81.  
  82. glob.o:    glob.c
  83. tilde.o:    tilde.c
  84.  
  85. install:
  86.  
  87. tilde-test: tilde.c
  88.     $(CC) $(CFLAGS) -o tilde-test -DTEST tilde.c
  89. clean:
  90.     $(RM) *.o *.a
  91.  
  92. # with the gnu make, this is done automatically.
  93.  
  94. Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
  95.     $(SHELL) ./config.status
  96.  
  97.