~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/3rdparty/qmake/LINUXAMD64_24/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Generated automatically from Makefile.in by configure.
 
2
# Makefile.in generated automatically by automake 1.4 from Makefile.am
 
3
 
 
4
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 
5
# This Makefile.in is free software; the Free Software Foundation
 
6
# gives unlimited permission to copy and/or distribute it,
 
7
# with or without modifications, as long as this notice is preserved.
 
8
 
 
9
# This program is distributed in the hope that it will be useful,
 
10
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
12
# PARTICULAR PURPOSE.
 
13
 
 
14
# This is a -*-Makefile-*-, or close enough
 
15
 
 
16
 
 
17
SHELL = /bin/sh
 
18
 
 
19
srcdir = ..
 
20
top_srcdir = ..
 
21
VPATH = ..
 
22
prefix = /usr/local
 
23
exec_prefix = ${prefix}
 
24
 
 
25
bindir = ${exec_prefix}/bin
 
26
sbindir = ${exec_prefix}/sbin
 
27
libexecdir = ${exec_prefix}/libexec
 
28
datadir = ${prefix}/share
 
29
sysconfdir = ${prefix}/etc
 
30
sharedstatedir = ${prefix}/com
 
31
localstatedir = ${prefix}/var
 
32
libdir = ${exec_prefix}/lib
 
33
infodir = ${prefix}/info
 
34
mandir = ${prefix}/man
 
35
includedir = ${prefix}/include
 
36
oldincludedir = /usr/include
 
37
 
 
38
DESTDIR =
 
39
 
 
40
pkgdatadir = $(datadir)/make
 
41
pkglibdir = $(libdir)/make
 
42
pkgincludedir = $(includedir)/make
 
43
 
 
44
top_builddir = .
 
45
 
 
46
ACLOCAL = aclocal
 
47
AUTOCONF = autoconf
 
48
AUTOMAKE = automake
 
49
AUTOHEADER = autoheader
 
50
 
 
51
INSTALL = /usr/bin/ginstall -c
 
52
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
 
53
INSTALL_DATA = ${INSTALL} -m 644
 
54
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
 
55
transform = s,x,x,
 
56
 
 
57
NORMAL_INSTALL = :
 
58
PRE_INSTALL = :
 
59
POST_INSTALL = :
 
60
NORMAL_UNINSTALL = :
 
61
PRE_UNINSTALL = :
 
62
POST_UNINSTALL = :
 
63
host_alias = i686-pc-linux-gnu
 
64
host_triplet = i686-pc-linux-gnu
 
65
AR = ar
 
66
CC = gcc
 
67
CPP = gcc -E
 
68
GETCONF = getconf
 
69
GLOBLIB = 
 
70
LIBOBJS =  getloadavg.o
 
71
MAKEINFO = makeinfo
 
72
PACKAGE = make
 
73
PERL = perl
 
74
RANLIB = ranlib
 
75
REMOTE = sge
 
76
VERSION = 3.78.1
 
77
 
 
78
AUTOMAKE_OPTIONS = 1.4
 
79
 
 
80
bin_PROGRAMS = make
 
81
 
 
82
make_SOURCES = main.c commands.c job.c dir.c file.c misc.c read.c remake.c              rule.c implicit.c default.c variable.c expand.c function.c              vpath.c version.c ar.c arscan.c remote-$(REMOTE).c              commands.h dep.h filedef.h job.h make.h rule.h variable.h               signame.c signame.h             getopt.c getopt1.c getopt.h
 
83
 
 
84
make_LDADD =  getloadavg.o  
 
85
 
 
86
info_TEXINFOS = make.texinfo
 
87
man_MANS = make.1
 
88
 
 
89
INCLUDES = -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\"
 
90
 
 
91
EXTRA_DIST = README build.sh.in $(man_MANS) README.customs remote-cstms.c               make-stds.texi texinfo.tex SCOPTIONS SMakefile          README.Amiga Makefile.ami config.ami make.lnk amiga.c amiga.h           README.DOS Makefile.DOS configure.bat dosbuild.bat configh.dos          README.W32 NMakefile config.h.W32 build_w32.bat subproc.bat             readme.vms makefile.vms makefile.com config.h-vms vmsdir.h              vmsfunctions.c vmsify.c
 
92
 
 
93
 
 
94
SUBDIRS = glob
 
95
 
 
96
MOSTLYCLEANFILES = loadavg.c
 
97
CLEANFILES = loadavg
 
98
 
 
99
MAKE_HOST = i686-pc-linux-gnu
 
100
 
 
101
# --------------- Local INSTALL Section
 
102
 
 
103
# If necessary, change the gid of the app and turn on the setgid flag.
 
104
#
 
105
 
 
106
# Whether or not make needs to be installed setgid.
 
107
# The value should be either `true' or `false'.
 
108
# On many systems, the getloadavg function (used to implement the `-l'
 
109
# switch) will not work unless make is installed setgid kmem.
 
110
#
 
111
inst_setgid = false
 
112
 
 
113
# Install make setgid to this group so it can get the load average.
 
114
#
 
115
inst_group = 
 
116
 
 
117
# > check-regression
 
118
#
 
119
# Look for the make test suite, and run it if found and we can find perl.
 
120
# If we're building outside the tree, we use symlinks to make a local copy of
 
121
# the test suite.  Unfortunately the test suite itself isn't localizable yet.
 
122
#
 
123
MAKETESTFLAGS = 
 
124
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
125
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 
126
CONFIG_HEADER = config.h
 
127
CONFIG_CLEAN_FILES =  build.sh
 
128
PROGRAMS =  $(bin_PROGRAMS)
 
129
 
 
130
 
 
131
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
 
132
CPPFLAGS = 
 
133
LDFLAGS = 
 
134
LIBS = 
 
135
make_OBJECTS =  main.o commands.o job.o dir.o file.o misc.o read.o \
 
136
remake.o rule.o implicit.o default.o variable.o expand.o function.o \
 
137
vpath.o version.o ar.o arscan.o remote-$(REMOTE).o signame.o getopt.o \
 
138
getopt1.o
 
139
make_DEPENDENCIES =   getloadavg.o 
 
140
make_LDFLAGS = 
 
141
CFLAGS = -g -O2 -Wall -DLINUX
 
142
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
143
CCLD = $(CC)
 
144
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
 
145
TEXI2DVI = texi2dvi
 
146
INFO_DEPS = make.info
 
147
DVIS = make.dvi
 
148
TEXINFOS = make.texinfo
 
149
man1dir = $(mandir)/man1
 
150
MANS = $(man_MANS)
 
151
 
 
152
NROFF = nroff
 
153
DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
 
154
Makefile.am Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 \
 
155
alloca.c build.sh.in config.guess config.h.in config.sub configure \
 
156
configure.in getloadavg.c install-sh missing mkinstalldirs texinfo.tex
 
157
 
 
158
 
 
159
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
160
 
 
161
TAR = tar
 
162
GZIP_ENV = --best
 
163
SOURCES = $(make_SOURCES)
 
164
OBJECTS = $(make_OBJECTS)
 
165
 
 
166
all: all-redirect
 
167
.SUFFIXES:
 
168
.SUFFIXES: .c .o
 
169
#$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
 
170
#       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
 
171
#
 
172
#Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
 
173
#       cd $(top_builddir) \
 
174
#         && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
175
#
 
176
#$(ACLOCAL_M4):  configure.in  acinclude.m4
 
177
#       cd $(srcdir) && $(ACLOCAL)
 
178
#
 
179
#config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
180
#       $(SHELL) ./config.status --recheck
 
181
#$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
 
182
#       cd $(srcdir) && $(AUTOCONF)
 
183
#
 
184
#config.h: stamp-h
 
185
#       @if test ! -f $@; then \
 
186
#               rm -f stamp-h; \
 
187
#               $(MAKE) stamp-h; \
 
188
#       else :; fi
 
189
#stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
 
190
#       cd $(top_builddir) \
 
191
#         && CONFIG_FILES= CONFIG_HEADERS=config.h \
 
192
#            $(SHELL) ./config.status
 
193
#       @echo timestamp > stamp-h 2> /dev/null
 
194
#$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
 
195
#       @if test ! -f $@; then \
 
196
#               rm -f $(srcdir)/stamp-h.in; \
 
197
#               $(MAKE) $(srcdir)/stamp-h.in; \
 
198
#       else :; fi
 
199
#$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
 
200
#       cd $(top_srcdir) && $(AUTOHEADER)
 
201
#       @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
 
202
#
 
203
#mostlyclean-hdr:
 
204
#
 
205
#clean-hdr:
 
206
#
 
207
#distclean-hdr:
 
208
#       -rm -f config.h
 
209
#
 
210
#maintainer-clean-hdr:
 
211
#build.sh: $(top_builddir)/config.status build.sh.in
 
212
#       cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
213
#
 
214
mostlyclean-binPROGRAMS:
 
215
 
 
216
clean-binPROGRAMS:
 
217
        -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
 
218
 
 
219
distclean-binPROGRAMS:
 
220
 
 
221
maintainer-clean-binPROGRAMS:
 
222
 
 
223
install-binPROGRAMS: $(bin_PROGRAMS)
 
224
        @$(NORMAL_INSTALL)
 
225
        $(mkinstalldirs) $(DESTDIR)$(bindir)
 
226
        @list='$(bin_PROGRAMS)'; for p in $$list; do \
 
227
          if test -f $$p; then \
 
228
            echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
 
229
             $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
 
230
          else :; fi; \
 
231
        done
 
232
 
 
233
uninstall-binPROGRAMS:
 
234
        @$(NORMAL_UNINSTALL)
 
235
        list='$(bin_PROGRAMS)'; for p in $$list; do \
 
236
          rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
 
237
        done
 
238
 
 
239
depend:
 
240
        @echo No dependencies for 3rd_party qmake
 
241
   
 
242
.c.o:
 
243
        $(COMPILE) -c $<
 
244
 
 
245
.s.o:
 
246
        $(COMPILE) -c $<
 
247
 
 
248
.S.o:
 
249
        $(COMPILE) -c $<
 
250
 
 
251
mostlyclean-compile:
 
252
        -rm -f *.o core *.core
 
253
 
 
254
clean-compile:
 
255
 
 
256
distclean-compile:
 
257
        -rm -f *.tab.c
 
258
 
 
259
maintainer-clean-compile:
 
260
 
 
261
make: $(make_OBJECTS) $(make_DEPENDENCIES)
 
262
        @rm -f make
 
263
        $(LINK) $(make_LDFLAGS) $(make_OBJECTS) $(make_LDADD) $(LIBS)
 
264
 
 
265
make.info: make.texinfo
 
266
make.dvi: make.texinfo
 
267
 
 
268
 
 
269
DVIPS = dvips
 
270
 
 
271
.texi.info:
 
272
        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
 
273
        cd $(srcdir) \
 
274
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
 
275
 
 
276
.texi.dvi:
 
277
        TEXINPUTS=.:$$TEXINPUTS \
 
278
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
 
279
 
 
280
.texi:
 
281
        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
 
282
        cd $(srcdir) \
 
283
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
 
284
 
 
285
.texinfo.info:
 
286
        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
 
287
        cd $(srcdir) \
 
288
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
 
289
 
 
290
.texinfo:
 
291
        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
 
292
        cd $(srcdir) \
 
293
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
 
294
 
 
295
.texinfo.dvi:
 
296
        TEXINPUTS=.:$$TEXINPUTS \
 
297
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
 
298
 
 
299
.txi.info:
 
300
        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
 
301
        cd $(srcdir) \
 
302
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
 
303
 
 
304
.txi.dvi:
 
305
        TEXINPUTS=.:$$TEXINPUTS \
 
306
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
 
307
 
 
308
.txi:
 
309
        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
 
310
        cd $(srcdir) \
 
311
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
 
312
.dvi.ps:
 
313
        $(DVIPS) $< -o $@
 
314
 
 
315
install-info-am: $(INFO_DEPS)
 
316
        @$(NORMAL_INSTALL)
 
317
        $(mkinstalldirs) $(DESTDIR)$(infodir)
 
318
        @list='$(INFO_DEPS)'; \
 
319
        for file in $$list; do \
 
320
          d=$(srcdir); \
 
321
          for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
 
322
            if test -f $$d/$$ifile; then \
 
323
              echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
 
324
              $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
 
325
            else : ; fi; \
 
326
          done; \
 
327
        done
 
328
        @$(POST_INSTALL)
 
329
        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
 
330
          list='$(INFO_DEPS)'; \
 
331
          for file in $$list; do \
 
332
            echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
 
333
            install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
 
334
          done; \
 
335
        else : ; fi
 
336
 
 
337
uninstall-info:
 
338
        $(PRE_UNINSTALL)
 
339
        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
 
340
          ii=yes; \
 
341
        else ii=; fi; \
 
342
        list='$(INFO_DEPS)'; \
 
343
        for file in $$list; do \
 
344
          test -z "$ii" \
 
345
            || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
 
346
        done
 
347
        @$(NORMAL_UNINSTALL)
 
348
        list='$(INFO_DEPS)'; \
 
349
        for file in $$list; do \
 
350
          (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
 
351
        done
 
352
 
 
353
dist-info: $(INFO_DEPS)
 
354
        list='$(INFO_DEPS)'; \
 
355
        for base in $$list; do \
 
356
          d=$(srcdir); \
 
357
          for file in `cd $$d && eval echo $$base*`; do \
 
358
            test -f $(distdir)/$$file \
 
359
            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
 
360
            || cp -p $$d/$$file $(distdir)/$$file; \
 
361
          done; \
 
362
        done
 
363
 
 
364
mostlyclean-aminfo:
 
365
        -rm -f make.aux make.cp make.cps make.dvi make.fn make.fns make.ky \
 
366
          make.kys make.ps make.log make.pg make.toc make.tp make.tps \
 
367
          make.vr make.vrs make.op make.tr make.cv make.cn
 
368
 
 
369
clean-aminfo:
 
370
 
 
371
distclean-aminfo:
 
372
 
 
373
maintainer-clean-aminfo:
 
374
        cd $(srcdir) && for i in $(INFO_DEPS); do \
 
375
          rm -f $$i; \
 
376
          if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
 
377
            rm -f $$i-[0-9]*; \
 
378
          fi; \
 
379
        done
 
380
 
 
381
install-man1:
 
382
        $(mkinstalldirs) $(DESTDIR)$(man1dir)
 
383
        @list='$(man1_MANS)'; \
 
384
        l2='$(man_MANS)'; for i in $$l2; do \
 
385
          case "$$i" in \
 
386
            *.1*) list="$$list $$i" ;; \
 
387
          esac; \
 
388
        done; \
 
389
        for i in $$list; do \
 
390
          if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
 
391
          else file=$$i; fi; \
 
392
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
 
393
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
 
394
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
 
395
          echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
 
396
          $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
 
397
        done
 
398
 
 
399
uninstall-man1:
 
400
        @list='$(man1_MANS)'; \
 
401
        l2='$(man_MANS)'; for i in $$l2; do \
 
402
          case "$$i" in \
 
403
            *.1*) list="$$list $$i" ;; \
 
404
          esac; \
 
405
        done; \
 
406
        for i in $$list; do \
 
407
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
 
408
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
 
409
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
 
410
          echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
 
411
          rm -f $(DESTDIR)$(man1dir)/$$inst; \
 
412
        done
 
413
install-man: $(MANS)
 
414
        @$(NORMAL_INSTALL)
 
415
        $(MAKE) $(AM_MAKEFLAGS) install-man1
 
416
uninstall-man:
 
417
        @$(NORMAL_UNINSTALL)
 
418
        $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
 
419
 
 
420
# This directory's subdirectories are mostly independent; you can cd
 
421
# into them and run `make' without going through this Makefile.
 
422
# To change the values of `make' variables: instead of editing Makefiles,
 
423
# (1) if the variable is set in `config.status', edit `config.status'
 
424
#     (which will cause the Makefiles to be regenerated when you run `make');
 
425
# (2) otherwise, pass the desired values on the `make' command line.
 
426
 
 
427
 
 
428
 
 
429
all-recursive install-data-recursive install-exec-recursive \
 
430
installdirs-recursive install-recursive uninstall-recursive  \
 
431
check-recursive installcheck-recursive info-recursive dvi-recursive:
 
432
        @set fnord $(MAKEFLAGS); amf=$$2; \
 
433
        dot_seen=no; \
 
434
        target=`echo $@ | sed s/-recursive//`; \
 
435
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
436
          echo "Making $$target in $$subdir"; \
 
437
          if test "$$subdir" = "."; then \
 
438
            dot_seen=yes; \
 
439
            local_target="$$target-am"; \
 
440
          else \
 
441
            local_target="$$target"; \
 
442
          fi; \
 
443
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
444
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
 
445
        done; \
 
446
        if test "$$dot_seen" = "no"; then \
 
447
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
 
448
        fi; test -z "$$fail"
 
449
 
 
450
mostlyclean-recursive clean-recursive distclean-recursive \
 
451
maintainer-clean-recursive:
 
452
        @set fnord $(MAKEFLAGS); amf=$$2; \
 
453
        dot_seen=no; \
 
454
        rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
 
455
          rev="$$subdir $$rev"; \
 
456
          test "$$subdir" = "." && dot_seen=yes; \
 
457
        done; \
 
458
        test "$$dot_seen" = "no" && rev=". $$rev"; \
 
459
        target=`echo $@ | sed s/-recursive//`; \
 
460
        for subdir in $$rev; do \
 
461
          echo "Making $$target in $$subdir"; \
 
462
          if test "$$subdir" = "."; then \
 
463
            local_target="$$target-am"; \
 
464
          else \
 
465
            local_target="$$target"; \
 
466
          fi; \
 
467
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
468
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
 
469
        done && test -z "$$fail"
 
470
tags-recursive:
 
471
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
472
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
 
473
        done
 
474
 
 
475
tags: TAGS
 
476
 
 
477
ID: $(HEADERS) $(SOURCES) $(LISP)
 
478
        list='$(SOURCES) $(HEADERS)'; \
 
479
        unique=`for i in $$list; do echo $$i; done | \
 
480
          awk '    { files[$$0] = 1; } \
 
481
               END { for (i in files) print i; }'`; \
 
482
        here=`pwd` && cd $(srcdir) \
 
483
          && mkid -f$$here/ID $$unique $(LISP)
 
484
 
 
485
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
 
486
        tags=; \
 
487
        here=`pwd`; \
 
488
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
489
   if test "$$subdir" = .; then :; else \
 
490
            test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
 
491
   fi; \
 
492
        done; \
 
493
        list='$(SOURCES) $(HEADERS)'; \
 
494
        unique=`for i in $$list; do echo $$i; done | \
 
495
          awk '    { files[$$0] = 1; } \
 
496
               END { for (i in files) print i; }'`; \
 
497
        test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
 
498
          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
 
499
 
 
500
mostlyclean-tags:
 
501
 
 
502
clean-tags:
 
503
 
 
504
distclean-tags:
 
505
        -rm -f TAGS ID
 
506
 
 
507
maintainer-clean-tags:
 
508
 
 
509
distdir = $(PACKAGE)-$(VERSION)
 
510
top_distdir = $(distdir)
 
511
 
 
512
# This target untars the dist file and tries a VPATH configuration.  Then
 
513
# it guarantees that the distribution is self-contained by making another
 
514
# tarfile.
 
515
distcheck: dist
 
516
        -rm -rf $(distdir)
 
517
        GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
 
518
        mkdir $(distdir)/=build
 
519
        mkdir $(distdir)/=inst
 
520
        dc_install_base=`cd $(distdir)/=inst && pwd`; \
 
521
        cd $(distdir)/=build \
 
522
          && ../configure --srcdir=.. --prefix=$$dc_install_base \
 
523
          && $(MAKE) $(AM_MAKEFLAGS) \
 
524
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
 
525
          && $(MAKE) $(AM_MAKEFLAGS) check \
 
526
          && $(MAKE) $(AM_MAKEFLAGS) install \
 
527
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
 
528
          && $(MAKE) $(AM_MAKEFLAGS) dist
 
529
        -rm -rf $(distdir)
 
530
        @banner="$(distdir).tar.gz is ready for distribution"; \
 
531
        dashes=`echo "$$banner" | sed s/./=/g`; \
 
532
        echo "$$dashes"; \
 
533
        echo "$$banner"; \
 
534
        echo "$$dashes"
 
535
dist: distdir
 
536
        -chmod -R a+r $(distdir)
 
537
        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
 
538
        -rm -rf $(distdir)
 
539
dist-all: distdir
 
540
        -chmod -R a+r $(distdir)
 
541
        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
 
542
        -rm -rf $(distdir)
 
543
distdir: $(DISTFILES)
 
544
        -rm -rf $(distdir)
 
545
        mkdir $(distdir)
 
546
        -chmod 777 $(distdir)
 
547
        @for file in $(DISTFILES); do \
 
548
          d=$(srcdir); \
 
549
          if test -d $$d/$$file; then \
 
550
            cp -pr $$/$$file $(distdir)/$$file; \
 
551
          else \
 
552
            test -f $(distdir)/$$file \
 
553
            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
 
554
            || cp -p $$d/$$file $(distdir)/$$file || :; \
 
555
          fi; \
 
556
        done
 
557
        for subdir in $(SUBDIRS); do \
 
558
          if test "$$subdir" = .; then :; else \
 
559
            test -d $(distdir)/$$subdir \
 
560
            || mkdir $(distdir)/$$subdir \
 
561
            || exit 1; \
 
562
            chmod 777 $(distdir)/$$subdir; \
 
563
            (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
 
564
              || exit 1; \
 
565
          fi; \
 
566
        done
 
567
        $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
 
568
        $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
 
569
info-am: $(INFO_DEPS)
 
570
info: info-recursive
 
571
dvi-am: $(DVIS)
 
572
dvi: dvi-recursive
 
573
check-am: all-am
 
574
        $(MAKE) $(AM_MAKEFLAGS) check-local
 
575
check: check-recursive
 
576
installcheck-am:
 
577
installcheck: installcheck-recursive
 
578
all-recursive-am: config.h
 
579
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
580
 
 
581
install-exec-am: install-binPROGRAMS install-exec-local
 
582
install-exec: install-exec-recursive
 
583
 
 
584
install-data-am: install-info-am install-man
 
585
install-data: install-data-recursive
 
586
 
 
587
install-am: all-am
 
588
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
589
install: install-recursive
 
590
uninstall-am: uninstall-binPROGRAMS uninstall-info uninstall-man
 
591
uninstall: uninstall-recursive
 
592
all-am: Makefile $(INFO_DEPS) $(PROGRAMS) $(MANS) config.h
 
593
all-redirect: all-recursive-am
 
594
install-strip:
 
595
        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
 
596
installdirs: installdirs-recursive
 
597
installdirs-am:
 
598
        $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
 
599
                $(DESTDIR)$(mandir)/man1
 
600
 
 
601
 
 
602
mostlyclean-generic:
 
603
        -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
 
604
 
 
605
clean-generic:
 
606
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
607
 
 
608
distclean-generic:
 
609
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
 
610
        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
 
611
 
 
612
maintainer-clean-generic:
 
613
mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
 
614
                mostlyclean-compile mostlyclean-aminfo mostlyclean-tags \
 
615
                mostlyclean-generic
 
616
 
 
617
mostlyclean: mostlyclean-recursive
 
618
 
 
619
clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-aminfo \
 
620
                clean-tags clean-generic mostlyclean-am
 
621
 
 
622
clean: clean-recursive
 
623
 
 
624
distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
 
625
                distclean-aminfo distclean-tags distclean-generic \
 
626
                clean-am
 
627
 
 
628
distclean: distclean-recursive
 
629
        -rm -f config.status
 
630
 
 
631
maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
 
632
                maintainer-clean-compile maintainer-clean-aminfo \
 
633
                maintainer-clean-tags maintainer-clean-generic \
 
634
                distclean-am maintainer-clean-local
 
635
        @echo "This command is intended for maintainers to use;"
 
636
        @echo "it deletes files that may require special tools to rebuild."
 
637
 
 
638
maintainer-clean: maintainer-clean-recursive
 
639
        -rm -f config.status
 
640
 
 
641
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
 
642
mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
 
643
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
 
644
mostlyclean-compile distclean-compile clean-compile \
 
645
maintainer-clean-compile install-info-am uninstall-info \
 
646
mostlyclean-aminfo distclean-aminfo clean-aminfo \
 
647
maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
 
648
uninstall-man install-data-recursive uninstall-data-recursive \
 
649
install-exec-recursive uninstall-exec-recursive installdirs-recursive \
 
650
uninstalldirs-recursive all-recursive check-recursive \
 
651
installcheck-recursive info-recursive dvi-recursive \
 
652
mostlyclean-recursive distclean-recursive clean-recursive \
 
653
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
 
654
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
 
655
dvi-am dvi check-local check check-am installcheck-am installcheck \
 
656
all-recursive-am install-exec-local install-exec-am install-exec \
 
657
install-data-am install-data install-am install uninstall-am uninstall \
 
658
all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
 
659
distclean-generic clean-generic maintainer-clean-generic clean \
 
660
mostlyclean distclean maintainer-clean
 
661
 
 
662
 
 
663
install-exec-local:
 
664
        @if $(inst_setgid); then \
 
665
           app=$(DESTDIR)$(bindir)/`echo $(bin_PROGRAMS)|sed '$(transform)'`; \
 
666
           if chgrp $(inst_group) $$app && chmod g+s $$app; then \
 
667
             echo "chgrp $(inst_group) $$app && chmod g+s $$app"; \
 
668
           else \
 
669
             echo "$$app needs to be owned by group $(inst_group) and setgid;"; \
 
670
             echo "otherwise the \`-l' option will probably not work."; \
 
671
             echo "You may need special privileges to complete the installation"; \
 
672
             echo "of $$app."; \
 
673
           fi; \
 
674
         else true; fi
 
675
 
 
676
# --------------- Local DIST Section
 
677
 
 
678
# Install the w32 and tests subdirectories
 
679
#
 
680
dist-hook:
 
681
        (cd $(srcdir); \
 
682
         sub=`find w32 tests -follow \( -name CVS -prune -o -name work -prune \) -o \( -name \*.orig -o -name \*.rej -o -name \*~ -prune \) -o -type f -print`; \
 
683
         tar chf - $$sub) \
 
684
        | (cd $(distdir); tar xfBp -)
 
685
 
 
686
# --------------- Local CHECK Section
 
687
 
 
688
check-local: check-regression check-loadavg
 
689
        @banner=" Regression PASSED: GNU Make $(VERSION) ($(MAKE_HOST)) built with $(CC) "; \
 
690
        dashes=`echo "$$banner" | sed s/./=/g`; \
 
691
        echo; \
 
692
        echo "$$dashes"; \
 
693
        echo "$$banner"; \
 
694
        echo "$$dashes"; \
 
695
        echo
 
696
 
 
697
.PHONY: check-loadavg check-regression
 
698
 
 
699
# > check-loadavg
 
700
#
 
701
loadavg: loadavg.c config.h
 
702
        @rm -f loadavg
 
703
        $(LINK) $(DEFS) $(CPPFLAGS) -DTEST $(make_LDFLAGS) loadavg.c $(LIBS)
 
704
 
 
705
# We copy getloadavg.c into a different file rather than compiling it
 
706
# directly because some compilers clobber getloadavg.o in the process.
 
707
#
 
708
loadavg.c: getloadavg.c
 
709
        ln $(srcdir)/getloadavg.c loadavg.c || \
 
710
          cp $(srcdir)/getloadavg.c loadavg.c
 
711
 
 
712
check-loadavg: loadavg
 
713
        @echo The system uptime program believes the load average to be:
 
714
        -uptime
 
715
        @echo The GNU load average checking code believes:
 
716
        -./loadavg
 
717
 
 
718
check-regression:
 
719
        @if test -f "$(srcdir)/tests/run_make_tests"; then \
 
720
          if $(PERL) -v >/dev/null 2>&1; then \
 
721
            case `cd $(srcdir); pwd` in `pwd`) : ;; \
 
722
              *) test -d tests || mkdir tests; \
 
723
                 rm -f srctests; \
 
724
                 if ln -s "$(srcdir)/tests" srctests; then \
 
725
                   for f in run_make_tests run_make_tests.pl test_driver.pl scripts; do \
 
726
                     rm -f tests/$$f; ln -s ../srctests/$$f tests; \
 
727
                   done; fi ;; \
 
728
            esac; \
 
729
            echo "cd tests && $(PERL) ./run_make_tests.pl -make ../make $(MAKETESTFLAGS)"; \
 
730
            cd tests && $(PERL) ./run_make_tests.pl -make ../make $(MAKETESTFLAGS); \
 
731
          else \
 
732
            echo "Can't find a working Perl ($(PERL)); the test suite requires Perl."; \
 
733
          fi; \
 
734
         else \
 
735
          echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \
 
736
         fi
 
737
 
 
738
# --------------- Local CLEAN section
 
739
 
 
740
maintainer-clean-local:
 
741
        -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
 
742
 
 
743
# --------------- Maintainer's Section
 
744
 
 
745
 
 
746
 
 
747
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
748
# Otherwise a system limit (for SysV at least) may be exceeded.
 
749
.NOEXPORT: