"cond ? yes : no" to "yes if cond else no"
[delight/core.git] / phobos / Makefile.in
blob855b707ce96ebaedd81ff27ef0b42cd07c2114eb
1 # Makefile.in generated by automake 1.9.4 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004 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.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
17 # GDC -- D front-end for GCC
18 # Copyright (C) 2004 David Friedman
20 # This program is free software; you can redistribute it and/or modify
21 # it under the terms of the GNU General Public License as published by
22 # the Free Software Foundation; either version 2 of the License, or
23 # (at your option) any later version.
25 # This program is distributed in the hope that it will be useful,
26 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 # GNU General Public License for more details.
30 # You should have received a copy of the GNU General Public License
31 # along with this program; if not, write to the Free Software
32 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33 top_srcdir = @top_srcdir@
34 VPATH = @srcdir@
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
38 top_builddir = .
39 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
40 INSTALL = @INSTALL@
41 install_sh_DATA = $(install_sh) -c -m 644
42 install_sh_PROGRAM = $(install_sh) -c
43 install_sh_SCRIPT = $(install_sh) -c
44 INSTALL_HEADER = $(INSTALL_DATA)
45 transform = $(program_transform_name)
46 NORMAL_INSTALL = :
47 PRE_INSTALL = :
48 POST_INSTALL = :
49 NORMAL_UNINSTALL = :
50 PRE_UNINSTALL = :
51 POST_UNINSTALL = :
52 build_triplet = @build@
53 host_triplet = @host@
54 target_triplet = @target@
55 DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
56 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
57 $(srcdir)/frag-ac.in $(srcdir)/frag-math.in \
58 $(srcdir)/phobos-ver-syms.in $(top_srcdir)/configure \
59 config.guess config.sub install-sh missing
60 subdir = .
61 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
62 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
63 $(top_srcdir)/configure.in
64 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
65 $(ACLOCAL_M4)
66 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
67 configure.lineno configure.status.lineno
68 mkinstalldirs = $(install_sh) -d
69 CONFIG_HEADER = config.h
70 CONFIG_CLEAN_FILES = frag-ac frag-math phobos-ver-syms
71 depcomp =
72 am__depfiles_maybe =
73 SOURCES =
74 DIST_SOURCES =
75 MULTISRCTOP =
76 MULTIBUILDTOP =
77 MULTIDIRS =
78 MULTISUBDIR =
79 MULTIDO = true
80 MULTICLEAN = true
81 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
82 distdir = $(PACKAGE)-$(VERSION)
83 top_distdir = $(distdir)
84 am__remove_distdir = \
85 { test ! -d $(distdir) \
86 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
87 && rm -fr $(distdir); }; }
88 DIST_ARCHIVES = $(distdir).tar.gz
89 GZIP_ENV = --best
90 distuninstallcheck_listfiles = find . -type f -print
91 distcleancheck_listfiles = find . -type f -print
92 srcdir = @srcdir@
93 ACLOCAL = @ACLOCAL@
94 AMTAR = @AMTAR@
95 AR = @AR@
96 AUTOCONF = @AUTOCONF@
97 AUTOHEADER = @AUTOHEADER@
98 AUTOMAKE = @AUTOMAKE@
99 AWK = @AWK@
100 BUILD_LIBIBERTY = @BUILD_LIBIBERTY@
101 CC = @CC@
102 CC_FOR_BUILD = @CC_FOR_BUILD@
103 CFLAGS = @CFLAGS@
104 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
105 CPP = @CPP@
106 CPPFLAGS = @CPPFLAGS@
107 CXX = @CXX@
108 CXXFLAGS = @CXXFLAGS@
109 CYGPATH_W = @CYGPATH_W@
110 DCFG_ARM_EABI_UNWINDER = @DCFG_ARM_EABI_UNWINDER@
111 DCFG_CBRIDGE_STDIO = @DCFG_CBRIDGE_STDIO@
112 DCFG_EXECVPE = @DCFG_EXECVPE@
113 DCFG_EXP2_LOG2 = @DCFG_EXP2_LOG2@
114 DCFG_FWIDE = @DCFG_FWIDE@
115 DCFG_GETPWNAM_R = @DCFG_GETPWNAM_R@
116 DCFG_HAVE_FGETLINE = @DCFG_HAVE_FGETLINE@
117 DCFG_HAVE_FGETLN = @DCFG_HAVE_FGETLN@
118 DCFG_HAVE_GETDELIM = @DCFG_HAVE_GETDELIM@
119 DCFG_HAVE_UNLOCKED_STDIO = @DCFG_HAVE_UNLOCKED_STDIO@
120 DCFG_HAVE_UNLOCKED_WIDE_STDIO = @DCFG_HAVE_UNLOCKED_WIDE_STDIO@
121 DCFG_MMAP = @DCFG_MMAP@
122 DCFG_NAN = @DCFG_NAN@
123 DCFG_NEARBYINT = @DCFG_NEARBYINT@
124 DCFG_PTHREAD_SUSPEND = @DCFG_PTHREAD_SUSPEND@
125 DCFG_ROUND = @DCFG_ROUND@
126 DCFG_SEMAPHORE_IMPL = @DCFG_SEMAPHORE_IMPL@
127 DCFG_SPAWNVP = @DCFG_SPAWNVP@
128 DCFG_STRTOLD = @DCFG_STRTOLD@
129 DCFG_TGAMMA = @DCFG_TGAMMA@
130 DCFG_TRUNC = @DCFG_TRUNC@
131 DCFG_UNIX = @DCFG_UNIX@
132 DCFG_USE_IEEE_FPSB = @DCFG_USE_IEEE_FPSB@
133 DEFS = @DEFS@
134 DFLAGS = @DFLAGS@
135 # D_EXTRA_OBJS=@D_EXTRA_OBJS@
137 # needed until instrinsics are implemented
138 D_EXTRA_OBJS = @D_EXTRA_OBJS@ std/intrinsic.o gcc/support.o
139 D_GC_FLAGS = @D_GC_FLAGS@
140 D_GC_MODULES = @D_GC_MODULES@
141 D_PREREQ_SRCS = @D_PREREQ_SRCS@
142 ECHO_C = @ECHO_C@
143 ECHO_N = @ECHO_N@
144 ECHO_T = @ECHO_T@
145 EGREP = @EGREP@
146 EXEEXT = @EXEEXT@
147 GDC = @GDC@
148 INSTALL_DATA = @INSTALL_DATA@
149 INSTALL_PROGRAM = @INSTALL_PROGRAM@
150 INSTALL_SCRIPT = @INSTALL_SCRIPT@
151 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
152 LIBIBERTY_H_PATH = @LIBIBERTY_H_PATH@
153 LIBOBJS = @LIBOBJS@
154 LIBS = @LIBS@
155 LTLIBOBJS = @LTLIBOBJS@
156 MAKEINFO = @MAKEINFO@
157 OBJEXT = @OBJEXT@
158 PACKAGE = @PACKAGE@
159 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
160 PACKAGE_NAME = @PACKAGE_NAME@
161 PACKAGE_STRING = @PACKAGE_STRING@
162 PACKAGE_TARNAME = @PACKAGE_TARNAME@
163 PACKAGE_VERSION = @PACKAGE_VERSION@
164 PATH_SEPARATOR = @PATH_SEPARATOR@
165 RANLIB = @RANLIB@
166 SET_MAKE = @SET_MAKE@
167 SHELL = @SHELL@
168 STRIP = @STRIP@
169 VERSION = @VERSION@
170 ac_ct_CC = @ac_ct_CC@
171 ac_ct_CXX = @ac_ct_CXX@
172 ac_ct_RANLIB = @ac_ct_RANLIB@
173 ac_ct_STRIP = @ac_ct_STRIP@
174 am__leading_dot = @am__leading_dot@
175 am__tar = @am__tar@
176 am__untar = @am__untar@
177 bindir = @bindir@
178 build = @build@
179 build_alias = @build_alias@
180 build_cpu = @build_cpu@
181 build_os = @build_os@
182 build_vendor = @build_vendor@
183 datadir = @datadir@
184 exec_prefix = @exec_prefix@
185 gdc_include_dir = @gdc_include_dir@
186 host = @host@
187 host_alias = @host_alias@
188 host_cpu = @host_cpu@
189 host_os = @host_os@
190 host_vendor = @host_vendor@
191 includedir = @includedir@
192 infodir = @infodir@
193 install_sh = @install_sh@
194 libdir = @libdir@
195 libexecdir = @libexecdir@
196 localstatedir = @localstatedir@
197 mandir = @mandir@
198 mkdir_p = @mkdir_p@
199 multi_basedir = @multi_basedir@
200 oldincludedir = @oldincludedir@
201 phobos_toolexecdir = @phobos_toolexecdir@
202 phobos_toolexeclibdir = @phobos_toolexeclibdir@
203 prefix = @prefix@
204 program_transform_name = @program_transform_name@
205 sbindir = @sbindir@
206 sharedstatedir = @sharedstatedir@
207 sysconfdir = @sysconfdir@
208 target = @target@
209 target_alias = @target_alias@
210 target_cpu = @target_cpu@
211 target_os = @target_os@
212 target_vendor = @target_vendor@
213 AUTOMAKE_OPTIONS = 1.9.4 foreign no-dependencies
214 ACLOCAL_AMFLAGS = -I . -I ..
215 OUR_CFLAGS = @DEFS@ -I . -I $(srcdir)/gcc
216 D_EXTRA_DFLAGS = -nostdinc -pipe
217 ALL_DFLAGS = $(DFLAGS) $(D_GC_FLAGS) $(D_EXTRA_DFLAGS) $(MULTIFLAGS)
218 toolexecdir = $(phobos_toolexecdir)
219 toolexeclibdir = $(phobos_toolexeclibdir)
220 config_d_src = $(host_alias)/gcc/config/config.d
221 config_libc_d_src = $(host_alias)/gcc/config/libc.d
222 config_errno_d_src = $(host_alias)/gcc/config/errno.d
223 config_fpcls_d_src = $(host_alias)/gcc/config/fpcls.d
224 config_mathfuncs_d_src = $(host_alias)/gcc/config/mathfuncs.d
225 config_unix_d_src = $(host_alias)/gcc/config/unix.d
226 X3 = CC_FOR_BUILD="$(CC_FOR_BUILD) -I $(srcdir)/config" BUILD_LIBIBERTY=$(BUILD_LIBIBERTY) $(srcdir)/config/x3
227 X3_GCC_COMMAND = $(CC) $(OUR_CFLAGS)
228 X3_DEPS = config/x3.o config/x3main.o
229 SUFFIXES = .d
230 TI = ti_AC.o ti_Ag.o ti_Aint.o ti_Along.o ti_Ashort.o \
231 ti_C.o \
232 ti_byte.o ti_cdouble.o ti_cfloat.o ti_char.o ti_creal.o \
233 ti_dchar.o ti_delegate.o ti_double.o ti_float.o ti_idouble.o ti_ifloat.o \
234 ti_int.o ti_ireal.o ti_long.o ti_ptr.o ti_real.o ti_short.o ti_ubyte.o \
235 ti_uint.o ti_ulong.o ti_ushort.o ti_wchar.o \
236 ti_Afloat.o ti_Adouble.o ti_Areal.o \
237 ti_Acfloat.o ti_Acdouble.o ti_Acreal.o \
238 ti_void.o
240 MAIN_OBJS = std/asserterror.o internal/switch.o gcstats.o \
241 internal/critical.o internal/object.o internal/monitor.o internal/arraycat.o internal/invariant.o \
242 std/outofmemory.o internal/aaA.o internal/adi.o internal/aApply.o internal/aApplyR.o \
243 std/compiler.o std/system.o std/moduleinit.o std/md5.o std/base64.o \
244 internal/cast.o std/string.o internal/memset.o std/math.o \
245 std/outbuffer.o std/ctype.o std/regexp.o std/random.o \
246 std/stream.o std/cstream.o std/switcherr.o std/array.o std/gc.o \
247 internal/qsortg.o std/thread.o internal/obj.o std/utf.o std/uri.o \
248 crc32.o std/conv.o internal/arraycast.o errno.o \
249 std/syserror.o std/metastrings.o \
250 std/c/stdarg.o std/stdio.o std/format.o \
251 std/openrj.o std/uni.o std/demangle.o std/bitarray.o \
252 $(subst ti_,std/typeinfo/ti_,$(TI)) \
253 std/date.o std/dateparse.o std/math2.o etc/c/zlib.o std/zlib.o std/zip.o \
254 internal/dgccmain2.o internal/rundmain.o std/stdarg.o \
255 std/signals.o std/cpuid.o std/traits.o std/typetuple.o std/bind.o \
256 gcc/builtins.o gcc/config/mathfuncs.o
259 # This should not be linked into a shared library.
260 CMAIN_OBJS = internal/cmain.o
261 ZLIB_OBJS = etc/c/zlib/adler32.o etc/c/zlib/compress.o \
262 etc/c/zlib/crc32.o etc/c/zlib/gzio.o \
263 etc/c/zlib/uncompr.o etc/c/zlib/deflate.o \
264 etc/c/zlib/trees.o etc/c/zlib/zutil.o \
265 etc/c/zlib/inflate.o etc/c/zlib/infback.o \
266 etc/c/zlib/inftrees.o etc/c/zlib/inffast.o
268 GC_OBJS = internal/gc/gc.o internal/gc/gcx.o internal/gc/gcbits.o \
269 @D_GC_MODULES@ $(am__empty)
270 GCC_OBJS = gcc/unwind_pe.o gcc/deh.o gcc/threadsem.o \
271 gcc/cbridge_time.o gcc/cbridge_strerror.o
274 # modules which require some kind of operating system
275 OS_OBJS = std/file.o std/mmfile.o std/path.o std/perf.o std/process.o std/socket.o std/socketstream.o
277 # std.c.linux.linux, std.loader, gcc.cbridge*
278 WINDOWS_OBJS = std/c/windows/windows.o std/c/windows/com.o std/c/windows/winsock.o \
279 std/windows/iunknown.o std/windows/registry.o std/windows/syserror.o \
280 std/windows/charset.o
282 ALL_PHOBOS_OBJS = $(D_EXTRA_OBJS) $(GCC_OBJS) $(MAIN_OBJS) $(ZLIB_OBJS) $(GC_OBJS) $(WEAK_OBJS)
284 # Work around what appears to be a GNU make bug handling MAKEFLAGS
285 # values defined in terms of make variables, as is the case for CC and
286 # friends when we are called from the top level Makefile.
287 AM_MAKEFLAGS = \
288 "AR_FLAGS=$(AR_FLAGS)" \
289 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
290 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
291 "CFLAGS=$(CFLAGS)" \
292 "CXXFLAGS=$(CXXFLAGS)" \
293 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
294 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
295 "INSTALL=$(INSTALL)" \
296 "INSTALL_DATA=$(INSTALL_DATA)" \
297 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
298 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
299 "LDFLAGS=$(LDFLAGS)" \
300 "LIBCFLAGS=$(LIBCFLAGS)" \
301 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
302 "MAKE=$(MAKE)" \
303 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
304 "PICFLAG=$(PICFLAG)" \
305 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
306 "SHELL=$(SHELL)" \
307 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
308 "exec_prefix=$(exec_prefix)" \
309 "infodir=$(infodir)" \
310 "libdir=$(libdir)" \
311 "includedir=$(includedir)" \
312 "prefix=$(prefix)" \
313 "tooldir=$(tooldir)" \
314 "gdc_include_dir=$(gdc_include_dir)" \
315 "AR=$(AR)" \
316 "AS=$(AS)" \
317 "LD=$(LD)" \
318 "RANLIB=$(RANLIB)" \
319 "NM=$(NM)" \
320 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
321 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
322 "DESTDIR=$(DESTDIR)" \
323 "WERROR=$(WERROR)"
326 # Subdir rules rely on $(FLAGS_TO_PASS)
327 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
328 all: config.h
329 $(MAKE) $(AM_MAKEFLAGS) all-am
331 .SUFFIXES:
332 .SUFFIXES: .d .c .o
333 am--refresh:
335 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
336 @for dep in $?; do \
337 case '$(am__configure_deps)' in \
338 *$$dep*) \
339 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps'; \
340 cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps \
341 && exit 0; \
342 exit 1;; \
343 esac; \
344 done; \
345 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps Makefile'; \
346 cd $(top_srcdir) && \
347 $(AUTOMAKE) --foreign --ignore-deps Makefile
348 .PRECIOUS: Makefile
349 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
350 @case '$?' in \
351 *config.status*) \
352 echo ' $(SHELL) ./config.status'; \
353 $(SHELL) ./config.status;; \
354 *) \
355 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
356 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
357 esac;
359 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
360 $(SHELL) ./config.status --recheck
362 $(top_srcdir)/configure: $(am__configure_deps)
363 cd $(srcdir) && $(AUTOCONF)
364 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
365 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
367 config.h: stamp-h1
368 @if test ! -f $@; then \
369 rm -f stamp-h1; \
370 $(MAKE) stamp-h1; \
371 else :; fi
373 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
374 @rm -f stamp-h1
375 cd $(top_builddir) && $(SHELL) ./config.status config.h
376 $(srcdir)/config.h.in: $(am__configure_deps)
377 cd $(top_srcdir) && $(AUTOHEADER)
378 rm -f stamp-h1
379 touch $@
381 distclean-hdr:
382 -rm -f config.h stamp-h1
383 frag-ac: $(top_builddir)/config.status $(srcdir)/frag-ac.in
384 cd $(top_builddir) && $(SHELL) ./config.status $@
385 frag-math: $(top_builddir)/config.status $(srcdir)/frag-math.in
386 cd $(top_builddir) && $(SHELL) ./config.status $@
387 phobos-ver-syms: $(top_builddir)/config.status $(srcdir)/phobos-ver-syms.in
388 cd $(top_builddir) && $(SHELL) ./config.status $@
390 # GNU Make needs to see an explicit $(MAKE) variable in the command it
391 # runs to enable its job server during parallel builds. Hence the
392 # comments below.
393 all-multi:
394 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
395 install-multi:
396 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
398 mostlyclean-multi:
399 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
400 clean-multi:
401 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
402 distclean-multi:
403 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
404 maintainer-clean-multi:
405 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
406 uninstall-info-am:
407 tags: TAGS
408 TAGS:
410 ctags: CTAGS
411 CTAGS:
414 distdir: $(DISTFILES)
415 $(am__remove_distdir)
416 mkdir $(distdir)
417 $(mkdir_p) $(distdir)/.
418 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
419 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
420 list='$(DISTFILES)'; for file in $$list; do \
421 case $$file in \
422 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
423 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
424 esac; \
425 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
426 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
427 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
428 dir="/$$dir"; \
429 $(mkdir_p) "$(distdir)$$dir"; \
430 else \
431 dir=''; \
432 fi; \
433 if test -d $$d/$$file; then \
434 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
435 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
436 fi; \
437 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
438 else \
439 test -f $(distdir)/$$file \
440 || cp -p $$d/$$file $(distdir)/$$file \
441 || exit 1; \
442 fi; \
443 done
444 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
445 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
446 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
447 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
448 || chmod -R a+r $(distdir)
449 dist-gzip: distdir
450 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
451 $(am__remove_distdir)
453 dist-bzip2: distdir
454 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
455 $(am__remove_distdir)
457 dist-tarZ: distdir
458 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
459 $(am__remove_distdir)
461 dist-shar: distdir
462 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
463 $(am__remove_distdir)
465 dist-zip: distdir
466 -rm -f $(distdir).zip
467 zip -rq $(distdir).zip $(distdir)
468 $(am__remove_distdir)
470 dist dist-all: distdir
471 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
472 $(am__remove_distdir)
474 # This target untars the dist file and tries a VPATH configuration. Then
475 # it guarantees that the distribution is self-contained by making another
476 # tarfile.
477 distcheck: dist
478 case '$(DIST_ARCHIVES)' in \
479 *.tar.gz*) \
480 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
481 *.tar.bz2*) \
482 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
483 *.tar.Z*) \
484 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
485 *.shar.gz*) \
486 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
487 *.zip*) \
488 unzip $(distdir).zip ;;\
489 esac
490 chmod -R a-w $(distdir); chmod a+w $(distdir)
491 mkdir $(distdir)/_build
492 mkdir $(distdir)/_inst
493 chmod a-w $(distdir)
494 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
495 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
496 && cd $(distdir)/_build \
497 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
498 $(DISTCHECK_CONFIGURE_FLAGS) \
499 && $(MAKE) $(AM_MAKEFLAGS) \
500 && $(MAKE) $(AM_MAKEFLAGS) dvi \
501 && $(MAKE) $(AM_MAKEFLAGS) check \
502 && $(MAKE) $(AM_MAKEFLAGS) install \
503 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
504 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
505 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
506 distuninstallcheck \
507 && chmod -R a-w "$$dc_install_base" \
508 && ({ \
509 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
510 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
511 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
512 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
513 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
514 } || { rm -rf "$$dc_destdir"; exit 1; }) \
515 && rm -rf "$$dc_destdir" \
516 && $(MAKE) $(AM_MAKEFLAGS) dist \
517 && rm -rf $(DIST_ARCHIVES) \
518 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
519 $(am__remove_distdir)
520 @(echo "$(distdir) archives ready for distribution: "; \
521 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
522 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
523 distuninstallcheck:
524 @cd $(distuninstallcheck_dir) \
525 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
526 || { echo "ERROR: files left after uninstall:" ; \
527 if test -n "$(DESTDIR)"; then \
528 echo " (check DESTDIR support)"; \
529 fi ; \
530 $(distuninstallcheck_listfiles) ; \
531 exit 1; } >&2
532 distcleancheck: distclean
533 @if test '$(srcdir)' = . ; then \
534 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
535 exit 1 ; \
537 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
538 || { echo "ERROR: files left in build directory after distclean:" ; \
539 $(distcleancheck_listfiles) ; \
540 exit 1; } >&2
541 check-am: all-am
542 $(MAKE) $(AM_MAKEFLAGS) check-local
543 check: check-am
544 all-am: Makefile all-multi config.h all-local
545 installdirs:
546 install: install-am
547 install-exec: install-exec-am
548 install-data: install-data-am
549 uninstall: uninstall-am
551 install-am: all-am
552 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
554 installcheck: installcheck-am
555 install-strip:
556 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
557 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
558 `test -z '$(STRIP)' || \
559 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
560 mostlyclean-generic:
562 clean-generic:
564 distclean-generic:
565 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
567 maintainer-clean-generic:
568 @echo "This command is intended for maintainers to use"
569 @echo "it deletes files that may require special tools to rebuild."
570 clean: clean-am clean-multi
572 clean-am: clean-generic clean-local mostlyclean-am
574 distclean: distclean-am distclean-multi
575 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
576 -rm -f Makefile
577 distclean-am: clean-am distclean-generic distclean-hdr
579 dvi: dvi-am
581 dvi-am:
583 html: html-am
585 info: info-am
587 info-am:
589 install-data-am: install-data-local
591 install-exec-am: install-exec-local install-multi
593 install-info: install-info-am
595 install-man:
597 installcheck-am:
599 maintainer-clean: maintainer-clean-am maintainer-clean-multi
600 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
601 -rm -rf $(top_srcdir)/autom4te.cache
602 -rm -f Makefile
603 maintainer-clean-am: distclean-am maintainer-clean-generic
605 mostlyclean: mostlyclean-am mostlyclean-multi
607 mostlyclean-am: mostlyclean-generic
609 pdf: pdf-am
611 pdf-am:
613 ps: ps-am
615 ps-am:
617 uninstall-am: uninstall-info-am
619 .PHONY: all all-am all-local all-multi am--refresh check check-am \
620 check-local clean clean-generic clean-local clean-multi dist \
621 dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
622 distcheck distclean distclean-generic distclean-hdr \
623 distclean-multi distcleancheck distdir distuninstallcheck dvi \
624 dvi-am html html-am info info-am install install-am \
625 install-data install-data-am install-data-local install-exec \
626 install-exec-am install-exec-local install-info \
627 install-info-am install-man install-multi install-strip \
628 installcheck installcheck-am installdirs maintainer-clean \
629 maintainer-clean-generic maintainer-clean-multi mostlyclean \
630 mostlyclean-generic mostlyclean-multi pdf pdf-am ps ps-am \
631 uninstall uninstall-am uninstall-info-am
634 config/x3.o: config/x3.c config/x3.h
635 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -g -Wall -I $(LIBIBERTY_H_PATH) -c -o $@ $<
637 config/x3main.o: config/x3main.c config/x3.h
638 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -g -Wall -c -o $@ $<
640 all-local: libgphobos.a
642 %.o : %.d $(D_PREREQ_SRCS)
643 $(GDC) -o $@ $(ALL_DFLAGS) \
644 -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
646 # %.o : %.c
647 # Use .c.o to override Automake
648 .c.o:
649 $(CC) -o $@ $(OUR_CFLAGS) $(CFLAGS) -c $<
651 # boxer is currently broken
652 std/boxer.t.o: std/boxer.o
653 cp $< $@
655 %.t.o : %.d $(D_PREREQ_SRCS)
656 $(GDC) -o $@ $(ALL_DFLAGS) -fno-release -funittest -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
658 internal/gc/gcx.t.o: $(D_PREREQ_SRCS) $(srcdir)/internal/gc/gcx.d
659 $(GDC) -o $@ $(ALL_DFLAGS) -funittest -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
661 %.t.o : %.o
662 cp $< $@
664 unittest: unittest.o libgphobos_t.a libgphobos.a
665 $(GDC) -o $@ $(CFLAGS) unittest.o -L./ -lgphobos_t $(LIBS)
667 internal/gc/testgc.o: $(config_d_src) $(srcdir)/internal/gc/testgc.d
668 $(GDC) -o $@ $(ALL_DFLAGS) -fno-release -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $(srcdir)/internal/gc/testgc.d
670 testgc: internal/gc/testgc.o libgphobos_t.a libgphobos.a
671 $(GDC) -o $@ $(ALL_DFLAGS) internal/gc/testgc.o -L./ -lgphobos_t $(LIBS)
673 gen_config1: config/gen_config1.o
674 $(CC) $(CFLAGS) -o $@ $^
676 $(config_d_src): frag-ac stamp-tgtdir
677 cp $< $@
679 $(config_libc_d_src): config/libc.x3 $(X3_DEPS) stamp-tgtdir
680 $(X3) $< -o $@ $(X3_GCC_COMMAND)
682 $(config_errno_d_src): config/errno.x3 $(X3_DEPS) stamp-tgtdir
683 $(X3) $< -o $@ $(X3_GCC_COMMAND)
685 $(config_fpcls_d_src): config/fpcls.x3 $(X3_DEPS) stamp-tgtdir
686 $(X3) $< -o $@ $(X3_GCC_COMMAND)
688 $(config_mathfuncs_d_src): frag-math stamp-tgtdir
689 cp $< $@
691 $(config_unix_d_src): config/unix.x3 $(X3_DEPS) stamp-tgtdir
692 $(X3) $< -o $@ $(X3_GCC_COMMAND)
694 # because these are in the $(host_alias) subdir, pattern match rules will not work
695 gcc/config/unix.o: $(config_unix_d_src) $(config_d_src) $(config_libc_d_src)
696 $(GDC) -o $@ $(ALL_DFLAGS) -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
697 gcc/config/unix.t.o: gcc/config/unix.o
698 cp $< $@
700 gcc/config/mathfuncs.o: $(config_mathfuncs_d_src) $(config_d_src) $(config_libc_d_src)
701 $(GDC) -o $@ $(ALL_DFLAGS) -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
702 gcc/config/mathfuncs.t.o: gcc/config/mathfuncs.o
703 cp $< $@
705 gcc/cbridge_math.o: gcc/cbridge_math.c
706 $(CC) -o $@ $(OUR_CFLAGS) $(CFLAGS) -fno-strict-aliasing -c $<
708 std/stream.o: std/stream.d $(D_PREREQ_SRCS)
709 $(GDC) -o $@ $(ALL_DFLAGS) -fdeprecated -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
710 std/stream.t.o: std/stream.d $(D_PREREQ_SRCS)
711 $(GDC) -o $@ $(ALL_DFLAGS) -fdeprecated -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
713 libgphobos.a : $(ALL_PHOBOS_OBJS) $(CMAIN_OBJS)
714 $(AR) -r $@ $(ALL_PHOBOS_OBJS) $(CMAIN_OBJS)
715 $(RANLIB) $@
717 libgphobos_t.a : $(ALL_PHOBOS_OBJS:.o=.t.o) $(CMAIN_OBJS)
718 $(AR) -r $@ $(ALL_PHOBOS_OBJS:.o=.t.o) $(CMAIN_OBJS)
719 $(RANLIB) $@
721 # This has to be an empty file because it is included in the prerequisites of rules
722 # that use "cat $^" to generate their targets.
723 stamp-tgtdir:
724 mkdir -p gcc/config
725 mkdir -p $(host_alias)/gcc/config
726 touch $@
728 check-local: unittest testgc
729 ./unittest
730 ./testgc
732 install-exec-local: $(D_PREREQ_SRCS) libgphobos.a
733 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
734 $(INSTALL) libgphobos.a $(DESTDIR)$(toolexeclibdir)
735 $(RANLIB) $(DESTDIR)$(toolexeclibdir)/libgphobos.a
737 install-data-local: $(D_PREREQ_SRCS) libgphobos.a
738 for i in etc etc/c \
739 etc/c/zlib \
740 gcc std std/c \
741 std/c/darwin std/c/linux std/c/mach std/c/skyos std/c/unix std/c/windows \
742 std/typeinfo std/windows; do \
743 $(mkinstalldirs) $(DESTDIR)$(gdc_include_dir)/$$i; \
744 for f in $(srcdir)/$$i/*.[hd]; do $(INSTALL_HEADER) $$f $(DESTDIR)$(gdc_include_dir)/$$i; done; \
745 done
746 for i in crc32.d gcstats.d object.d; do \
747 $(INSTALL_HEADER) $(srcdir)/$$i $(DESTDIR)$(gdc_include_dir); done
748 $(mkinstalldirs) $(DESTDIR)$(gdc_include_dir)/$(host_alias)/$(MULTISUBDIR)/gcc/config
749 for i in $(host_alias)/gcc/config/*.d ; \
750 do $(INSTALL_HEADER) $$i $(DESTDIR)$(gdc_include_dir)/$(host_alias)/$(MULTISUBDIR)/gcc/config; done
751 $(INSTALL) phobos-ver-syms $(DESTDIR)$(gdc_include_dir)/$(host_alias)/$(MULTISUBDIR)
753 clean-local:
754 rm -f $(ALL_PHOBOS_OBJS) $(CMAIN_OBJS)
755 rm -f $(ALL_PHOBOS_OBJS:.o=.t.o)
756 rm -f unittest.o internal/gc/testgc.o
757 rm -f unittest$(EXEEXT) testgc$(EXEEXT)
758 rm -f $(config_d_src) $(config_errno_d_src) $(config_libc_d_src)
759 rm -f $(config_unix_d_src)
760 rm -f libgphobos.a
761 rm -f libgphobos_t.a
762 # Tell versions [3.59,3.63) of GNU make to not export all variables.
763 # Otherwise a system limit (for SysV at least) may be exceeded.
764 .NOEXPORT: