Don't merge TypeMaybe if it depends on an unresolved identifier
[delight/core.git] / phobos2 / Makefile.in
blob5e56bf0ce79098da6b86f96d11c3531dfdb147c6
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 std/hiddenfunc.o internal/switch.o gcstats.o \
241 internal/critical.o internal/object.o internal/monitor.o internal/arraycat.o internal/invariant.o \
242 internal/arrayassign.o internal/aaA.o internal/adi.o internal/aApply.o internal/aApplyR.o \
243 std/outofmemory.o 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/c/stdio.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 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 \
257 std/algorithm.o std/bitmanip.o std/contracts.o std/functional.o \
258 std/getopt.o std/numeric.o std/slist.o std/typecons.o std/variant.o \
259 std/cover.o std/complex.o std/encoding.o std/iterator.o std/xml.o \
260 std/bigint.o
263 # This should not be linked into a shared library.
264 CMAIN_OBJS = internal/cmain.o
265 ZLIB_OBJS = etc/c/zlib/adler32.o etc/c/zlib/compress.o \
266 etc/c/zlib/crc32.o etc/c/zlib/gzio.o \
267 etc/c/zlib/uncompr.o etc/c/zlib/deflate.o \
268 etc/c/zlib/trees.o etc/c/zlib/zutil.o \
269 etc/c/zlib/inflate.o etc/c/zlib/infback.o \
270 etc/c/zlib/inftrees.o etc/c/zlib/inffast.o
272 GC_OBJS = internal/gc/gc.o internal/gc/gcx.o internal/gc/gcbits.o \
273 @D_GC_MODULES@ $(am__empty)
274 GCC_OBJS = gcc/unwind_pe.o gcc/deh.o gcc/threadsem.o \
275 gcc/cbridge_time.o gcc/cbridge_strerror.o
278 # modules which require some kind of operating system
279 OS_OBJS = std/file.o std/mmfile.o std/path.o std/perf.o std/process.o std/socket.o std/socketstream.o
281 # std.c.linux.linux, std.loader, gcc.cbridge*
282 WINDOWS_OBJS = std/c/windows/windows.o std/c/windows/com.o std/c/windows/winsock.o \
283 std/windows/iunknown.o std/windows/registry.o std/windows/syserror.o \
284 std/windows/charset.o
286 ALL_PHOBOS_OBJS = $(D_EXTRA_OBJS) $(GCC_OBJS) $(MAIN_OBJS) $(ZLIB_OBJS) $(GC_OBJS) $(WEAK_OBJS)
288 # Work around what appears to be a GNU make bug handling MAKEFLAGS
289 # values defined in terms of make variables, as is the case for CC and
290 # friends when we are called from the top level Makefile.
291 AM_MAKEFLAGS = \
292 "AR_FLAGS=$(AR_FLAGS)" \
293 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
294 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
295 "CFLAGS=$(CFLAGS)" \
296 "CXXFLAGS=$(CXXFLAGS)" \
297 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
298 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
299 "INSTALL=$(INSTALL)" \
300 "INSTALL_DATA=$(INSTALL_DATA)" \
301 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
302 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
303 "LDFLAGS=$(LDFLAGS)" \
304 "LIBCFLAGS=$(LIBCFLAGS)" \
305 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
306 "MAKE=$(MAKE)" \
307 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
308 "PICFLAG=$(PICFLAG)" \
309 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
310 "SHELL=$(SHELL)" \
311 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
312 "exec_prefix=$(exec_prefix)" \
313 "infodir=$(infodir)" \
314 "libdir=$(libdir)" \
315 "includedir=$(includedir)" \
316 "prefix=$(prefix)" \
317 "tooldir=$(tooldir)" \
318 "gdc_include_dir=$(gdc_include_dir)" \
319 "AR=$(AR)" \
320 "AS=$(AS)" \
321 "LD=$(LD)" \
322 "RANLIB=$(RANLIB)" \
323 "NM=$(NM)" \
324 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
325 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
326 "DESTDIR=$(DESTDIR)" \
327 "WERROR=$(WERROR)"
330 # Subdir rules rely on $(FLAGS_TO_PASS)
331 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
332 all: config.h
333 $(MAKE) $(AM_MAKEFLAGS) all-am
335 .SUFFIXES:
336 .SUFFIXES: .d .c .o
337 am--refresh:
339 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
340 @for dep in $?; do \
341 case '$(am__configure_deps)' in \
342 *$$dep*) \
343 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps'; \
344 cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps \
345 && exit 0; \
346 exit 1;; \
347 esac; \
348 done; \
349 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps Makefile'; \
350 cd $(top_srcdir) && \
351 $(AUTOMAKE) --foreign --ignore-deps Makefile
352 .PRECIOUS: Makefile
353 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
354 @case '$?' in \
355 *config.status*) \
356 echo ' $(SHELL) ./config.status'; \
357 $(SHELL) ./config.status;; \
358 *) \
359 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
360 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
361 esac;
363 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
364 $(SHELL) ./config.status --recheck
366 $(top_srcdir)/configure: $(am__configure_deps)
367 cd $(srcdir) && $(AUTOCONF)
368 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
369 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
371 config.h: stamp-h1
372 @if test ! -f $@; then \
373 rm -f stamp-h1; \
374 $(MAKE) stamp-h1; \
375 else :; fi
377 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
378 @rm -f stamp-h1
379 cd $(top_builddir) && $(SHELL) ./config.status config.h
380 $(srcdir)/config.h.in: $(am__configure_deps)
381 cd $(top_srcdir) && $(AUTOHEADER)
382 rm -f stamp-h1
383 touch $@
385 distclean-hdr:
386 -rm -f config.h stamp-h1
387 frag-ac: $(top_builddir)/config.status $(srcdir)/frag-ac.in
388 cd $(top_builddir) && $(SHELL) ./config.status $@
389 frag-math: $(top_builddir)/config.status $(srcdir)/frag-math.in
390 cd $(top_builddir) && $(SHELL) ./config.status $@
391 phobos-ver-syms: $(top_builddir)/config.status $(srcdir)/phobos-ver-syms.in
392 cd $(top_builddir) && $(SHELL) ./config.status $@
394 # GNU Make needs to see an explicit $(MAKE) variable in the command it
395 # runs to enable its job server during parallel builds. Hence the
396 # comments below.
397 all-multi:
398 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
399 install-multi:
400 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
402 mostlyclean-multi:
403 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
404 clean-multi:
405 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
406 distclean-multi:
407 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
408 maintainer-clean-multi:
409 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
410 uninstall-info-am:
411 tags: TAGS
412 TAGS:
414 ctags: CTAGS
415 CTAGS:
418 distdir: $(DISTFILES)
419 $(am__remove_distdir)
420 mkdir $(distdir)
421 $(mkdir_p) $(distdir)/.
422 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
423 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
424 list='$(DISTFILES)'; for file in $$list; do \
425 case $$file in \
426 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
427 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
428 esac; \
429 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
430 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
431 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
432 dir="/$$dir"; \
433 $(mkdir_p) "$(distdir)$$dir"; \
434 else \
435 dir=''; \
436 fi; \
437 if test -d $$d/$$file; then \
438 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
439 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
440 fi; \
441 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
442 else \
443 test -f $(distdir)/$$file \
444 || cp -p $$d/$$file $(distdir)/$$file \
445 || exit 1; \
446 fi; \
447 done
448 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
449 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
450 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
451 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
452 || chmod -R a+r $(distdir)
453 dist-gzip: distdir
454 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
455 $(am__remove_distdir)
457 dist-bzip2: distdir
458 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
459 $(am__remove_distdir)
461 dist-tarZ: distdir
462 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
463 $(am__remove_distdir)
465 dist-shar: distdir
466 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
467 $(am__remove_distdir)
469 dist-zip: distdir
470 -rm -f $(distdir).zip
471 zip -rq $(distdir).zip $(distdir)
472 $(am__remove_distdir)
474 dist dist-all: distdir
475 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
476 $(am__remove_distdir)
478 # This target untars the dist file and tries a VPATH configuration. Then
479 # it guarantees that the distribution is self-contained by making another
480 # tarfile.
481 distcheck: dist
482 case '$(DIST_ARCHIVES)' in \
483 *.tar.gz*) \
484 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
485 *.tar.bz2*) \
486 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
487 *.tar.Z*) \
488 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
489 *.shar.gz*) \
490 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
491 *.zip*) \
492 unzip $(distdir).zip ;;\
493 esac
494 chmod -R a-w $(distdir); chmod a+w $(distdir)
495 mkdir $(distdir)/_build
496 mkdir $(distdir)/_inst
497 chmod a-w $(distdir)
498 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
499 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
500 && cd $(distdir)/_build \
501 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
502 $(DISTCHECK_CONFIGURE_FLAGS) \
503 && $(MAKE) $(AM_MAKEFLAGS) \
504 && $(MAKE) $(AM_MAKEFLAGS) dvi \
505 && $(MAKE) $(AM_MAKEFLAGS) check \
506 && $(MAKE) $(AM_MAKEFLAGS) install \
507 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
508 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
509 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
510 distuninstallcheck \
511 && chmod -R a-w "$$dc_install_base" \
512 && ({ \
513 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
514 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
515 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
516 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
517 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
518 } || { rm -rf "$$dc_destdir"; exit 1; }) \
519 && rm -rf "$$dc_destdir" \
520 && $(MAKE) $(AM_MAKEFLAGS) dist \
521 && rm -rf $(DIST_ARCHIVES) \
522 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
523 $(am__remove_distdir)
524 @(echo "$(distdir) archives ready for distribution: "; \
525 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
526 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
527 distuninstallcheck:
528 @cd $(distuninstallcheck_dir) \
529 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
530 || { echo "ERROR: files left after uninstall:" ; \
531 if test -n "$(DESTDIR)"; then \
532 echo " (check DESTDIR support)"; \
533 fi ; \
534 $(distuninstallcheck_listfiles) ; \
535 exit 1; } >&2
536 distcleancheck: distclean
537 @if test '$(srcdir)' = . ; then \
538 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
539 exit 1 ; \
541 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
542 || { echo "ERROR: files left in build directory after distclean:" ; \
543 $(distcleancheck_listfiles) ; \
544 exit 1; } >&2
545 check-am: all-am
546 $(MAKE) $(AM_MAKEFLAGS) check-local
547 check: check-am
548 all-am: Makefile all-multi config.h all-local
549 installdirs:
550 install: install-am
551 install-exec: install-exec-am
552 install-data: install-data-am
553 uninstall: uninstall-am
555 install-am: all-am
556 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
558 installcheck: installcheck-am
559 install-strip:
560 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
561 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
562 `test -z '$(STRIP)' || \
563 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
564 mostlyclean-generic:
566 clean-generic:
568 distclean-generic:
569 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
571 maintainer-clean-generic:
572 @echo "This command is intended for maintainers to use"
573 @echo "it deletes files that may require special tools to rebuild."
574 clean: clean-am clean-multi
576 clean-am: clean-generic clean-local mostlyclean-am
578 distclean: distclean-am distclean-multi
579 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
580 -rm -f Makefile
581 distclean-am: clean-am distclean-generic distclean-hdr
583 dvi: dvi-am
585 dvi-am:
587 html: html-am
589 info: info-am
591 info-am:
593 install-data-am: install-data-local
595 install-exec-am: install-exec-local install-multi
597 install-info: install-info-am
599 install-man:
601 installcheck-am:
603 maintainer-clean: maintainer-clean-am maintainer-clean-multi
604 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
605 -rm -rf $(top_srcdir)/autom4te.cache
606 -rm -f Makefile
607 maintainer-clean-am: distclean-am maintainer-clean-generic
609 mostlyclean: mostlyclean-am mostlyclean-multi
611 mostlyclean-am: mostlyclean-generic
613 pdf: pdf-am
615 pdf-am:
617 ps: ps-am
619 ps-am:
621 uninstall-am: uninstall-info-am
623 .PHONY: all all-am all-local all-multi am--refresh check check-am \
624 check-local clean clean-generic clean-local clean-multi dist \
625 dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
626 distcheck distclean distclean-generic distclean-hdr \
627 distclean-multi distcleancheck distdir distuninstallcheck dvi \
628 dvi-am html html-am info info-am install install-am \
629 install-data install-data-am install-data-local install-exec \
630 install-exec-am install-exec-local install-info \
631 install-info-am install-man install-multi install-strip \
632 installcheck installcheck-am installdirs maintainer-clean \
633 maintainer-clean-generic maintainer-clean-multi mostlyclean \
634 mostlyclean-generic mostlyclean-multi pdf pdf-am ps ps-am \
635 uninstall uninstall-am uninstall-info-am
638 config/x3.o: config/x3.c config/x3.h
639 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -g -Wall -I $(LIBIBERTY_H_PATH) -c -o $@ $<
641 config/x3main.o: config/x3main.c config/x3.h
642 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -g -Wall -c -o $@ $<
644 all-local: libgphobos2.a
646 %.o : %.d $(D_PREREQ_SRCS)
647 $(GDC) -o $@ $(ALL_DFLAGS) \
648 -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
650 # %.o : %.c
651 # Use .c.o to override Automake
652 .c.o:
653 $(CC) -o $@ $(OUR_CFLAGS) $(CFLAGS) -c $<
655 # boxer is currently broken
656 std/boxer.t.o: std/boxer.o
657 cp $< $@
659 %.t.o : %.d $(D_PREREQ_SRCS)
660 $(GDC) -o $@ $(ALL_DFLAGS) -fno-release -funittest -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
662 internal/gc/gcx.t.o: $(D_PREREQ_SRCS) $(srcdir)/internal/gc/gcx.d
663 $(GDC) -o $@ $(ALL_DFLAGS) -funittest -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
665 %.t.o : %.o
666 cp $< $@
668 unittest: unittest.o libgphobos2_t.a libgphobos2.a
669 $(GDC) -o $@ $(CFLAGS) unittest.o -L./ -lgphobos2_t $(LIBS)
671 internal/gc/testgc.o: $(config_d_src) $(srcdir)/internal/gc/testgc.d
672 $(GDC) -o $@ $(ALL_DFLAGS) -fno-release -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $(srcdir)/internal/gc/testgc.d
674 testgc: internal/gc/testgc.o libgphobos2_t.a libgphobos2.a
675 $(GDC) -o $@ $(ALL_DFLAGS) internal/gc/testgc.o -L./ -lgphobos2_t $(LIBS)
677 gen_config1: config/gen_config1.o
678 $(CC) $(CFLAGS) -o $@ $^
680 $(config_d_src): frag-ac stamp-tgtdir
681 cp $< $@
683 $(config_libc_d_src): config/libc.x3 $(X3_DEPS) stamp-tgtdir
684 $(X3) $< -o $@ $(X3_GCC_COMMAND)
686 $(config_errno_d_src): config/errno.x3 $(X3_DEPS) stamp-tgtdir
687 $(X3) $< -o $@ $(X3_GCC_COMMAND)
689 $(config_fpcls_d_src): config/fpcls.x3 $(X3_DEPS) stamp-tgtdir
690 $(X3) $< -o $@ $(X3_GCC_COMMAND)
692 $(config_mathfuncs_d_src): frag-math stamp-tgtdir
693 cp $< $@
695 $(config_unix_d_src): config/unix.x3 $(X3_DEPS) stamp-tgtdir
696 $(X3) $< -o $@ $(X3_GCC_COMMAND)
698 # because these are in the $(host_alias) subdir, pattern match rules will not work
699 gcc/config/unix.o: $(config_unix_d_src) $(config_d_src) $(config_libc_d_src)
700 $(GDC) -o $@ $(ALL_DFLAGS) -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
701 gcc/config/unix.t.o: gcc/config/unix.o
702 cp $< $@
704 gcc/config/mathfuncs.o: $(config_mathfuncs_d_src) $(config_d_src) $(config_libc_d_src)
705 $(GDC) -o $@ $(ALL_DFLAGS) -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
706 gcc/config/mathfuncs.t.o: gcc/config/mathfuncs.o
707 cp $< $@
709 gcc/cbridge_math.o: gcc/cbridge_math.c
710 $(CC) -o $@ $(OUR_CFLAGS) $(CFLAGS) -fno-strict-aliasing -c $<
712 std/stream.o: std/stream.d $(D_PREREQ_SRCS)
713 $(GDC) -o $@ $(ALL_DFLAGS) -fdeprecated -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
714 std/stream.t.o: std/stream.d $(D_PREREQ_SRCS)
715 $(GDC) -o $@ $(ALL_DFLAGS) -fdeprecated -I $(srcdir) -I $(srcdir)/internal/gc -I ./$(host_alias) -c $<
717 libgphobos2.a : $(ALL_PHOBOS_OBJS) $(CMAIN_OBJS)
718 $(AR) -r $@ $(ALL_PHOBOS_OBJS) $(CMAIN_OBJS)
719 $(RANLIB) $@
721 libgphobos2_t.a : $(ALL_PHOBOS_OBJS:.o=.t.o) $(CMAIN_OBJS)
722 $(AR) -r $@ $(ALL_PHOBOS_OBJS:.o=.t.o) $(CMAIN_OBJS)
723 $(RANLIB) $@
725 # This has to be an empty file because it is included in the prerequisites of rules
726 # that use "cat $^" to generate their targets.
727 stamp-tgtdir:
728 mkdir -p gcc/config
729 mkdir -p $(host_alias)/gcc/config
730 touch $@
732 check-local: unittest testgc
733 ./unittest
734 ./testgc
736 install-exec-local: $(D_PREREQ_SRCS) libgphobos2.a
737 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
738 $(INSTALL) libgphobos2.a $(DESTDIR)$(toolexeclibdir)
739 $(RANLIB) $(DESTDIR)$(toolexeclibdir)/libgphobos2.a
741 install-data-local: $(D_PREREQ_SRCS) libgphobos2.a
742 for i in etc etc/c \
743 etc/c/zlib \
744 gcc std std/c \
745 std/c/darwin std/c/linux std/c/mach std/c/skyos std/c/unix std/c/windows \
746 std/typeinfo std/windows; do \
747 $(mkinstalldirs) $(DESTDIR)$(gdc_include_dir)/$$i; \
748 for f in $(srcdir)/$$i/*.[hd]; do $(INSTALL_HEADER) $$f $(DESTDIR)$(gdc_include_dir)/$$i; done; \
749 done
750 for i in crc32.d gcstats.d object.d; do \
751 $(INSTALL_HEADER) $(srcdir)/$$i $(DESTDIR)$(gdc_include_dir); done
752 $(mkinstalldirs) $(DESTDIR)$(gdc_include_dir)/$(host_alias)/$(MULTISUBDIR)/gcc/config
753 for i in $(host_alias)/gcc/config/*.d ; \
754 do $(INSTALL_HEADER) $$i $(DESTDIR)$(gdc_include_dir)/$(host_alias)/$(MULTISUBDIR)/gcc/config; done
755 $(INSTALL) phobos-ver-syms $(DESTDIR)$(gdc_include_dir)/$(host_alias)/$(MULTISUBDIR)
757 clean-local:
758 rm -f $(ALL_PHOBOS_OBJS) $(CMAIN_OBJS)
759 rm -f $(ALL_PHOBOS_OBJS:.o=.t.o)
760 rm -f unittest.o internal/gc/testgc.o
761 rm -f unittest$(EXEEXT) testgc$(EXEEXT)
762 rm -f $(config_d_src) $(config_errno_d_src) $(config_libc_d_src)
763 rm -f $(config_unix_d_src)
764 rm -f libgphobos2.a
765 rm -f libgphobos2_t.a
766 # Tell versions [3.59,3.63) of GNU make to not export all variables.
767 # Otherwise a system limit (for SysV at least) may be exceeded.
768 .NOEXPORT: