home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / gnu / dc-0.2-src.lha / src / build / dc-0.2 / Makefile < prev   
Encoding:
Makefile  |  1994-02-23  |  2.8 KB  |  123 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for GNU dc.    -*- 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/dc/dc-0.2-amiga
  22. VPATH = /ISO/dc/dc-0.2-amiga
  23.  
  24. CC = gcc
  25.  
  26. INSTALL = /bin/install -c
  27. INSTALL_PROGRAM = $(INSTALL)
  28. INSTALL_DATA = $(INSTALL) -m 644
  29.  
  30. DEFS =  -DHAVE_BCOPY=1 -DHAVE_BZERO=1
  31. LIBS = 
  32.  
  33. CFLAGS = -O2
  34. LDFLAGS =
  35.  
  36. prefix = /gnu
  37. exec_prefix = $(prefix)
  38.  
  39. bindir = $(exec_prefix)/bin
  40. datadir = $(prefix)/lib
  41. libdir = $(prefix)/lib
  42. infodir = $(prefix)/info
  43.  
  44. # Where to install the manual pages.
  45. mandir = $(prefix)/man/man1
  46. # Extension (not including `.') for the installed manual page filenames.
  47. manext = 1
  48.  
  49. #### End of system configuration section. ####
  50.  
  51. SHELL = /bin/sh
  52.  
  53. LOADLIBES = $(LIBS) -lm
  54.  
  55. DISTFILES = COPYING ChangeLog INSTALL Makefile.in NEWS README configure \
  56.             configure.in dc.c dc.info dc.texinfo decimal.c decimal.h \
  57.             texinfo.tex
  58.  
  59. DISTNAME = dc-0.2
  60.  
  61. all: dc
  62.  
  63. .c.o:
  64.     $(CC) -c -I. -I$(srcdir) $(DEFS) $(CPPFLAGS) $(CFLAGS) $<
  65.  
  66. ### targets required by GNU Coding standards ###
  67.  
  68. Makefile: Makefile.in config.status
  69.     ./config.status
  70.  
  71. config.status: configure
  72.     $(srcdir)/configure --srcdir=$(srcdir) --no-create
  73.  
  74. configure: configure.in
  75.     cd $(srcdir); autoconf
  76.  
  77. TAGS:
  78.     cd $(srcdir); etags *.c *.h
  79.  
  80. clean:
  81.     rm -f *.o core a.out dc
  82.  
  83. mostlyclean: clean
  84.  
  85. distclean: clean
  86.     rm -f Makefile config.status
  87.  
  88. realclean: distclean
  89.     rm -f TAGS dc.info* configure
  90.  
  91. dist: $(DISTFILES)
  92.     rm -rf $(DISTNAME)
  93.     mkdir $(DISTNAME)
  94.     ln $(DISTFILES) $(DISTNAME)
  95.     tar --gzip -chf $(DISTNAME).tar.z $(DISTNAME)
  96.     rm -rf $(DISTNAME)
  97.  
  98. install: all
  99.     $(INSTALL_PROGRAM) dc $(bindir)/dc
  100.     -if test -f dc.info ; then d=.; else d=$(srcdir) ; fi; \
  101.      $(INSTALL) $${d}/dc.info $(infodir)/dc.info
  102.  
  103. uninstall: force
  104.     rm -f $(bindir)/dc
  105.     rm -f $(infodir)/dc.info
  106.  
  107. ### Actual dc-specific targets ###
  108.  
  109. dc.o: dc.c decimal.h
  110. decimal.o: decimal.c decimal.h
  111.  
  112. dc: dc.o decimal.o
  113.     $(CC) $(LDFLAGS) -o dc dc.o decimal.o $(LOADLIBES)
  114.  
  115. dc.info: dc.texinfo
  116.     makeinfo -I$(srcdir) --no-split dc.texinfo
  117.  
  118. dc.dvi: dc.texinfo
  119.     texi2dvi $(srcdir)/dc.texinfo
  120.  
  121. # Prevent GNU make v3 from overflowing arg limit on SysV.
  122. .NOEXPORT:
  123.