| 1 |
rotty |
2 |
# Makefile for chase
|
| 2 |
|
|
# Copyright (C) 1992, 1993 Free Software Foundation, Inc.
|
| 3 |
|
|
# Copyright (C) 1998, 1999, 2000 Antti-Juhani Kaijanaho.
|
| 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 |
|
|
VPATH = @srcdir@
|
| 22 |
|
|
|
| 23 |
|
|
CC = @CC@
|
| 24 |
|
|
|
| 25 |
|
|
INSTALL = @INSTALL@
|
| 26 |
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
| 27 |
|
|
INSTALL_DATA = @INSTALL_DATA@
|
| 28 |
|
|
|
| 29 |
|
|
prefix = @prefix@
|
| 30 |
|
|
exec_prefix = @exec_prefix@
|
| 31 |
|
|
bin_prefix = @bin_prefix@
|
| 32 |
|
|
mandir = @mandir@
|
| 33 |
|
|
bindir = @bindir@
|
| 34 |
|
|
|
| 35 |
|
|
DEFS = @DEFS@
|
| 36 |
|
|
LIBS = @LIBS@
|
| 37 |
|
|
|
| 38 |
|
|
CFLAGS = -g -O2 -Wall -I/usr/include/gc
|
| 39 |
|
|
LDFLAGS = -g
|
| 40 |
|
|
|
| 41 |
|
|
#### End of system configuration section. ####
|
| 42 |
|
|
|
| 43 |
|
|
SHELL = /bin/sh
|
| 44 |
|
|
|
| 45 |
|
|
SRCS = chase.c fname.c
|
| 46 |
|
|
OBJS = chase.o fname.o
|
| 47 |
|
|
HDRS = fname.h gcollect.h
|
| 48 |
|
|
DISTFILES = $(SRCS) $(HDRS) COPYING ChangeLog NEWS Makefile.in \
|
| 49 |
|
|
README INSTALL configure configure.in chase.1 \
|
| 50 |
|
|
mkinstalldirs install-sh config.h.in autogen.sh \
|
| 51 |
|
|
|
| 52 |
|
|
all: chase
|
| 53 |
|
|
.PHONY: all
|
| 54 |
|
|
|
| 55 |
|
|
.PHONY: info dvi
|
| 56 |
|
|
|
| 57 |
|
|
.c.o:
|
| 58 |
|
|
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<
|
| 59 |
|
|
|
| 60 |
|
|
|
| 61 |
|
|
|
| 62 |
|
|
.PHONY: install installdirs
|
| 63 |
|
|
install: installdirs chase
|
| 64 |
|
|
@INSTALL_PROGRAM@ chase @bindir@/$(bin_prefix)chase
|
| 65 |
|
|
@INSTALL_DATA@ chase.1 @mandir@/man1/$(bin_prefix)chase.1
|
| 66 |
|
|
|
| 67 |
|
|
installdirs:
|
| 68 |
|
|
@srcdir@/mkinstalldirs @bindir@ @mandir@ @mandir@/man1
|
| 69 |
|
|
|
| 70 |
|
|
uninstall:
|
| 71 |
|
|
rm -f @bindir@/@bin_prefix@chase
|
| 72 |
|
|
rm -f @mandir@/man1/@bin_prefix@chase.1
|
| 73 |
|
|
|
| 74 |
|
|
install-strip:
|
| 75 |
|
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
|
| 76 |
|
|
install
|
| 77 |
|
|
|
| 78 |
|
|
chase: $(OBJS)
|
| 79 |
|
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
| 80 |
|
|
|
| 81 |
|
|
chase.o: config.h fname.h gcollect.h
|
| 82 |
|
|
fname.o: fname.h gcollect.h
|
| 83 |
|
|
|
| 84 |
|
|
.PHONY: check
|
| 85 |
|
|
check:
|
| 86 |
|
|
@echo There are no checks, sorry.
|
| 87 |
|
|
|
| 88 |
|
|
Makefile: Makefile.in config.status
|
| 89 |
|
|
$(SHELL) config.status
|
| 90 |
|
|
|
| 91 |
|
|
config.status: configure
|
| 92 |
|
|
@srcdir@/configure --no-create
|
| 93 |
|
|
|
| 94 |
|
|
.PHONY: clean mostlyclean distclean realclean dist
|
| 95 |
|
|
|
| 96 |
|
|
clean:
|
| 97 |
|
|
rm -f chase *.o core stamp-h
|
| 98 |
|
|
|
| 99 |
|
|
mostlyclean: clean
|
| 100 |
|
|
rm -f *~
|
| 101 |
|
|
|
| 102 |
|
|
distclean: mostlyclean
|
| 103 |
|
|
rm -f Makefile config.status *.tar.gz config.h config.log
|
| 104 |
|
|
|
| 105 |
|
|
realclean: distclean
|
| 106 |
|
|
rm -f config.h config.cache configure config.log \#*
|
| 107 |
|
|
|
| 108 |
|
|
maintainer-clean: realclean
|
| 109 |
|
|
|
| 110 |
|
|
dist: $(DISTFILES)
|
| 111 |
|
|
rm -rf chase-@VERSION@
|
| 112 |
|
|
mkdir chase-@VERSION@
|
| 113 |
|
|
ln $(DISTFILES) chase-@VERSION@
|
| 114 |
|
|
tar chof chase-@VERSION@.tar chase-@VERSION@
|
| 115 |
|
|
gzip -9 chase-@VERSION@.tar
|
| 116 |
|
|
rm -rf chase-@VERSION@
|
| 117 |
|
|
|
| 118 |
|
|
# Prevent GNU make v3 from overflowing arg limit on SysV.
|
| 119 |
|
|
.NOEXPORT:
|