File: Makefile.in

package info (click to toggle)
spell 1.0-17
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 352 kB
  • ctags: 110
  • sloc: sh: 3,540; ansic: 1,306; makefile: 148
file content (147 lines) | stat: -rw-r--r-- 3,558 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# Makefile for GNU Spell.

# This file is part of GNU Spell.
# Copyright (C) 1996 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.

SHELL = /bin/sh
VPATH = @srcdir@
srcdir = @srcdir@
exec_prefix = @exec_prefix@
prefix = @prefix@
VERSION = @VERSION@

AUTOCONF = autoconf
CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = -I$(srcdir) @CPPFLAGS@
DEFS = @DEFS@
DVIPS = dvips
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi

bindir = $(exec_prefix)/bin
infodir = $(prefix)/info

# End of system configuration section.

SRCS = spell.c str.c getopt.c getopt1.c
OBJS = spell.o str.o getopt.o getopt1.o

DISTFILES = $(SRCS) COPYING INSTALL Makefile.in README \
	config.h.in configure configure.in getopt.h install-sh \
	mkinstalldirs sample spell.info spell.texi version.texi str.h

all: spell info

.SUFFIXES:
.SUFFIXES: .c .o

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

spell: $(OBJS)
	$(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@

install: installdirs install-info
	$(INSTALL_PROGRAM) spell $(bindir)/spell

install-info:
	$(INSTALL_DATA) $(srcdir)/spell.info $(infodir)/spell.info

uninstall:
	rm -f $(bindir)/spell $(infodir)/spell.info

clean:
	rm -f spell *.o core spell.dvi spell.ps version.texi

distclean: clean
	rm -f Makefile config.cache config.h config.log config.status

mostlyclean: clean
	rm -f *.aux *.cp *.cps *.dvi *.ps *.fn *.fns *.ky *.log *.pg *.toc
	rm -f *.tp *.vr

maintainer-clean: maintainer-clean-msg distclean clean-info

maintainer-clean-msg:
	@echo "This command is intended for maintainers to use; it"
	@echo "deletes files that may require special tools to rebuild."

clean-info:
	rm -f spell.info version.texi
	rm -f *.aux *.cp *.cps *.dvi *.ps *.fn *.fns *.ky *.log *.pg *.toc
	rm -f *.tp *.vr

TAGS: $(SRCS)
	etags $(SRCS)

version.texi:
	echo "@set VERSION $(VERSION)" > version.texi

info: spell.info

spell.info: spell.texi version.texi
	$(MAKEINFO) $(srcdir)/spell.texi

dvi: spell.dvi

spell.dvi: spell.texi
	$(TEXI2DVI) $(srcdir)/spell.texi

ps: spell.ps

spell.ps: spell.dvi
	$(DVIPS) -o $@ ./spell.dvi

dist: $(DISTFILES)
	rm -rf spell-$(VERSION)
	mkdir spell-$(VERSION)
	chmod 777 spell-$(VERSION)
	for file in $(DISTFILES); \
        do \
	  ln $(srcdir)/$$file spell-$(VERSION) 2> /dev/null \
	    || cp -p $(srcdir)/$$file spell-$(VERSION); \
	done
	chmod -R a+r spell-$(VERSION)
	tar -chozf spell-$(VERSION).tar.gz spell-$(VERSION)
	rm -rf spell-$(VERSION)

check:

installcheck:

installdirs: mkinstalldirs
	$(srcdir)/mkinstalldirs $(bindir) $(infodir)

Makefile: Makefile.in config.status
	CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status

config.status: configure
	./config.status --recheck

configure: configure.in
	cd $(srcdir) && $(AUTOCONF)

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