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

« back to all changes in this revision

Viewing changes to source/3rdparty/qmake/DARWIN_X86/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/install -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 = powerpc-apple-darwin8.6.0
 
64
host_triplet = 
 
65
AR = ar
 
66
CC = gcc
 
67
CPP = gcc -E
 
68
GETCONF = getconf
 
69
GLOBLIB = glob/libglob.a
 
70
LIBOBJS = 
 
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 =   glob/libglob.a
 
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 = 
 
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 =  -I../glob
 
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 =   
 
140
make_LDFLAGS = 
 
141
CFLAGS = -O3 -no-cpp-precomp -flat_namespace -Wall -Werror -Wstrict-prototypes -DFD_SETSIZE=8192 -DDARWIN -DDARWIN8 -DGETHOSTBYNAME -DGETHOSTBYADDR_M  -DLOAD_OPENSSL -I/vol2/SW/db-4.4.20/darwin-ppc/include/ -DTARGET_32BIT -DQCONF_FLATFILE  -DSPOOLING_dynamic -DSECURE -I/vol2/tools/SW/openssl-0.9.7e/darwin-ppc/include -DCOMPILE_DC -D__SGE_NO_USERMAPPING__ -Wno-error
 
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 = gtar
 
162
GZIP_ENV = --best
 
163
SOURCES = $(make_SOURCES)
 
164
OBJECTS = $(make_OBJECTS)
 
165
 
 
166
all: all-redirect
 
167
.SUFFIXES:
 
168
.SUFFIXES: .S .c .dvi .info .o .ps .s .texi .texinfo .txi
 
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
        touch $(srcdir)/stamp-h.in
 
202
        #@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
 
203
 
 
204
mostlyclean-hdr:
 
205
 
 
206
clean-hdr:
 
207
 
 
208
distclean-hdr:
 
209
        -rm -f config.h
 
210
 
 
211
maintainer-clean-hdr:
 
212
build.sh: $(top_builddir)/config.status build.sh.in
 
213
        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
214
 
 
215
mostlyclean-binPROGRAMS:
 
216
 
 
217
clean-binPROGRAMS:
 
218
        -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
 
219
 
 
220
distclean-binPROGRAMS:
 
221
 
 
222
maintainer-clean-binPROGRAMS:
 
223
 
 
224
install-binPROGRAMS: $(bin_PROGRAMS)
 
225
        @$(NORMAL_INSTALL)
 
226
        $(mkinstalldirs) $(DESTDIR)$(bindir)
 
227
        @list='$(bin_PROGRAMS)'; for p in $$list; do \
 
228
          if test -f $$p; then \
 
229
            echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
 
230
             $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
 
231
          else :; fi; \
 
232
        done
 
233
 
 
234
uninstall-binPROGRAMS:
 
235
        @$(NORMAL_UNINSTALL)
 
236
        list='$(bin_PROGRAMS)'; for p in $$list; do \
 
237
          rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
 
238
        done
 
239
 
 
240
depend:
 
241
        @echo "No depends target for qmake yet"
 
242
 
 
243
.c.o:
 
244
        $(COMPILE) -c $<
 
245
 
 
246
.s.o:
 
247
        $(COMPILE) -c $<
 
248
 
 
249
.S.o:
 
250
        $(COMPILE) -c $<
 
251
 
 
252
mostlyclean-compile:
 
253
        -rm -f *.o core *.core
 
254
 
 
255
clean-compile:
 
256
 
 
257
distclean-compile:
 
258
        -rm -f *.tab.c
 
259
 
 
260
maintainer-clean-compile:
 
261
 
 
262
make: $(make_OBJECTS) $(make_DEPENDENCIES)
 
263
        @rm -f make
 
264
        $(LINK) $(make_LDFLAGS) $(make_OBJECTS) $(make_LDADD) $(LIBS)
 
265
 
 
266
make.info: make.texinfo
 
267
make.dvi: make.texinfo
 
268
 
 
269
 
 
270
DVIPS = dvips
 
271
 
 
272
.texi.info:
 
273
        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
 
274
        cd $(srcdir) \
 
275
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
 
276
 
 
277
.texi.dvi:
 
278
        TEXINPUTS=.:$$TEXINPUTS \
 
279
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
 
280
 
 
281
.texi:
 
282
        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
 
283
        cd $(srcdir) \
 
284
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
 
285
 
 
286
.texinfo.info:
 
287
        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
 
288
        cd $(srcdir) \
 
289
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
 
290
 
 
291
.texinfo:
 
292
        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
 
293
        cd $(srcdir) \
 
294
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
 
295
 
 
296
.texinfo.dvi:
 
297
        TEXINPUTS=.:$$TEXINPUTS \
 
298
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
 
299
 
 
300
.txi.info:
 
301
        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
 
302
        cd $(srcdir) \
 
303
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
 
304
 
 
305
.txi.dvi:
 
306
        TEXINPUTS=.:$$TEXINPUTS \
 
307
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
 
308
 
 
309
.txi:
 
310
        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
 
311
        cd $(srcdir) \
 
312
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
 
313
.dvi.ps:
 
314
        $(DVIPS) $< -o $@
 
315
 
 
316
install-info-am: $(INFO_DEPS)
 
317
        @$(NORMAL_INSTALL)
 
318
        $(mkinstalldirs) $(DESTDIR)$(infodir)
 
319
        @list='$(INFO_DEPS)'; \
 
320
        for file in $$list; do \
 
321
          d=$(srcdir); \
 
322
          for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
 
323
            if test -f $$d/$$ifile; then \
 
324
              echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
 
325
              $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
 
326
            else : ; fi; \
 
327
          done; \
 
328
        done
 
329
        @$(POST_INSTALL)
 
330
        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
 
331
          list='$(INFO_DEPS)'; \
 
332
          for file in $$list; do \
 
333
            echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
 
334
            install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
 
335
          done; \
 
336
        else : ; fi
 
337
 
 
338
uninstall-info:
 
339
        $(PRE_UNINSTALL)
 
340
        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
 
341
          ii=yes; \
 
342
        else ii=; fi; \
 
343
        list='$(INFO_DEPS)'; \
 
344
        for file in $$list; do \
 
345
          test -z "$ii" \
 
346
            || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
 
347
        done
 
348
        @$(NORMAL_UNINSTALL)
 
349
        list='$(INFO_DEPS)'; \
 
350
        for file in $$list; do \
 
351
          (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
 
352
        done
 
353
 
 
354
dist-info: $(INFO_DEPS)
 
355
        list='$(INFO_DEPS)'; \
 
356
        for base in $$list; do \
 
357
          d=$(srcdir); \
 
358
          for file in `cd $$d && eval echo $$base*`; do \
 
359
            test -f $(distdir)/$$file \
 
360
            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
 
361
            || cp -p $$d/$$file $(distdir)/$$file; \
 
362
          done; \
 
363
        done
 
364
 
 
365
mostlyclean-aminfo:
 
366
        -rm -f make.aux make.cp make.cps make.dvi make.fn make.fns make.ky \
 
367
          make.kys make.ps make.log make.pg make.toc make.tp make.tps \
 
368
          make.vr make.vrs make.op make.tr make.cv make.cn
 
369
 
 
370
clean-aminfo:
 
371
 
 
372
distclean-aminfo:
 
373
 
 
374
maintainer-clean-aminfo:
 
375
        cd $(srcdir) && for i in $(INFO_DEPS); do \
 
376
          rm -f $$i; \
 
377
          if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
 
378
            rm -f $$i-[0-9]*; \
 
379
          fi; \
 
380
        done
 
381
 
 
382
install-man1:
 
383
        $(mkinstalldirs) $(DESTDIR)$(man1dir)
 
384
        @list='$(man1_MANS)'; \
 
385
        l2='$(man_MANS)'; for i in $$l2; do \
 
386
          case "$$i" in \
 
387
            *.1*) list="$$list $$i" ;; \
 
388
          esac; \
 
389
        done; \
 
390
        for i in $$list; do \
 
391
          if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
 
392
          else file=$$i; fi; \
 
393
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
 
394
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
 
395
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
 
396
          echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
 
397
          $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
 
398
        done
 
399
 
 
400
uninstall-man1:
 
401
        @list='$(man1_MANS)'; \
 
402
        l2='$(man_MANS)'; for i in $$l2; do \
 
403
          case "$$i" in \
 
404
            *.1*) list="$$list $$i" ;; \
 
405
          esac; \
 
406
        done; \
 
407
        for i in $$list; do \
 
408
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
 
409
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
 
410
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
 
411
          echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
 
412
          rm -f $(DESTDIR)$(man1dir)/$$inst; \
 
413
        done
 
414
install-man: $(MANS)
 
415
        @$(NORMAL_INSTALL)
 
416
        $(MAKE) $(AM_MAKEFLAGS) install-man1
 
417
uninstall-man:
 
418
        @$(NORMAL_UNINSTALL)
 
419
        $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
 
420
 
 
421
# This directory's subdirectories are mostly independent; you can cd
 
422
# into them and run `make' without going through this Makefile.
 
423
# To change the values of `make' variables: instead of editing Makefiles,
 
424
# (1) if the variable is set in `config.status', edit `config.status'
 
425
#     (which will cause the Makefiles to be regenerated when you run `make');
 
426
# (2) otherwise, pass the desired values on the `make' command line.
 
427
 
 
428
 
 
429
 
 
430
all-recursive install-data-recursive install-exec-recursive \
 
431
installdirs-recursive install-recursive uninstall-recursive  \
 
432
check-recursive installcheck-recursive info-recursive dvi-recursive:
 
433
        @set fnord $(MAKEFLAGS); amf=$$2; \
 
434
        dot_seen=no; \
 
435
        target=`echo $@ | sed s/-recursive//`; \
 
436
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
437
          echo "Making $$target in $$subdir"; \
 
438
          if test "$$subdir" = "."; then \
 
439
            dot_seen=yes; \
 
440
            local_target="$$target-am"; \
 
441
          else \
 
442
            local_target="$$target"; \
 
443
          fi; \
 
444
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
445
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
 
446
        done; \
 
447
        if test "$$dot_seen" = "no"; then \
 
448
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
 
449
        fi; test -z "$$fail"
 
450
 
 
451
mostlyclean-recursive clean-recursive distclean-recursive \
 
452
maintainer-clean-recursive:
 
453
        @set fnord $(MAKEFLAGS); amf=$$2; \
 
454
        dot_seen=no; \
 
455
        rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
 
456
          rev="$$subdir $$rev"; \
 
457
          test "$$subdir" = "." && dot_seen=yes; \
 
458
        done; \
 
459
        test "$$dot_seen" = "no" && rev=". $$rev"; \
 
460
        target=`echo $@ | sed s/-recursive//`; \
 
461
        for subdir in $$rev; do \
 
462
          echo "Making $$target in $$subdir"; \
 
463
          if test "$$subdir" = "."; then \
 
464
            local_target="$$target-am"; \
 
465
          else \
 
466
            local_target="$$target"; \
 
467
          fi; \
 
468
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
469
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
 
470
        done && test -z "$$fail"
 
471
tags-recursive:
 
472
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
473
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
 
474
        done
 
475
 
 
476
tags: TAGS
 
477
 
 
478
ID: $(HEADERS) $(SOURCES) $(LISP)
 
479
        list='$(SOURCES) $(HEADERS)'; \
 
480
        unique=`for i in $$list; do echo $$i; done | \
 
481
          awk '    { files[$$0] = 1; } \
 
482
               END { for (i in files) print i; }'`; \
 
483
        here=`pwd` && cd $(srcdir) \
 
484
          && mkid -f$$here/ID $$unique $(LISP)
 
485
 
 
486
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
 
487
        tags=; \
 
488
        here=`pwd`; \
 
489
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
490
   if test "$$subdir" = .; then :; else \
 
491
            test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
 
492
   fi; \
 
493
        done; \
 
494
        list='$(SOURCES) $(HEADERS)'; \
 
495
        unique=`for i in $$list; do echo $$i; done | \
 
496
          awk '    { files[$$0] = 1; } \
 
497
               END { for (i in files) print i; }'`; \
 
498
        test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
 
499
          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
 
500
 
 
501
mostlyclean-tags:
 
502
 
 
503
clean-tags:
 
504
 
 
505
distclean-tags:
 
506
        -rm -f TAGS ID
 
507
 
 
508
maintainer-clean-tags:
 
509
 
 
510
distdir = $(PACKAGE)-$(VERSION)
 
511
top_distdir = $(distdir)
 
512
 
 
513
# This target untars the dist file and tries a VPATH configuration.  Then
 
514
# it guarantees that the distribution is self-contained by making another
 
515
# tarfile.
 
516
distcheck: dist
 
517
        -rm -rf $(distdir)
 
518
        GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
 
519
        mkdir $(distdir)/=build
 
520
        mkdir $(distdir)/=inst
 
521
        dc_install_base=`cd $(distdir)/=inst && pwd`; \
 
522
        cd $(distdir)/=build \
 
523
          && ../configure --srcdir=.. --prefix=$$dc_install_base \
 
524
          && $(MAKE) $(AM_MAKEFLAGS) \
 
525
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
 
526
          && $(MAKE) $(AM_MAKEFLAGS) check \
 
527
          && $(MAKE) $(AM_MAKEFLAGS) install \
 
528
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
 
529
          && $(MAKE) $(AM_MAKEFLAGS) dist
 
530
        -rm -rf $(distdir)
 
531
        @banner="$(distdir).tar.gz is ready for distribution"; \
 
532
        dashes=`echo "$$banner" | sed s/./=/g`; \
 
533
        echo "$$dashes"; \
 
534
        echo "$$banner"; \
 
535
        echo "$$dashes"
 
536
dist: distdir
 
537
        -chmod -R a+r $(distdir)
 
538
        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
 
539
        -rm -rf $(distdir)
 
540
dist-all: distdir
 
541
        -chmod -R a+r $(distdir)
 
542
        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
 
543
        -rm -rf $(distdir)
 
544
distdir: $(DISTFILES)
 
545
        -rm -rf $(distdir)
 
546
        mkdir $(distdir)
 
547
        -chmod 777 $(distdir)
 
548
        @for file in $(DISTFILES); do \
 
549
          d=$(srcdir); \
 
550
          if test -d $$d/$$file; then \
 
551
            cp -pr $$d/$$file $(distdir)/$$file; \
 
552
          else \
 
553
            test -f $(distdir)/$$file \
 
554
            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
 
555
            || cp -p $$d/$$file $(distdir)/$$file || :; \
 
556
          fi; \
 
557
        done
 
558
        for subdir in $(SUBDIRS); do \
 
559
          if test "$$subdir" = .; then :; else \
 
560
            test -d $(distdir)/$$subdir \
 
561
            || mkdir $(distdir)/$$subdir \
 
562
            || exit 1; \
 
563
            chmod 777 $(distdir)/$$subdir; \
 
564
            (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
 
565
              || exit 1; \
 
566
          fi; \
 
567
        done
 
568
        $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
 
569
        $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
 
570
info-am: $(INFO_DEPS)
 
571
info: info-recursive
 
572
dvi-am: $(DVIS)
 
573
dvi: dvi-recursive
 
574
check-am: all-am
 
575
        $(MAKE) $(AM_MAKEFLAGS) check-local
 
576
check: check-recursive
 
577
installcheck-am:
 
578
installcheck: installcheck-recursive
 
579
all-recursive-am: config.h
 
580
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
581
 
 
582
install-exec-am: install-binPROGRAMS install-exec-local
 
583
install-exec: install-exec-recursive
 
584
 
 
585
install-data-am: install-info-am install-man
 
586
install-data: install-data-recursive
 
587
 
 
588
install-am: all-am
 
589
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
590
install: install-recursive
 
591
uninstall-am: uninstall-binPROGRAMS uninstall-info uninstall-man
 
592
uninstall: uninstall-recursive
 
593
all-am: Makefile $(INFO_DEPS) $(PROGRAMS) $(MANS) config.h
 
594
all-redirect: all-recursive-am
 
595
install-strip:
 
596
        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
 
597
installdirs: installdirs-recursive
 
598
installdirs-am:
 
599
        $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
 
600
                $(DESTDIR)$(mandir)/man1
 
601
 
 
602
 
 
603
mostlyclean-generic:
 
604
        -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
 
605
 
 
606
clean-generic:
 
607
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
608
 
 
609
distclean-generic:
 
610
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
 
611
        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
 
612
 
 
613
maintainer-clean-generic:
 
614
mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
 
615
                mostlyclean-compile mostlyclean-aminfo mostlyclean-tags \
 
616
                mostlyclean-generic
 
617
 
 
618
mostlyclean: mostlyclean-recursive
 
619
 
 
620
clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-aminfo \
 
621
                clean-tags clean-generic mostlyclean-am
 
622
 
 
623
clean: clean-recursive
 
624
 
 
625
distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
 
626
                distclean-aminfo distclean-tags distclean-generic \
 
627
                clean-am
 
628
 
 
629
distclean: distclean-recursive
 
630
        -rm -f config.status
 
631
 
 
632
maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
 
633
                maintainer-clean-compile maintainer-clean-aminfo \
 
634
                maintainer-clean-tags maintainer-clean-generic \
 
635
                distclean-am maintainer-clean-local
 
636
        @echo "This command is intended for maintainers to use;"
 
637
        @echo "it deletes files that may require special tools to rebuild."
 
638
 
 
639
maintainer-clean: maintainer-clean-recursive
 
640
        -rm -f config.status
 
641
 
 
642
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
 
643
mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
 
644
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
 
645
mostlyclean-compile distclean-compile clean-compile \
 
646
maintainer-clean-compile install-info-am uninstall-info \
 
647
mostlyclean-aminfo distclean-aminfo clean-aminfo \
 
648
maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
 
649
uninstall-man install-data-recursive uninstall-data-recursive \
 
650
install-exec-recursive uninstall-exec-recursive installdirs-recursive \
 
651
uninstalldirs-recursive all-recursive check-recursive \
 
652
installcheck-recursive info-recursive dvi-recursive \
 
653
mostlyclean-recursive distclean-recursive clean-recursive \
 
654
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
 
655
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
 
656
dvi-am dvi check-local check check-am installcheck-am installcheck \
 
657
all-recursive-am install-exec-local install-exec-am install-exec \
 
658
install-data-am install-data install-am install uninstall-am uninstall \
 
659
all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
 
660
distclean-generic clean-generic maintainer-clean-generic clean \
 
661
mostlyclean distclean maintainer-clean
 
662
 
 
663
 
 
664
install-exec-local:
 
665
        @if $(inst_setgid); then \
 
666
           app=$(DESTDIR)$(bindir)/`echo $(bin_PROGRAMS)|sed '$(transform)'`; \
 
667
           if chgrp $(inst_group) $$app && chmod g+s $$app; then \
 
668
             echo "chgrp $(inst_group) $$app && chmod g+s $$app"; \
 
669
           else \
 
670
             echo "$$app needs to be owned by group $(inst_group) and setgid;"; \
 
671
             echo "otherwise the \`-l' option will probably not work."; \
 
672
             echo "You may need special privileges to complete the installation"; \
 
673
             echo "of $$app."; \
 
674
           fi; \
 
675
         else true; fi
 
676
 
 
677
# --------------- Local DIST Section
 
678
 
 
679
# Install the w32 and tests subdirectories
 
680
#
 
681
dist-hook:
 
682
        (cd $(srcdir); \
 
683
         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`; \
 
684
         tar chf - $$sub) \
 
685
        | (cd $(distdir); tar xfBp -)
 
686
 
 
687
# --------------- Local CHECK Section
 
688
 
 
689
check-local: check-regression check-loadavg
 
690
        @banner=" Regression PASSED: GNU Make $(VERSION) ($(MAKE_HOST)) built with $(CC) "; \
 
691
        dashes=`echo "$$banner" | sed s/./=/g`; \
 
692
        echo; \
 
693
        echo "$$dashes"; \
 
694
        echo "$$banner"; \
 
695
        echo "$$dashes"; \
 
696
        echo
 
697
 
 
698
.PHONY: check-loadavg check-regression
 
699
 
 
700
# > check-loadavg
 
701
#
 
702
loadavg: loadavg.c config.h
 
703
        @rm -f loadavg
 
704
        $(LINK) $(DEFS) $(CPPFLAGS) -DTEST $(make_LDFLAGS) loadavg.c $(LIBS)
 
705
 
 
706
# We copy getloadavg.c into a different file rather than compiling it
 
707
# directly because some compilers clobber getloadavg.o in the process.
 
708
#
 
709
loadavg.c: getloadavg.c
 
710
        ln $(srcdir)/getloadavg.c loadavg.c || \
 
711
          cp $(srcdir)/getloadavg.c loadavg.c
 
712
 
 
713
check-loadavg: loadavg
 
714
        @echo The system uptime program believes the load average to be:
 
715
        -uptime
 
716
        @echo The GNU load average checking code believes:
 
717
        -./loadavg
 
718
 
 
719
check-regression:
 
720
        @if test -f "$(srcdir)/tests/run_make_tests"; then \
 
721
          if $(PERL) -v >/dev/null 2>&1; then \
 
722
            case `cd $(srcdir); pwd` in `pwd`) : ;; \
 
723
              *) test -d tests || mkdir tests; \
 
724
                 rm -f srctests; \
 
725
                 if ln -s "$(srcdir)/tests" srctests; then \
 
726
                   for f in run_make_tests run_make_tests.pl test_driver.pl scripts; do \
 
727
                     rm -f tests/$$f; ln -s ../srctests/$$f tests; \
 
728
                   done; fi ;; \
 
729
            esac; \
 
730
            echo "cd tests && $(PERL) ./run_make_tests.pl -make ../make $(MAKETESTFLAGS)"; \
 
731
            cd tests && $(PERL) ./run_make_tests.pl -make ../make $(MAKETESTFLAGS); \
 
732
          else \
 
733
            echo "Can't find a working Perl ($(PERL)); the test suite requires Perl."; \
 
734
          fi; \
 
735
         else \
 
736
          echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \
 
737
         fi
 
738
 
 
739
# --------------- Local CLEAN section
 
740
 
 
741
maintainer-clean-local:
 
742
        -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
 
743
 
 
744
# --------------- Maintainer's Section
 
745
 
 
746
 
 
747
 
 
748
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
749
# Otherwise a system limit (for SysV at least) may be exceeded.
 
750
.NOEXPORT: