Makefile.in 2.29 KB
# 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 = @srcdir@
VPATH = @srcdir@

CC = @CC@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@

DEFS = @DEFS@
LIBS = @LIBS@

CFLAGS = -g
LDFLAGS = -g

prefix = /usr/local
exec_prefix = $(prefix)

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

# Where to install the manual pages.
mandir = $(prefix)/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 doschk.c

DISTNAME = doschk-1.1

all: doschk
info:

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

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

TAGS:
	cd $(srcdir); etags

clean:
	rm -f *.o core a.out doschk

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
	$(INSTALL_PROGRAM) doschk $(bindir)/doschk

install-info:

uninstall: force
	-cd $(bindir); rm -f doschk

### Actual doschk-specific targets ###

doschk: doschk.o

#check: doschk
#	ls -1 * | ./doschk

#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: