Add match_insn2; Fix prototype in loop.c
[official-gcc.git] / libio / config.shared
blobcbaf2900dfb7619a679c1073861bb71bb9b35aab
1 # Copyright (C) 1993, 1995, 1997, 1998 Free Software Foundation
2
3 # This file is part of the GNU IO Library.  This library is free
4 # software; you can redistribute it and/or modify it under the
5 # terms of the GNU General Public License as published by the
6 # Free Software Foundation; either version 2, or (at your option)
7 # any later version.
8
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with GNU CC; see the file COPYING.  If not, write to
16 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
18 # File descriptor usage:
19 # 1: All macros which need to be re-definable by any target fragments
20 # 2: All generic rules; especially those which use re-defined macros, e.g. _G_CONFIG_H!
22 # Significant variables:
24 # Note that TO_TOPDIR does *not* include multilib.
25 test -z "${TO_TOPDIR}" && TO_TOPDIR=${TOLIBGXX}../
26 # Native configurations build target libraries in directories at the same
27 # level as the rest of the tree.  Cross configurations build target libraries
28 # one level deeper.  TO_REAL_TOPDIR accounts for this.
29 # Obviously, TO_REAL_TOPDIR can only be used in the build tree.
30 if [ "${with_target_subdir}" != "." ] ; then
31   TO_REAL_TOPDIR="${TO_TOPDIR}../"
32 else
33   TO_REAL_TOPDIR="${TO_TOPDIR}"
35 DOING_LIBGXX=${DOING_LIBGXX-false}
36 THIS_FILE="${srcdir}/${TOLIBIO}config.shared"
38 echo "# Start of package fragment generated by ${THIS_FILE}."
39 echo ""
40 echo >&2 "# Start of package rules fragment generated by ${THIS_FILE}."
41 echo >&2 ""
43 # Multilib support.
44 echo 'MULTISRCTOP ='
45 echo 'MULTIBUILDTOP ='
46 echo 'MULTIDIRS ='
47 echo 'MULTISUBDIR ='
48 echo 'MULTIDO = true'
49 echo 'MULTICLEAN = true'
50 echo ''
52 # TOLIBGXX
53 # MOSTLYCLEAN
54 # CLEAN
55 # DISTCLEAN
56 # REALCLEAN
57 # SUBDIRS [defaults to (configdirs)]
58 # INFO_FILES   List of (basenames of) texinfo files
59 # INFO_SUBDIRS [default: empty]  sub-directories containing documentation
61 # ??? This doesn't appear to be used by us or any of our callers.
62 # Note that all uses in this file are single-quoted.
63 rootme=${rootme-`pwd`}
65 # libg++ uses the convention that $rootme includes a trailing '/'.
66 # We use that in the definition of TOPDIR.  $rootme is either empty
67 # or an absolute pathname to the current directory (with trailing '/').
68 TOPDIR=${TOPDIR-'$${rootme}$(MULTIBUILDTOP)'${TO_REAL_TOPDIR}}
69 echo '#' TOPDIR="${TOPDIR} invsubdir=${invsubdir} subdir=${subdir}"
70 SUBDIRS=${SUBDIRS-${configdirs}}
71 CHECK_SUBDIRS=${CHECK_SUBDIRS-${SUBDIRS}}
73 echo "srcdir = ${srcdir}"
74 echo "SUBDIRS = ${SUBDIRS}"
75 echo "CHECK_SUBDIRS = ${CHECK_SUBDIRS}"
77 echo "prefix = ${prefix-/usr/local}"
78 echo "exec_prefix = ${exec_prefix-'${prefix}'}"
80 echo 'bindir = $(exec_prefix)/bin'
81 echo 'libdir = $(exec_prefix)/lib'
83 echo 'datadir = $(prefix)/lib'
84 echo 'mandir = $(prefix)/man'
85 echo 'man1dir = $(mandir)/man1'
86 echo 'man2dir = $(mandir)/man2'
87 echo 'man3dir = $(mandir)/man3'
88 echo 'man4dir = $(mandir)/man4'
89 echo 'man5dir = $(mandir)/man5'
90 echo 'man6dir = $(mandir)/man6'
91 echo 'man7dir = $(mandir)/man7'
92 echo 'man8dir = $(mandir)/man8'
93 echo 'man9dir = $(mandir)/man9'
95 echo 'infodir = $(prefix)/info'
96 echo 'includedir = $(prefix)/include'
97 echo 'docdir = $(datadir)/doc'
98 echo ''
99 echo 'SHELL = /bin/sh'
100 echo ''
101 case "$srcdir" in
102   /*) echo 'INSTALL = $(srcdir)'/"${TO_TOPDIR}install-sh -c" ;;
103   .)  echo 'INSTALL = $${rootme}'"${with_multisrctop}${TO_REAL_TOPDIR}install-sh -c" ;;
104   *)  echo 'INSTALL = $${rootme}$(srcdir)'/"${TO_TOPDIR}install-sh -c" ;;
105 esac
106 echo 'INSTALL_PROGRAM = $(INSTALL)'
107 echo 'INSTALL_DATA = $(INSTALL)'
108 echo ''
109 echo 'AR = `if [ -f' ${TOPDIR}'binutils/ar ] ; \'
110 echo "  then echo ${TOPDIR}binutils/ar ; "'\'
111 echo '  else echo ar ; fi`'
112 echo 'AR_FLAGS = rc'
113 echo 'RANLIB = `if [ -f' ${TOPDIR}'binutils/ranlib ] ; \'
114 echo '  then echo '${TOPDIR}'binutils/ranlib ; \'
115 echo '  else echo ranlib ; fi`'
116 echo 'NM = `if [ -f' ${TOPDIR}'binutils/nm.new ] ; \'
117 echo '  then echo '${TOPDIR}'binutils/nm.new ; \'
118 echo '  else echo nm ; fi`'
119 echo 'NLMCONV = `if [ -f' ${TOPDIR}'binutils/nlmconv ] ; \'
120 echo '  then echo '${TOPDIR}'binutils/nlmconv ; \'
121 echo '  else echo nlmconv ; fi`'
122 echo 'LD = `if [ -f' ${TOPDIR}'ld/ld.new ] ; \'
123 echo '  then echo '${TOPDIR}'ld/ld.new ; \'
124 echo '  else echo ld ; fi`'
125 echo ''
126 echo 'MAKEINFO = `if [ -f '${TOPDIR}'texinfo/C/makeinfo ] ; \'
127 echo '  then echo '${TOPDIR}'texinfo/C/makeinfo ; \'
128 echo '  else echo makeinfo ; fi`'
129 case "$srcdir" in
130   .) echo 'TEXIDIR = '"${with_multisrctop}${TO_REAL_TOPDIR}texinfo" ;;
131   *) echo 'TEXIDIR = $(srcdir)'/"${TO_TOPDIR}texinfo" ;;
132 esac
133 echo 'TEXI2DVI = TEXINPUTS=${TEXIDIR}:$$TEXINPUTS texi2dvi'
134 echo ''
135 echo 'CC = cc'
136 echo 'CXX = gcc'
137 echo ''
138 # FIXME!!!
139 if true ; then
140   echo 'WRAP_C_INCLUDES ='
141 else
142   echo 'WRAP_C_INCLUDES = -I$(srcdir)'/${TOLIBGXX}g++-include
144 echo 'CFLAGS = -g'
145 echo 'CXXFLAGS = -g -O'
146 echo 'LIBCFLAGS = $(CFLAGS)'
147 echo 'LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates'
148 if [ "${LIBDIR}" = "yes" ]; then
149   echo 'PICDIR = stamp-picdir'
150 else
151   echo 'PICDIR = '
154 if test "${DOING_LIBGXX}" = "true" ; then
155   echo "TOLIBGXX = ${TOLIBGXX}"
156   echo 'PROTODIR = $(srcdir)'/${TOLIBGXX}src/gen
157   echo "LIBS = -L./${TOLIBGXX} -L./${TOLIBGXX}../libstdc++ -lg++ -lstdc++"
159   # You can override iostream (e.g. in a site- or host-Makefile fragment) to:
160   # iostream (Normal iostream library)
161   # old-stream (Old stream library; no longer supported)
162   # no-stream (If you don't want iostream to be part of libg++)
163   echo 'IO_DIR = ../libio'
164   echo '# IO_DIR = no-stream'
165 elif test "${DOING_GPERF}" = "true" ; then
166   echo "IO_DIR = libio"
167   echo "LIBS = -L${TO_TOPDIR}libstdc++ -lstdc++"
170 if [ -z "${ALL}" ] ; then
171   if [ -n "${TARGETLIB}" ] ; then
172     ALL='$(TARGETLIB)'
173     echo "TARGETLIB = ${TARGETLIB}"
174   elif [ -n "${TARGETPROG}" ] ; then
175     ALL='${TARGETPROG}'
176     echo "TARGETPROG = ${TARGETPROG}"
177   else
178     echo "config error: neither ALL, TARGETLIB or TARGETPROG is defined" 1>&2
179   fi
182 ALL='$(PICDIR)'" ${ALL}"
184 echo >&2 "all: ${ALL} multi-all"
185 if [ "${SUBDIRS}" != "" ] ; then
186   echo >&2 '    @rootme=`pwd`/; export rootme; \'
187   echo >&2 '    $(MAKE) "DODIRS=$(SUBDIRS)" DO=all $(FLAGS_TO_PASS) subdir_do'
189 echo >&2 '.PHONY: all'
190 echo >&2 ''
192 echo >&2 '.PHONY: multi-all'
193 echo >&2 'multi-all:'
194 echo >&2 '      @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all'
195 echo >&2 ''
197 echo >&2
198 if [ "${SUBDIRS}" != "" ] ; then
199   echo >&2 '.PHONY: subdir_do'
200   echo >&2 'subdir_do: force'
201   echo >&2 '    @rootme=`pwd`/; export rootme; \'
202   echo >&2 '    for i in $(DODIRS); do \'
203   echo >&2 '            if [ -f  ./$$i/Makefile ] ; then \'
204   echo >&2 '                    echo "cd $$i; make $(DO) ..." ; \'
205   echo >&2 '                    (cd $$i ; $(MAKE) $(FLAGS_TO_PASS) $(DO)) || exit 1 ; \'
206   echo >&2 '            else true ; fi ; \'
207   echo >&2 '    done'
208   echo >&2 ''
209   echo >&2 '# List of variables to pass to sub-makes.  This should not be needed'
210   echo >&2 '# by GNU make or Sun make (both of which pass command-line variable'
211   echo >&2 '# overrides thouh $(MAKE)) but may be needed by older versions.'
212   echo >&2 ''
213   echo >&2 'FLAGS_TO_PASS= \'
214   echo >&2 '    "SHELL=$(SHELL)" \'
215   echo >&2 '    "INSTALL=$(INSTALL)" \'
216   echo >&2 '    "INSTALL_DATA=$(INSTALL_DATA)" \'
217   echo >&2 '    "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \'
218   echo >&2 '    "prefix=$(prefix)" \'
219   echo >&2 '    "exec_prefix=$(exec_prefix)" \'
220   echo >&2 '    "tooldir=$(tooldir)" \'
221   echo >&2 '    "gxx_include_dir=$(gxx_include_dir)" \'
222   echo >&2 '    "AR=$(AR)" \'
223   echo >&2 '    "AR_FLAGS=$(AR_FLAGS)" \'
224   echo >&2 '    "CC=$(CC)" \'
225   echo >&2 '    "CXX=$(CXX)" \'
226   echo >&2 '    "CFLAGS=$(CFLAGS)" \'
227   echo >&2 '    "CXXFLAGS=$(CXXFLAGS)" \'
228   echo >&2 '    "NM=$(NM)" \'
229   echo >&2 '    "RANLIB=$(RANLIB)" \'
230   echo >&2 '    "LIBCFLAGS=$(LIBCFLAGS)" \'
231   echo >&2 '    "LIBCXXFLAGS=$(LIBCXXFLAGS)" \'
232   echo >&2 '    "LOADLIBES=$(LOADLIBES)" \'
233   echo >&2 '    "LDFLAGS=$(LDFLAGS)" \'
234   echo >&2 '    "MAKEINFO=$(MAKEINFO)" \'
235   echo >&2 '    "SHLIB=$(SHLIB)" \'
236   echo >&2 '    "SHCURSES=$(SHCURSES)" \'
237   echo >&2 '    "RUNTESTFLAGS=$(RUNTESTFLAGS)"'
240 echo >&2 'NOSTDINC = -nostdinc++'
241 if test -n "${XCXXINCLUDES}" ; then
242   echo >&2 "CXXINCLUDES = ${XCXXINCLUDES} "'$(NOSTDINC)'
243 elif test "${DOING_LIBGXX}" = "true" ; then
244   echo >&2 'CXXINCLUDES = $(NOSTDINC) -I. -I'"${TO_TOPDIR}libio"' -I$(srcdir) -I$(srcdir)/'"${TOLIBGXX}"'$(IO_DIR) -I$(srcdir)/'"${TOLIBGXX}"'../libstdc++ -I$(srcdir)/'"${TOLIBGXX}src"' '"${host_includes}"' $(WRAP_C_INCLUDES)'
246 if test -n "${XCINCLUDES}" ; then
247   echo >&2 "CINCLUDES = ${XCINCLUDES}"
248 elif test "${DOING_LIBGXX}" = "true" ; then
249   echo >&2 'CINCLUDES ='
252 if [ "${LIBDIR}" = "yes" ]; then
253   echo >&2 'XCFLAGS = $(LIBCFLAGS)'
254   echo >&2 'XCXXFLAGS = $(LIBCXXFLAGS)'
255 else
256   echo >&2 'XCFLAGS = $(CFLAGS)'
257   echo >&2 'XCXXFLAGS = $(CXXFLAGS)'
260 echo >&2 '.SUFFIXES: .o .C .cc .c'
261 echo >&2 'COMPILE.c = $(CC) -c $(XCFLAGS) $(CINCLUDES) $(MT_CFLAGS)'
262 echo >&2 '.c.o:'
263 if [ "${LIBDIR}" = "yes" ]; then
264 echo >&2 '      test x"$(enable_shared)" != xyes ||\'
265 echo >&2 '        $(COMPILE.c) $(PICFLAG) $< -o pic/$@'
267 echo >&2 '      $(COMPILE.c) $<'
268 [ "${TOUCH_ON_COMPILE}" = "yes" ] && echo >&2 ' @touch stamp'
269 echo >&2 'COMPILE.cc = $(CXX) -c $(XCXXFLAGS) $(CXXINCLUDES) $(MT_CFLAGS)'
270 echo >&2 '.C.o:'
271 if [ "${LIBDIR}" = "yes" ]; then
272 echo >&2 '      test x"$(enable_shared)" != xyes ||\'
273 echo >&2 '        $(COMPILE.cc) $(PICFLAG) $< -o pic/$@'
275 echo >&2 '      $(COMPILE.cc) $<'
276 [ "${TOUCH_ON_COMPILE}" = "yes" ] && echo >&2 ' @touch stamp'
277 echo >&2 '.cc.o:'
278 if [ "${LIBDIR}" = "yes" ]; then
279 echo >&2 '      test x"$(enable_shared)" != xyes || \'
280 echo >&2 '        $(COMPILE.cc) $(PICFLAG) $< -o pic/$@'
282 echo >&2 '      $(COMPILE.cc) $<'
283 [ "${TOUCH_ON_COMPILE}" = "yes" ] && echo >&2 ' @touch stamp'
284 echo >&2 ''
286 if [ -n "${TARGETLIB}" ] ; then
287   echo TARGETLIB = ${TARGETLIB}
289 if [ -n "${TARGETPROG}" ] ; then
290   echo TARGETPROG = ${TARGETPROG}
293 if [ "${LIBDIR}" = "yes" ]; then
294   echo >&2 ''
295   echo >&2 'stamp-picdir:'
296   echo >&2 '    if [ x"$(enable_shared)" = xyes ] && [ ! -d pic ]; then \'
297   echo >&2 '      mkdir pic; \'
298   echo >&2 '    else true; fi'
299   echo >&2 '    touch stamp-picdir'
302 echo >&2 ''
303 echo >&2 '.PHONY: install'
304 echo >&2 'install:'
305 echo >&2 '.PHONY: check'
306 if [ "${CHECK}" != "check" ] ; then
307   echo >&2 "check: ${ALL} ${CHECK}"
308   if [ "${CHECK_SUBDIRS}" != "" ] ; then
309     echo >&2 '  rootme=`pwd`/; export rootme; \'
310     echo >&2 '  SAVE_LLPATH="$${SAVE_LLPATH-$$LD_LIBRARY_PATH}"; export SAVE_LLPATH; \'
311     echo >&2 '  LD_LIBRARY_PATH="$${rootme}${TOLIBGXX}../libstdc++:$${rootme}${TOLIBGXX}../libg++:$$SAVE_LLPATH"; \'
312     echo >&2 '  export LD_LIBRARY_PATH; \'
313     echo >&2 '  $(MAKE) "DODIRS=$(CHECK_SUBDIRS)" DO=check $(FLAGS_TO_PASS) subdir_do'
314   fi
317 # Generate rules for documentation (depending on INFO_FILES and INFO_SUBDIRS).
319 echo >&2 '.PHONY: info dvi install-info clean-info'
321 # emit the rule for 'info'
322 # (Note that the top-level ../Makefile.in greps for '^info:' when making
323 # a release (in "make taz"), so don't break that!)
324 if [ -z "${INFO_FILES}" ] ; then
325   echo >&2 'info:'
326 else
327   echo >&2 info: `for file in ${INFO_FILES} ; do echo $file.info ; done`
329 if [ "${INFO_SUBDIRS}" != "" ] ; then
330   echo >&2 '    @rootme=`pwd`/; export rootme; \
331         $(MAKE) "DODIRS='${INFO_SUBDIRS}'" DO=info $(FLAGS_TO_PASS) subdir_do'
334 # emit the rule for 'dvi'
335 if [ -z "${INFO_FILES}" ] ; then
336   echo >&2 'dvi:'
337 else
338   echo >&2 dvi: `for file in ${INFO_FILES} ; do echo $file.dvi ; done`
340 if [ "${INFO_SUBDIRS}" != "" ] ; then
341   echo >&2 '    @rootme=`pwd`/; export rootme; \
342         $(MAKE) "DODIRS='${INFO_SUBDIRS}'" DO=dvi $(FLAGS_TO_PASS) subdir_do'
345 # Emit rules for each *.info and *.dvi file
346 for file in ${INFO_FILES} ; do
347   echo >&2 ${file}.info: '$(srcdir)'/${file}.texi
348   echo >&2 '    $(MAKEINFO) -I$(srcdir) -I$(TEXIDIR) $(srcdir)/'${file}.texi -o ${file}.info
349   echo >&2 ${file}.dvi: '$(srcdir)'/${file}.texi
350   echo >&2 '    $(TEXI2DVI) $(srcdir)'/${file}.texi
351   echo >&2 "${file}.ps: ${file}.dvi"
352   echo >&2 "    dvips ${file} -o"
353 done
355 # emit the rule for install-info
356 echo >&2 'install-info:'
357 if [ -n "${INFO_FILES}" ] ; then
358   echo >&2 '    -parent=`echo $(infodir)|sed -e' "'"'s@/[^/]*$$@@'"'"'`; \'
359   echo >&2 '    if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi'
360   echo >&2 '    -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi'
361   echo >&2 '    for i in *.info* ; do \'
362   echo >&2 '      $(INSTALL_DATA) $$i $(infodir)/$$i ; \'
363   echo >&2 '    done'
365 if [ "${INFO_SUBDIRS}" != "" ] ; then
366   echo >&2 '    @rootme=`pwd`/; export rootme; \
367         $(MAKE) "DODIRS='${INFO_SUBDIRS}'" DO=install-info $(FLAGS_TO_PASS) subdir_do'
370 # emit clean-info and clean-dvi rules
371 echo >&2 '.PHONY: do-clean-info clean-info do-clean-dvi clean-dvi'
372 echo >&2 do-clean-info:
373 if [ -n "${INFO_FILES}" ] ; then
374   echo >&2 '    rm -f *.info*'
376 echo >&2 'do-clean-dvi:'
377 if [ -n "${INFO_FILES}" ] ; then
378   echo >&2 '    rm -f *.dvi *.aux *.cp *.cps *.fn* *.ky *.log *.pg *.toc *.tp *.vr'
380 for type in info dvi ; do
381   echo >&2 clean-${type}: do-clean-${type}
382   if [ "${INFO_SUBDIRS}" != "" ] ; then
383     echo >&2 '  @rootme=`pwd`/; export rootme; \
384         $(MAKE) "DODIRS='${NFO_SUBDIRS}'" DO=clean-'${type} '$(FLAGS_TO_PASS) subdir_do'
385   fi
386 done
388 echo >&2 ''
390 echo >&2 '.PHONY: boltcc'
391 echo >&2 'boltcc:'
392 echo >&2 '      rootme=`pwd`/ ; export rootme ; $(MAKE) $(FLAGS_TO_PASS)'
393 echo >&2 ''
395 # Emit clean rules
397 echo >&2 ''
398 echo >&2 '# clean rules'
400 MOSTLYCLEAN="${MOSTLYCLEAN-*.o pic stamp-picdir core ${EXTRA_MOSTLYCLEAN}} `if test -n "${TOUCH_ON_COMPILE}"; then echo stamp; else true; fi`"
401 CLEAN="${CLEAN-${TARGETPROG} ${TARGETLIB}}"
402 DISTCLEAN="${DISTCLEAN-config.status Makefile *~ Make.pack target-mkfrag multilib.out ${EXTRA_DISTCLEAN-}}"
403 REALCLEAN="${REALCLEAN-depend *.info*}"
406 echo >&2 '.PHONY: mostlyclean clean distclean maintainer-clean realclean'
407 if test -z "${SUBDIRS}" ; then
408   echo >&2 "mostlyclean: clean-dvi"
409   echo >&2 "    rm -rf ${MOSTLYCLEAN}"
410   echo >&2 '    @$(MULTICLEAN) multi-clean DO=mostlyclean'
411   echo >&2 "clean: clean-dvi"
412   echo >&2 "    rm -rf ${MOSTLYCLEAN} ${CLEAN}"
413   echo >&2 '    @$(MULTICLEAN) multi-clean DO=clean'
414   echo >&2 "distclean: clean"
415   echo >&2 '    @$(MULTICLEAN) multi-clean DO=distclean'
416   echo >&2 "    rm -rf ${DISTCLEAN}"
417   echo >&2 "maintainer-clean realclean: clean clean-info"
418   echo >&2 '    @$(MULTICLEAN) multi-clean DO=maintainer-clean'
419   echo >&2 "    rm -rf ${DISTCLEAN} ${REALCLEAN}"
420 else
421   echo >&2 '.PHONY: do-clean subdir_distclean subdir_maintainer_clean'
422   echo >&2 "mostlyclean: do-clean-dvi"
423   echo >&2 "    rm -rf ${MOSTLYCLEAN}"
424   echo >&2 '    @$(MAKE) $(FLAGS_TO_PASS) "DODIRS=$(SUBDIRS)" DO=mostlyclean subdir_do'
425   echo >&2 '    @$(MULTICLEAN) multi-clean DO=mostlyclean'
426   echo >&2 "do-clean: do-clean-dvi"
427   echo >&2 "    rm -rf ${MOSTLYCLEAN} ${CLEAN}"
428   echo >&2 "clean: do-clean"
429   echo >&2 '    @$(MAKE) $(FLAGS_TO_PASS) "DODIRS=$(SUBDIRS)" DO=clean subdir_do'
430   echo >&2 '    @$(MULTICLEAN) multi-clean DO=clean'
431   # distclean and maintainer-clean are tricky because they remove the Makefile.
432   echo >&2 "subdir_distclean:"
433   echo >&2 '    @$(MAKE) $(FLAGS_TO_PASS) "DODIRS=$(SUBDIRS)" DO=distclean subdir_do'
434   echo >&2 "distclean: do-clean subdir_distclean"
435   echo >&2 '    @$(MULTICLEAN) multi-clean DO=distclean'
436   echo >&2 "    rm -rf ${DISTCLEAN}"
437   echo >&2 "subdir_maintainer_clean:"
438   echo >&2 '    @$(MAKE) $(FLAGS_TO_PASS) "DODIRS=$(SUBDIRS)" DO=maintainer-clean subdir_do'
439   echo >&2 "maintainer-clean realclean: do-clean subdir_maintainer_clean do-clean-info"
440   echo >&2 '    @$(MULTICLEAN) multi-clean DO=maintainer-clean'
441   echo >&2 "    rm -rf ${DISTCLEAN} ${REALCLEAN}"
444 echo >&2 ''
445 echo >&2 '.PHONY: force'
446 echo >&2 'force:'
447 echo >&2 ''
448 echo >&2 '# with the gnu make, this is done automatically.'
449 echo >&2 ''
450 echo >&2 'Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)'
451 echo >&2 '      $(SHELL) ./config.status'
452 echo >&2 ''
453 echo >&2 '.NOEXPORT:'
454 echo >&2 'MAKEOVERRIDES='
456 cat >&2 <<"EOF"
457 DEPEND_SOURCES = ${srcdir}/*.cc ${srcdir}/*.c
458 depend.new:
459 # The sed script below attempts to make the depend output portable.
460 # It cleans up the depenency information generated by cpp.
461 # It replaces instances of $(srcdir)/ by the string '$(srcdir)/'.
462 # It removes remaining absolute files names (such as /usr/include/stdio.h).
463 # It removes lines containing only "\\".
464 # It inserts '$(MULTISRCTOP)' in '$(srcdir)/..'.
465 # In order to support SunOS VPATH, $(srcdir)/[a-z]*.{c,cc} is replaced with
466 # [a-z]*.{c,cc} (the directory part is removed).
467 # The awk script removes a continuation marker that is followed by
468 # a blank line, since that may confuse make.
469         echo "# AUTOMATICALLY GENERATED BY 'make depend' - DO NOT EDIT" \
470           >depend.new
471         $(CXX) -M $(CXXINCLUDES) $(DEPEND_SOURCES) \
472         | sed -e 's|$(srcdir)/|$$(srcdir)/|g' \
473               -e 's| [^ ]_G_config.h| $$(_G_CONFIG_H)|g \
474               -e 's| /[^ ]*||g' \
475               -e '/^[   ]*\\$$/d' -e 's/^[      ]*$$//' \
476         | sed -e 's|$$(srcdir)/[.][.]|$$(srcdir)/$$(MULTISRCTOP)..|g' \
477               -e 's|$$(srcdir)/\([^/]*[.]c\)|\1|' \
478         | awk 'BEGIN   { prev = "" } \
479               /^( )*$$/ { if (prev ~ /\\$$/) \
480                             { prev = substr(prev,1,length(prev)-1); next } } \
481                         { print prev; prev = $$0 } \
482               END { if (prev !~ /^( )*$$/) print prev }' \
483         >> depend.new
484 $(srcdir)/depend:  depend.new
485         mv depend.new $(srcdir)/depend
488 if [ -f ${srcdir}/${subdir}/depend ] ; then
489   cat ${srcdir}/${subdir}/depend >&2
492 echo "# End of package fragment generated by ${THIS_FILE}."
493 echo >&2 "# End of package rules fragment generated by ${THIS_FILE}."