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

  1. # Makefile for doschk.    -*- Indented-Text -*-
  2. # Copyright (C) 1993 Free Software Foundation, Inc.
  3.  
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2, or (at your option)
  7. # any later version.
  8.  
  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.  
  14. # You should have received a copy of the GNU General Public License
  15. # along with this program; if not, write to the Free Software
  16. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  
  18. #### Start of system configuration section. ####
  19.  
  20. srcdir = @srcdir@
  21. VPATH = @srcdir@
  22.  
  23. CC = @CC@
  24.  
  25. INSTALL = @INSTALL@
  26. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  27. INSTALL_DATA = @INSTALL_DATA@
  28.  
  29. DEFS = @DEFS@
  30. LIBS = @LIBS@
  31.  
  32. CFLAGS = -O2
  33. LDFLAGS =
  34.  
  35. prefix = @prefix@
  36. exec_prefix = $(prefix)
  37.  
  38. bindir = $(exec_prefix)/bin
  39. datadir = $(prefix)/lib
  40. libdir = $(prefix)/lib
  41. infodir = $(prefix)/info
  42. guidedir = $(prefix)/guide
  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)
  54.  
  55. DISTFILES = COPYING ChangeLog Makefile.in README configure configure.in doschk.c
  56.  
  57. DISTNAME = doschk-1.1
  58.  
  59. all: doschk
  60.  
  61. .c.o:
  62.     $(CC) -c -I. -I$(srcdir) $(DEFS) $(CPPFLAGS) $(CFLAGS) $<
  63.  
  64. ### targets required by GNU Coding standards ###
  65.  
  66. Makefile: Makefile.in config.status
  67.     ./config.status
  68.  
  69. config.status: configure
  70.     $(srcdir)/configure --srcdir=$(srcdir) --no-create
  71.  
  72. configure: configure.in
  73.     cd $(srcdir); autoconf
  74.  
  75. TAGS:
  76.     cd $(srcdir); etags
  77.  
  78. clean:
  79.     rm -f *.o core a.out doschk
  80.  
  81. mostlyclean: clean
  82.  
  83. distclean: clean
  84.     rm -f Makefile config.status
  85.  
  86. realclean: distclean
  87.     rm -f TAGS
  88.  
  89. dist: $(DISTFILES)
  90.     rm -rf $(DISTNAME)
  91.     mkdir $(DISTNAME)
  92.     ln $(DISTFILES) $(DISTNAME)
  93.     tar --gzip -chf $(DISTNAME).tar.z $(DISTNAME)
  94.     rm -rf $(DISTNAME)
  95.  
  96. install: all
  97.     $(INSTALL_PROGRAM) doschk $(bindir)/doschk
  98.  
  99. uninstall: force
  100.     -cd $(bindir); rm -f doschk
  101.  
  102. ### Actual doschk-specific targets ###
  103.  
  104. doschk: doschk.o
  105.  
  106. check: doschk
  107.     ls -1 * | ./doschk
  108.  
  109. #doschk.info: doschk.texi
  110. #    cd $(srcdir); makeinfo doschk.texi
  111.  
  112. #doschk.dvi: doschk.texi
  113. #    cd $(srcdir); texi2dvi doschk.texi
  114.  
  115. doschk.guide: doschk.texi
  116.     cd $(srcdir); makeinfo --amiga doschk.texi -o $@
  117.  
  118. # Prevent GNU make v3 from overflowing arg limit on SysV.
  119. .NOEXPORT:
  120.