File: Makefile.in

package info (click to toggle)
spell 1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 560 kB
  • sloc: ansic: 2,189; sh: 379; makefile: 100
file content (153 lines) | stat: -rw-r--r-- 3,539 bytes parent folder | download
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
148
149
150
151
152
153
# Makefile for GNU Spell.

# This file is part of GNU Spell.
# Copyright (C) 1996,2010 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 3 of the License, 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, see <http://www.gnu.org/licenses/>.


# 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
TEXI2PDF = texi2pdf

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

# End of system configuration section.

SRCS = spell.c 
OBJS = spell.o

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

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 spell.pdf *~

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

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

maintainer-clean: maintainer-clean-msg distclean clean-info
	rm -f configure
	rm -Rf spell-*

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: mostlyclean
	rm -f spell.info

TAGS: $(SRCS)
	etags $(SRCS)

info: spell.info

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

dvi: spell.dvi

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

ps: spell.ps

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

pdf: spell.pdf

spell.pdf: spell.texi fdl.texi version.texi
	$(TEXI2PDF) $(srcdir)/spell.texi

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: