home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / gnu / texinfo-3.1-src.lha / src / build / texinfo-3.1 / makeinfo / Makefile
Encoding:
Makefile  |  1994-02-24  |  2.8 KB  |  109 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for GNU makeinfo.  -*- Indented-Text -*-
  3. # Copyright (C) 1993 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. #### Start of system configuration section. ####
  20.  
  21. srcdir = /ISO/texinfo/texinfo-3.1-amiga/makeinfo
  22. VPATH = $(srcdir):$(common)
  23.  
  24. common = $(srcdir)/../libtxi
  25.  
  26. CC = gcc
  27. INSTALL = /bin/install -c
  28. INSTALL_PROGRAM = $(INSTALL)
  29. INSTALL_DATA = $(INSTALL) -m 644
  30.  
  31. LN    = ln
  32. RM    = rm -f
  33. TAR    = tar
  34. MKDIR    = mkdir
  35. COMPRESS= compress
  36.  
  37. DEFS = -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_VARARGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1 -DHAVE_BZERO=1 -DHAVE_RINDEX=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1
  38. LIBS = -L../libtxi -ltxi 
  39. LOADLIBES = $(LIBS)
  40.  
  41. SHELL = /bin/sh
  42.  
  43. CFLAGS = -O2
  44. LDFLAGS =
  45.  
  46. prefix = /gnu
  47. exec_prefix = $(prefix)
  48. bindir = $(exec_prefix)/bin
  49. # Prefix for each installed program, normally empty or `g'.
  50. binprefix = 
  51. libdir = $(prefix)/lib
  52. # Prefix for each installed man page, normally empty or `g'.
  53. manprefix = 
  54. mandir = $(prefix)/man/man1
  55. manext = 1
  56. infodir = $(prefix)/info
  57.  
  58. #### End of system configuration section. ####
  59.  
  60. SRCS =  makeinfo.c
  61. OBJS =  makeinfo.o
  62.  
  63. PROGS = makeinfo
  64.  
  65. all: $(PROGS) makeinfo.info
  66. sub-all: all
  67.  
  68. .c.o:
  69.     $(CC) -c $(CPPFLAGS) -I. -I$(srcdir) -I$(common) $(DEFS) $(CFLAGS) $<
  70.  
  71. makeinfo: $(OBJS) ../libtxi/libtxi.a
  72.     $(CC) $(LDFLAGS) -o makeinfo $(OBJS) $(LOADLIBES)
  73.  
  74. makeinfo.o: makeinfo.c $(common)/getopt.h
  75.  
  76. makeinfo.info: makeinfo makeinfo.texi
  77.     ./makeinfo --no-split -I$(srcdir) makeinfo.texi
  78.  
  79. install: all
  80.     for f in $(PROGS); do $(INSTALL_PROGRAM) $$f $(bindir)/$(binprefix)$$f; done
  81.     -d=$(srcdir); test -f ./makeinfo.info && d=.; $(INSTALL_DATA) $$d/makeinfo.info $(infodir)/makeinfo.info
  82.  
  83. uninstall:
  84.     for f in $(PROGS); do rm -f $(bindir)/$(binprefix)$$f; done
  85.     rm -f $(infodir)/makeinfo.info
  86.  
  87. TAGS: $(SRCS)
  88.     etags $(SRCS)
  89.  
  90. clean:
  91.     rm -f *.o a.out core core.* $(PROGS)
  92.  
  93. mostlyclean: clean
  94.  
  95. distclean: clean
  96.     rm -f Makefile config.status
  97.  
  98. realclean: distclean
  99.     rm -f TAGS
  100.     rm -f makeinfo.info
  101.  
  102. Makefile: Makefile.in ../config.status
  103.     cd ..; sh config.status
  104.  
  105. # Prevent GNU make v3 from overflowing arg limit on SysV.
  106. .NOEXPORT:
  107.  
  108. # eof
  109.