# Makefile for doschk. -*- Indented-Text -*-
|
# Makefile for doschk. -*- Indented-Text -*-
|
# Copyright (C) 1993 Free Software Foundation, Inc.
|
# Copyright (C) 1993 Free Software Foundation, Inc.
|
|
|
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
# the Free Software Foundation; either version 2, or (at your option)
|
# the Free Software Foundation; either version 2, or (at your option)
|
# any later version.
|
# any later version.
|
|
|
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
|
|
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
#### Start of system configuration section. ####
|
#### Start of system configuration section. ####
|
|
|
srcdir = @srcdir@
|
srcdir = @srcdir@
|
VPATH = @srcdir@
|
VPATH = @srcdir@
|
|
|
CC = @CC@
|
CC = @CC@
|
|
|
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
DEFS = @DEFS@
|
DEFS = @DEFS@
|
LIBS = @LIBS@
|
LIBS = @LIBS@
|
|
|
CFLAGS = -g
|
CFLAGS = -g
|
LDFLAGS = -g
|
LDFLAGS = -g
|
|
|
prefix = /usr/local
|
prefix = /usr/local
|
exec_prefix = $(prefix)
|
exec_prefix = $(prefix)
|
|
|
bindir = $(exec_prefix)/bin
|
bindir = $(exec_prefix)/bin
|
datadir = $(prefix)/share
|
datadir = $(prefix)/share
|
libdir = $(exec_prefix)/lib
|
libdir = $(exec_prefix)/lib
|
infodir = $(prefix)/info
|
infodir = $(prefix)/info
|
|
|
# Where to install the manual pages.
|
# Where to install the manual pages.
|
mandir = $(prefix)/man/man1
|
mandir = $(prefix)/man/man1
|
# Extension (not including `.') for the installed manual page filenames.
|
# Extension (not including `.') for the installed manual page filenames.
|
manext = 1
|
manext = 1
|
|
|
#### End of system configuration section. ####
|
#### End of system configuration section. ####
|
|
|
SHELL = /bin/sh
|
SHELL = /bin/sh
|
|
|
LOADLIBES = $(LIBS)
|
LOADLIBES = $(LIBS)
|
|
|
DISTFILES = COPYING ChangeLog Makefile.in README doschk.c
|
DISTFILES = COPYING ChangeLog Makefile.in README doschk.c
|
|
|
DISTNAME = doschk-1.1
|
DISTNAME = doschk-1.1
|
|
|
all: doschk
|
all: doschk
|
info:
|
info:
|
|
|
.c.o:
|
.c.o:
|
$(CC) -c -I. -I$(srcdir) $(DEFS) $(CPPFLAGS) $(CFLAGS) $<
|
$(CC) -c -I. -I$(srcdir) $(DEFS) $(CPPFLAGS) $(CFLAGS) $<
|
|
|
### targets required by GNU Coding standards ###
|
### targets required by GNU Coding standards ###
|
|
|
TAGS:
|
TAGS:
|
cd $(srcdir); etags
|
cd $(srcdir); etags
|
|
|
clean:
|
clean:
|
rm -f *.o core a.out doschk
|
rm -f *.o core a.out doschk
|
|
|
mostlyclean: clean
|
mostlyclean: clean
|
|
|
distclean: clean
|
distclean: clean
|
rm -f Makefile config.status
|
rm -f Makefile config.status
|
|
|
realclean: distclean
|
realclean: distclean
|
rm -f TAGS
|
rm -f TAGS
|
|
|
dist: $(DISTFILES)
|
dist: $(DISTFILES)
|
rm -rf $(DISTNAME)
|
rm -rf $(DISTNAME)
|
mkdir $(DISTNAME)
|
mkdir $(DISTNAME)
|
ln $(DISTFILES) $(DISTNAME)
|
ln $(DISTFILES) $(DISTNAME)
|
tar --gzip -chf $(DISTNAME).tar.z $(DISTNAME)
|
tar --gzip -chf $(DISTNAME).tar.z $(DISTNAME)
|
rm -rf $(DISTNAME)
|
rm -rf $(DISTNAME)
|
|
|
install: all
|
install: all
|
$(INSTALL_PROGRAM) doschk $(bindir)/doschk
|
$(INSTALL_PROGRAM) doschk $(bindir)/doschk
|
|
|
install-info:
|
install-info:
|
|
|
uninstall: force
|
uninstall: force
|
-cd $(bindir); rm -f doschk
|
-cd $(bindir); rm -f doschk
|
|
|
### Actual doschk-specific targets ###
|
### Actual doschk-specific targets ###
|
|
|
doschk: doschk.o
|
doschk: doschk.o
|
|
|
#check: doschk
|
#check: doschk
|
# ls -1 * | ./doschk
|
# ls -1 * | ./doschk
|
|
|
#doschk.info: doschk.texi
|
#doschk.info: doschk.texi
|
# cd $(srcdir); makeinfo doschk.texi
|
# cd $(srcdir); makeinfo doschk.texi
|
|
|
#doschk.dvi: doschk.texi
|
#doschk.dvi: doschk.texi
|
# cd $(srcdir); texi2dvi doschk.texi
|
# cd $(srcdir); texi2dvi doschk.texi
|
|
|
# Prevent GNU make v3 from overflowing arg limit on SysV.
|
# Prevent GNU make v3 from overflowing arg limit on SysV.
|
.NOEXPORT:
|
.NOEXPORT:
|
|
|