Makefile.am revision 169691
11558Srgrimes## Makefile for the toplevel directory of the GNU C++ Standard library. 21558Srgrimes## 31558Srgrimes## Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 41558Srgrimes## Free Software Foundation, Inc. 51558Srgrimes## 61558Srgrimes## This file is part of the libstdc++ version 3 distribution. 71558Srgrimes## Process this file with automake to produce Makefile.in. 81558Srgrimes 91558Srgrimes## This file is part of the GNU ISO C++ Library. This library is free 101558Srgrimes## software; you can redistribute it and/or modify it under the 111558Srgrimes## terms of the GNU General Public License as published by the 121558Srgrimes## Free Software Foundation; either version 2, or (at your option) 131558Srgrimes## any later version. 141558Srgrimes 151558Srgrimes## This library is distributed in the hope that it will be useful, 161558Srgrimes## but WITHOUT ANY WARRANTY; without even the implied warranty of 171558Srgrimes## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 181558Srgrimes## GNU General Public License for more details. 191558Srgrimes 201558Srgrimes## You should have received a copy of the GNU General Public License along 211558Srgrimes## with this library; see the file COPYING. If not, write to the Free 221558Srgrimes## Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 231558Srgrimes## USA. 241558Srgrimes 251558Srgrimesinclude $(top_srcdir)/fragment.am 261558Srgrimes 271558Srgrimesif GLIBCXX_HOSTED 281558Srgrimes hosted_source = libmath src po testsuite 291558Srgrimesendif 301558Srgrimes## Keep this list sync'd with acinclude.m4:GLIBCXX_CONFIGURE. 311558SrgrimesSUBDIRS = include libsupc++ $(hosted_source) 321558Srgrimes 331558SrgrimesACLOCAL_AMFLAGS = -I . -I .. -I ../config 3437663Scharnier 351558Srgrimes# These rules are messy, but are hella worth it. 361558Srgrimesdoxygen: 372999Swollman -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \ 381558Srgrimes builddir=`${PWD_COMMAND}`; \ 39105267Scharnier ${SHELL} ${srcdir}/docs/doxygen/run_doxygen \ 401558Srgrimes --host_alias=${host_alias} \ 4137663Scharnier --mode=user $${srcdir} $${builddir}) 42105267Scharnier 4337663Scharnierdoxygen-maint: 441558Srgrimes -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \ 45105267Scharnier builddir=`${PWD_COMMAND}`; \ 46105267Scharnier ${SHELL} ${srcdir}/docs/doxygen/run_doxygen \ 47105267Scharnier --host_alias=${host_alias} \ 481558Srgrimes --mode=maint $${srcdir} $${builddir}) 49192934Srmacklem 50192934Srmacklemdoxygen-man: 51192934Srmacklem -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \ 521558Srgrimes builddir=`${PWD_COMMAND}`; \ 531558Srgrimes ${SHELL} ${srcdir}/docs/doxygen/run_doxygen \ 54192934Srmacklem --host_alias=${host_alias} \ 551558Srgrimes --mode=man $${srcdir} $${builddir}) 561558Srgrimes 571558Srgrimes.PHONY: doxygen doxygen-maint doxygen-man 58109363Smbr 591558Srgrimes# Handy forwarding targets. 6074462Salfredcheck-%: 6174462Salfred cd testsuite && $(MAKE) $@ 629336Sdfr 63192934Srmacklem# Multilib support. 6483653SpeterMAKEOVERRIDES= 651558Srgrimes 66192934Srmacklem# All the machinations with string instantiations messes up the 67192934Srmacklem# automake-generated TAGS rule. Make a simple one here. 681558SrgrimesTAGS: tags-recursive $(LISP) 691558Srgrimes 701558Srgrimes# Work around what appears to be a GNU make bug handling MAKEFLAGS 7137663Scharnier# values defined in terms of make variables, as is the case for CC and 721558Srgrimes# friends when we are called from the top level Makefile. 731558SrgrimesAM_MAKEFLAGS = \ 74149433Spjd "AR_FLAGS=$(AR_FLAGS)" \ 75103949Smike "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ 761558Srgrimes "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ 771558Srgrimes "CFLAGS=$(CFLAGS)" \ 781558Srgrimes "CXXFLAGS=$(CXXFLAGS)" \ 791558Srgrimes "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ 801558Srgrimes "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ 811558Srgrimes "INSTALL=$(INSTALL)" \ 821558Srgrimes "INSTALL_DATA=$(INSTALL_DATA)" \ 831558Srgrimes "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ 84158857Srodrigc "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ 851558Srgrimes "LDFLAGS=$(LDFLAGS)" \ 861558Srgrimes "LIBCFLAGS=$(LIBCFLAGS)" \ 871558Srgrimes "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ 881558Srgrimes "MAKE=$(MAKE)" \ 891558Srgrimes "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \ 901558Srgrimes "PICFLAG=$(PICFLAG)" \ 911558Srgrimes "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \ 921558Srgrimes "SHELL=$(SHELL)" \ 931558Srgrimes "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ 941558Srgrimes "exec_prefix=$(exec_prefix)" \ 95194880Sdfr "infodir=$(infodir)" \ 96194880Sdfr "libdir=$(libdir)" \ 971558Srgrimes "includedir=$(includedir)" \ 981558Srgrimes "prefix=$(prefix)" \ 991558Srgrimes "tooldir=$(tooldir)" \ 1001558Srgrimes "gxx_include_dir=$(gxx_include_dir)" \ 1011558Srgrimes "AR=$(AR)" \ 1021558Srgrimes "AS=$(AS)" \ 1031558Srgrimes "LD=$(LD)" \ 1041558Srgrimes "RANLIB=$(RANLIB)" \ 1051558Srgrimes "NM=$(NM)" \ 1061558Srgrimes "NM_FOR_BUILD=$(NM_FOR_BUILD)" \ 1071558Srgrimes "NM_FOR_TARGET=$(NM_FOR_TARGET)" \ 1089336Sdfr "DESTDIR=$(DESTDIR)" \ 1091558Srgrimes "WERROR=$(WERROR)" 1101558Srgrimes 1111558Srgrimes# Subdir rules rely on $(FLAGS_TO_PASS) 1121558SrgrimesFLAGS_TO_PASS = $(AM_MAKEFLAGS) 1131558Srgrimes 1141558Srgrimes# Installation of distribution html documentation not yet supported 1151558Srgrimes# TODO: Write custom install-html rule. 1161558Srgrimes.PHONY: install-html 11727447Sdfrinstall-html: 118184588Sdfr 119184588Sdfr