# Generated automatically from Makefile.in by configure.
# Makefile for doschk.	-*- Indented-Text -*-
# Copyright (C) 1993 Free Software Foundation, Inc.

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

#### Start of system configuration section. ####

srcdir = .
VPATH = .

CC = gcc
LINK = $(CC) $(LDFLAGS) -o $@

INSTALL = /dev/env/DJDIR/bin/ginstall -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL)

DEFS = 
LIBS = 

CFLAGS = -g -Wall -O2
LDFLAGS =

EXEEXT = .exe

prefix = /dev/env/DJDIR
exec_prefix = $(prefix)

bindir = $(exec_prefix)/bin
datadir = $(prefix)/lib
libdir = $(prefix)/lib
infodir = $(prefix)/info

# Where to install the manual pages.
mandir = $(prefix)/share/man/man1
# Extension (not including `.') for the installed manual page filenames.
manext = 1

#### End of system configuration section. ####

SHELL = /bin/sh

LOADLIBES = $(LIBS)

DISTFILES = COPYING ChangeLog Makefile.in README configure configure.in doschk.c

DISTNAME = doschk-1.1

all: doschk$(EXEEXT)

.c.o:
	$(CC) -c -I. -I$(srcdir) $(DEFS) $(CPPFLAGS) $(CFLAGS) $<

### targets required by GNU Coding standards ###

Makefile: Makefile.in config.status
	./config.status

config.status: configure
	$(srcdir)/configure --srcdir=$(srcdir) --no-create

configure: configure.in
	cd $(srcdir); autoconf

TAGS:
	cd $(srcdir); etags

clean:
	rm -f *.o core a.out doschk$(EXEEXT)

mostlyclean: clean

distclean: clean
	rm -f Makefile config.status

realclean: distclean
	rm -f TAGS

dist: $(DISTFILES)
	rm -rf $(DISTNAME)
	mkdir $(DISTNAME)
	ln $(DISTFILES) $(DISTNAME)
	tar --gzip -chf $(DISTNAME).tar.z $(DISTNAME)
	rm -rf $(DISTNAME)

install: all
	mkdir -p $(bindir)
	mkdir -p $(mandir)
	$(INSTALL_PROGRAM) doschk$(EXEEXT) $(bindir)/doschk$(EXEEXT)
	$(INSTALL_DATA) doschk.$(manext) $(mandir)/doschk.$(manext)

uninstall: force
	-cd $(bindir); rm -f doschk$(EXEEXT)
	-cd $(mandir); rm -f doschk.$(manext)

### Actual doschk-specific targets ###

doschk$(EXEEXT): doschk.o
	$(LINK) doschk.o $(LIBS)

check: doschk$(EXEEXT)
	ls -1 * | ./doschk$(EXEEXT)

#doschk.info: doschk.texi
#	cd $(srcdir); makeinfo doschk.texi

#doschk.dvi: doschk.texi
#	cd $(srcdir); texi2dvi doschk.texi

# Prevent GNU make v3 from overflowing arg limit on SysV.
.NOEXPORT:
