1
# Makefile for GNU hello. -*- Indented-Text -*-
2
# Copyright (C) 1992, 1993 Free Software Foundation, Inc.
1
# Makefile.in generated by automake 1.6.1 from Makefile.am.
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 2, or (at your option)
4
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5
# Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
9
10
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
# GNU General Public License for more details.
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
#### Start of system configuration section. ####
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19
top_srcdir = @top_srcdir@
22
exec_prefix = @exec_prefix@
26
libexecdir = @libexecdir@
28
sysconfdir = @sysconfdir@
29
sharedstatedir = @sharedstatedir@
30
localstatedir = @localstatedir@
34
includedir = @includedir@
35
oldincludedir = /usr/include
36
pkgdatadir = $(datadir)/@PACKAGE@
37
pkglibdir = $(libdir)/@PACKAGE@
38
pkgincludedir = $(includedir)/@PACKAGE@
44
AUTOHEADER = @AUTOHEADER@
46
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
47
INSTALL = @INSTALL@
26
48
INSTALL_PROGRAM = @INSTALL_PROGRAM@
27
49
INSTALL_DATA = @INSTALL_DATA@
38
exec_prefix = $(prefix)
40
bindir = $(exec_prefix)/bin
41
infodir = $(prefix)/info
43
# Prefix to be prepended to each installed program, normally empty or `g'.
46
#### End of system configuration section. ####
50
SRCS = hello.c version.c getopt.c getopt1.c alloca.c
51
OBJS = hello.o version.o getopt.o getopt1.o @ALLOCA@
53
DISTFILES = $(SRCS) $(HDRS) COPYING ChangeLog NEWS Makefile.in \
54
README INSTALL hello.texi hello.?? hello.??s gpl.texinfo \
55
configure configure.in \
56
mkinstalldirs texinfo.tex hello.info testdata TAGS
66
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<
68
.PHONY: install installdirs
69
install: installdirs hello hello.info
70
$(INSTALL_PROGRAM) hello $(bindir)/$(binprefix)hello
71
-$(INSTALL_DATA) $(srcdir)/hello.info $(infodir)/hello.info
73
${srcdir}/mkinstalldirs $(bindir) $(infodir)
76
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
78
hello.o getopt.o getopt1.o: getopt.h
80
hello.info: hello.texi
81
$(MAKEINFO) -I$(srcdir) -o hello.info $(srcdir)/hello.texi
83
$(TEXI2DVI) $(srcdir)/hello.texi
87
@echo expect no output from diff
89
diff -c $(srcdir)/testdata test.out
92
Makefile: Makefile.in config.status
93
$(SHELL) config.status
95
config.status: configure
96
$(srcdir)/configure --no-create
101
.PHONY: clean mostlyclean distclean realclean dist
104
rm -f hello *.o core test.out hello.dvi hello.?? hello.??s
109
rm -f Makefile config.status
112
rm -f TAGS hello.info*
115
echo hello-`sed -e '/version/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q version.c` > .fname
118
ln $(DISTFILES) `cat .fname`
119
tar chozf `cat .fname`.tar.z `cat .fname`
120
rm -rf `cat .fname` .fname
122
# Prevent GNU make v3 from overflowing arg limit on SysV.
50
install_sh_DATA = $(install_sh) -c -m 644
51
install_sh_PROGRAM = $(install_sh) -c
52
INSTALL_SCRIPT = @INSTALL_SCRIPT@
53
INSTALL_HEADER = $(INSTALL_DATA)
54
transform = @program_transform_name@
61
host_alias = @host_alias@
66
PATH_SEPARATOR = @PATH_SEPARATOR@
69
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
70
CATOBJEXT = @CATOBJEXT@
72
DATADIRNAME = @DATADIRNAME@
78
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
79
INSTOBJEXT = @INSTOBJEXT@
80
INTLBISON = @INTLBISON@
83
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
88
LTLIBICONV = @LTLIBICONV@
89
LTLIBINTL = @LTLIBINTL@
90
MKINSTALLDIRS = @MKINSTALLDIRS@
96
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
99
am__include = @am__include@
100
am__quote = @am__quote@
101
install_sh = @install_sh@
106
AUTOMAKE_OPTIONS = 1.5 gnits dist-bzip2
107
ACLOCAL_AMFLAGS = -I m4
109
MAINT_CHARSET = latin1
111
EXTRA_DIST = BUGS ChangeLog.O config.rpath
113
SUBDIRS = contrib doc intl po src man m4 tests
115
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
116
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
117
CONFIG_HEADER = config.h
118
CONFIG_CLEAN_FILES = intl/Makefile
121
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
122
uninstall-info-recursive all-recursive install-data-recursive \
123
install-exec-recursive installdirs-recursive install-recursive \
124
uninstall-recursive check-recursive installcheck-recursive
125
DIST_COMMON = README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL \
126
Makefile.am Makefile.in NEWS THANKS TODO aclocal.m4 \
127
config.guess config.h.in config.rpath config.sub configure \
128
configure.ac depcomp install-sh missing mkinstalldirs
129
DIST_SUBDIRS = $(SUBDIRS)
131
$(MAKE) $(AM_MAKEFLAGS) all-recursive
134
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
135
cd $(top_srcdir) && \
136
$(AUTOMAKE) --gnits Makefile
137
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
138
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
140
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
141
$(SHELL) ./config.status --recheck
142
$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
143
cd $(srcdir) && $(AUTOCONF)
145
$(ACLOCAL_M4): configure.ac m4/codeset.m4 m4/gettext.m4 m4/glibc21.m4 m4/iconv.m4 m4/isc-posix.m4 m4/lcmessage.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/progtest.m4
146
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
149
@if test ! -f $@; then \
154
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
156
cd $(top_builddir) && $(SHELL) ./config.status config.h
158
$(srcdir)/config.h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4)
159
cd $(top_srcdir) && $(AUTOHEADER)
160
touch $(srcdir)/config.h.in
164
intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
165
cd $(top_builddir) && $(SHELL) ./config.status $@
168
# This directory's subdirectories are mostly independent; you can cd
169
# into them and run `make' without going through this Makefile.
170
# To change the values of `make' variables: instead of editing Makefiles,
171
# (1) if the variable is set in `config.status', edit `config.status'
172
# (which will cause the Makefiles to be regenerated when you run `make');
173
# (2) otherwise, pass the desired values on the `make' command line.
174
$(RECURSIVE_TARGETS):
175
@set fnord $$MAKEFLAGS; amf=$$2; \
177
target=`echo $@ | sed s/-recursive//`; \
178
list='$(SUBDIRS)'; for subdir in $$list; do \
179
echo "Making $$target in $$subdir"; \
180
if test "$$subdir" = "."; then \
182
local_target="$$target-am"; \
184
local_target="$$target"; \
186
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
187
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
189
if test "$$dot_seen" = "no"; then \
190
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
193
mostlyclean-recursive clean-recursive distclean-recursive \
194
maintainer-clean-recursive:
195
@set fnord $$MAKEFLAGS; amf=$$2; \
198
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
199
*) list='$(SUBDIRS)' ;; \
201
rev=''; for subdir in $$list; do \
202
if test "$$subdir" = "."; then :; else \
203
rev="$$subdir $$rev"; \
207
target=`echo $@ | sed s/-recursive//`; \
208
for subdir in $$rev; do \
209
echo "Making $$target in $$subdir"; \
210
if test "$$subdir" = "."; then \
211
local_target="$$target-am"; \
213
local_target="$$target"; \
215
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
216
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
217
done && test -z "$$fail"
219
list='$(SUBDIRS)'; for subdir in $$list; do \
220
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
228
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
229
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
230
unique=`for i in $$list; do \
231
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
233
$(AWK) ' { files[$$0] = 1; } \
234
END { for (i in files) print i; }'`; \
237
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
238
$(TAGS_FILES) $(LISP)
241
list='$(SUBDIRS)'; for subdir in $$list; do \
242
if test "$$subdir" = .; then :; else \
243
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
246
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
247
unique=`for i in $$list; do \
248
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
250
$(AWK) ' { files[$$0] = 1; } \
251
END { for (i in files) print i; }'`; \
252
test -z "$(ETAGS_ARGS)$$tags$$unique" \
253
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
257
here=`$(am__cd) $(top_builddir) && pwd` \
258
&& cd $(top_srcdir) \
259
&& gtags -i $(GTAGS_ARGS) $$here
262
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
263
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
266
distdir = $(PACKAGE)-$(VERSION)
268
am__remove_distdir = \
269
{ test ! -d $(distdir) \
270
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
271
&& rm -fr $(distdir); }; }
274
distcleancheck_listfiles = find . -type f -print
276
distdir: $(DISTFILES)
277
@if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" >/dev/null; \
279
echo "NEWS not updated; not releasing" 1>&2; \
282
$(am__remove_distdir)
284
$(mkinstalldirs) $(distdir)/intl $(distdir)/po
285
@for file in $(DISTFILES); do \
286
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
287
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
288
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
290
$(mkinstalldirs) "$(distdir)$$dir"; \
294
if test -d $$d/$$file; then \
295
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
296
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
298
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
300
test -f $(distdir)/$$file \
301
|| cp -p $$d/$$file $(distdir)/$$file \
305
list='$(SUBDIRS)'; for subdir in $$list; do \
306
if test "$$subdir" = .; then :; else \
307
test -d $(distdir)/$$subdir \
308
|| mkdir $(distdir)/$$subdir \
311
$(MAKE) $(AM_MAKEFLAGS) \
312
top_distdir="$(top_distdir)" \
313
distdir=../$(distdir)/$$subdir \
318
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
319
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
320
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
321
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
322
|| chmod -R a+r $(distdir)
324
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
325
$(am__remove_distdir)
328
$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
329
$(am__remove_distdir)
331
dist dist-all: distdir
332
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
333
$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
334
$(am__remove_distdir)
336
# This target untars the dist file and tries a VPATH configuration. Then
337
# it guarantees that the distribution is self-contained by making another
340
$(am__remove_distdir)
341
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
342
chmod -R a-w $(distdir); chmod a+w $(distdir)
343
mkdir $(distdir)/=build
344
mkdir $(distdir)/=inst
346
dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
347
&& cd $(distdir)/=build \
348
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
349
--with-included-gettext \
350
$(DISTCHECK_CONFIGURE_FLAGS) \
351
&& $(MAKE) $(AM_MAKEFLAGS) \
352
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
353
&& $(MAKE) $(AM_MAKEFLAGS) check \
354
&& $(MAKE) $(AM_MAKEFLAGS) install \
355
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
356
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
357
&& (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
358
|| { echo "ERROR: files left after uninstall:" ; \
359
find $$dc_install_base -type f -print ; \
361
&& $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
362
&& rm -f $(distdir).tar.gz \
363
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
364
$(am__remove_distdir)
365
@echo "$(distdir).tar.gz is ready for distribution" | \
366
sed 'h;s/./=/g;p;x;p;x'
367
distcleancheck: distclean
368
if test '$(srcdir)' = . ; then \
369
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
372
test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
373
|| { echo "ERROR: files left after distclean:" ; \
374
$(distcleancheck_listfiles) ; \
377
check: check-recursive
378
all-am: Makefile config.h
379
installdirs: installdirs-recursive
382
install: install-recursive
383
install-exec: install-exec-recursive
384
install-data: install-data-recursive
385
uninstall: uninstall-recursive
388
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
390
installcheck: installcheck-recursive
392
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
393
INSTALL_STRIP_FLAG=-s \
394
`test -z '$(STRIP)' || \
395
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
401
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
403
maintainer-clean-generic:
404
@echo "This command is intended for maintainers to use"
405
@echo "it deletes files that may require special tools to rebuild."
406
clean: clean-recursive
408
clean-am: clean-generic mostlyclean-am
410
distclean: distclean-recursive
411
-rm -f config.status config.cache config.log
412
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
426
install-info: install-info-recursive
432
maintainer-clean: maintainer-clean-recursive
434
maintainer-clean-am: distclean-am maintainer-clean-generic
436
mostlyclean: mostlyclean-recursive
438
mostlyclean-am: mostlyclean-generic
440
uninstall-am: uninstall-info-am
442
uninstall-info: uninstall-info-recursive
444
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
445
clean-generic clean-recursive dist dist-all dist-bzip2 \
446
dist-gzip distcheck distclean distclean-generic distclean-hdr \
447
distclean-recursive distclean-tags distcleancheck distdir dvi \
448
dvi-am dvi-recursive info info-am info-recursive install \
449
install-am install-data install-data-am install-data-recursive \
450
install-exec install-exec-am install-exec-recursive \
451
install-info install-info-am install-info-recursive install-man \
452
install-recursive install-strip installcheck installcheck-am \
453
installdirs installdirs-am installdirs-recursive \
454
maintainer-clean maintainer-clean-generic \
455
maintainer-clean-recursive mostlyclean mostlyclean-generic \
456
mostlyclean-recursive tags tags-recursive uninstall \
457
uninstall-am uninstall-info-am uninstall-info-recursive \
461
# To produce a diff against the previous version, untar this version
462
# and the previous version in the same directory and run `make diff'.
463
# Only the maintainer should do this.
465
for d in $(PACKAGE)-$(ke_PRE) $(PACKAGE)-$(VERSION) ; do \
466
if test ! -d $$d ; then \
467
if test -r $$d.tar.gz ; then \
468
tar -zxf $$d.tar.gz ; \
470
echo subdir $$d does not exist. ; \
478
To apply these patches, cd to the main directory of the package\n\
479
and then use \`patch -p1 < hello-XXX.diff'.\n\
480
Before building the programm run \`autoconf' and \`autoheader' to rebuild\n\
481
\`configure' and \`config.h.in'.\n\n" > \
482
$(PACKAGE)-$(ke_PRE)-$(VERSION).diff
483
-diff -rc2P --exclude=configure --exclude=config.h.in --exclude=*.info \
484
--exclude=*.gmo --exclude=aclocal.m4 \
485
$(PACKAGE)-$(ke_PRE) $(PACKAGE)-$(VERSION) >> \
486
$(PACKAGE)-$(ke_PRE)-$(VERSION).diff
487
gzip --force --best $(PACKAGE)-$(ke_PRE)-$(VERSION).diff
490
# gzip < po/hello.pot \
491
# | uuencode -m hello-$(VERSION).pot.gz \
492
# | mail -s "TP-Robot hello-$(VERSION).pot" translation@iro.umontreal.ca
493
echo "http://www.gnu.franken.de/ke/hello/hello-$(VERSION).tar.bz2" \
494
| mail -s "TP-Robot hello-$(VERSION).pot" \
495
translation@iro.umontreal.ca
496
# Tell versions [3.59,3.63) of GNU make to not export all variables.
497
# Otherwise a system limit (for SysV at least) may be exceeded.