Author: sebor Date: Mon Aug 13 18:34:52 2007 New Revision: 565603 URL: http://svn.apache.org/viewvc?view=rev&rev=565603 Log: 2007-08-14 Martin Sebor * GNUmakefile.exm: Added Apache license header and a Rogue Wave copyright statement. * GNUmakefile.exm: Same. * GNUmakefile.cfg: Same. * GNUmakefile.lib: Same. * GNUmakefile.ph: Same. * GNUmakefile.bin: Same. * GNUmakefile.tst: Same. * GNUmakefile.rwt: Same. * makefile.common: Same. * makefile.rules: Same. (makedep): Replaced a TAB with spaces. Modified: incubator/stdcxx/trunk/etc/config/GNUmakefile.bin incubator/stdcxx/trunk/etc/config/GNUmakefile.cfg incubator/stdcxx/trunk/etc/config/GNUmakefile.exm incubator/stdcxx/trunk/etc/config/GNUmakefile.lib incubator/stdcxx/trunk/etc/config/GNUmakefile.ph incubator/stdcxx/trunk/etc/config/GNUmakefile.rwt incubator/stdcxx/trunk/etc/config/GNUmakefile.tst incubator/stdcxx/trunk/etc/config/makefile.common incubator/stdcxx/trunk/etc/config/makefile.rules Modified: incubator/stdcxx/trunk/etc/config/GNUmakefile.bin URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/GNUmakefile.bin?view=diff&rev=565603&r1=565602&r2=565603 ============================================================================== --- incubator/stdcxx/trunk/etc/config/GNUmakefile.bin (original) +++ incubator/stdcxx/trunk/etc/config/GNUmakefile.bin Mon Aug 13 18:34:52 2007 @@ -4,7 +4,27 @@ # # makefile to build the C++ Standard library utility programs # -############################################################################## +######################################################################## +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# +######################################################################## include ../makefile.in @@ -54,9 +74,10 @@ LDFLAGS += $(RPATH)$(LIBDIR) endif -############################################################################## +######################################################################## # TARGETS -############################################################################## +######################################################################## + all: $(LIBDIR)/$(LIBNAME) $(TARGET) $(RUNTARGET) $(LIBDIR)/$(LIBNAME): Modified: incubator/stdcxx/trunk/etc/config/GNUmakefile.cfg URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/GNUmakefile.cfg?view=diff&rev=565603&r1=565602&r2=565603 ============================================================================== --- incubator/stdcxx/trunk/etc/config/GNUmakefile.cfg (original) +++ incubator/stdcxx/trunk/etc/config/GNUmakefile.cfg Mon Aug 13 18:34:52 2007 @@ -4,7 +4,27 @@ # # makefile to configure the C++ Standard library # -############################################################################## +######################################################################## +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# +######################################################################## # # Creates a C++ header file, config.h, containing a list of (possibly # commented out) preprocessor #defines in the form _RWSTD_NO_XXX, @@ -32,7 +52,7 @@ # Any output produced by the executable XXX obtained by compiling and # linking XXX.cpp is appended to the end of config.h. # -############################################################################## +######################################################################## include ../makefile.in @@ -130,9 +150,9 @@ $(AR) $(ARFLAGS) $(1) $(2) >>$(LOGFILE) endef -############################################################################## +######################################################################## # TARGETS -############################################################################## +######################################################################## all: config.h @@ -326,9 +346,9 @@ .PHONY: all clean config configure c_headers listtarget realclean run -############################################################################## +######################################################################## # COMMON RULES -############################################################################## +######################################################################## #empty rule for .cc files so they won't be separately compiled %: %.cc ; Modified: incubator/stdcxx/trunk/etc/config/GNUmakefile.exm URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/GNUmakefile.exm?view=diff&rev=565603&r1=565602&r2=565603 ============================================================================== --- incubator/stdcxx/trunk/etc/config/GNUmakefile.exm (original) +++ incubator/stdcxx/trunk/etc/config/GNUmakefile.exm Mon Aug 13 18:34:52 2007 @@ -4,7 +4,27 @@ # # makefile to build the C++ Standard library examples # -############################################################################## +######################################################################## +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# +######################################################################## include ../makefile.in @@ -29,9 +49,9 @@ LDFLAGS += $(RPATH)$(LIBDIR) endif -############################################################################## +######################################################################## # TARGETS -############################################################################## +######################################################################## .SUFFIXES: Modified: incubator/stdcxx/trunk/etc/config/GNUmakefile.lib URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/GNUmakefile.lib?view=diff&rev=565603&r1=565602&r2=565603 ============================================================================== --- incubator/stdcxx/trunk/etc/config/GNUmakefile.lib (original) +++ incubator/stdcxx/trunk/etc/config/GNUmakefile.lib Mon Aug 13 18:34:52 2007 @@ -4,8 +4,27 @@ # # makefile to build the C++ Standard library # -############################################################################## - +######################################################################## +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# +######################################################################## include ../makefile.in @@ -62,9 +81,9 @@ CXXPRELINK = $(CXX) $(CPPFLAGS) $(LDFLAGS) $(PRELINKFLAGS) $(OBJS) endif # ($(PRELINKFLAGS),) -############################################################################## +######################################################################## # TARGETS -############################################################################## +######################################################################## # Cancel implicit rules .SUFFIXES: Modified: incubator/stdcxx/trunk/etc/config/GNUmakefile.ph URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/GNUmakefile.ph?view=diff&rev=565603&r1=565602&r2=565603 ============================================================================== --- incubator/stdcxx/trunk/etc/config/GNUmakefile.ph (original) +++ incubator/stdcxx/trunk/etc/config/GNUmakefile.ph Mon Aug 13 18:34:52 2007 @@ -1,16 +1,35 @@ # -*- Makefile -*- -############################################################################## # # $Id$ # -############################################################################## +######################################################################## +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# +######################################################################## include ../makefile.in -######################################################### +######################################################################## # if PHDIR isn't set, don't try to build anything -######################################################### +######################################################################## ifeq ($(PHDIR),) all: .DEFAULT @@ -21,9 +40,9 @@ .DEFAULT: @echo "PHDIR not set; skipping Plum Hall tests" -######################################################### +######################################################################## # end of makefile if PHDIR isn't set -######################################################### +######################################################################## else # ifneq ($(PHDIR),) @@ -51,9 +70,9 @@ LDFLAGS += $(RPATH)$(LIBDIR) endif -############################################################################## +######################################################################## # TARGETS -############################################################################## +######################################################################## # first try to build all tests, then build subtests for # those tests that didn't compile Modified: incubator/stdcxx/trunk/etc/config/GNUmakefile.rwt URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/GNUmakefile.rwt?view=diff&rev=565603&r1=565602&r2=565603 ============================================================================== --- incubator/stdcxx/trunk/etc/config/GNUmakefile.rwt (original) +++ incubator/stdcxx/trunk/etc/config/GNUmakefile.rwt Mon Aug 13 18:34:52 2007 @@ -2,7 +2,27 @@ # # $Id$ # -############################################################################## +######################################################################## +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# +######################################################################## # # Usage: # @@ -11,7 +31,7 @@ # To make all tests uder $(TOPDIR)/tests. Will generate a .d file # an place in the directory $(DEPENDDIR) for every source file. # -############################################################################## +######################################################################## # Generated when make is run in TOPDIR include ../makefile.in @@ -55,9 +75,9 @@ LDFLAGS += $(RPATH)$(LIBDIR) endif -############################################################################## +######################################################################## # TARGETS -############################################################################## +######################################################################## all: $(RWTESTLIB) Modified: incubator/stdcxx/trunk/etc/config/GNUmakefile.tst URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/GNUmakefile.tst?view=diff&rev=565603&r1=565602&r2=565603 ============================================================================== --- incubator/stdcxx/trunk/etc/config/GNUmakefile.tst (original) +++ incubator/stdcxx/trunk/etc/config/GNUmakefile.tst Mon Aug 13 18:34:52 2007 @@ -2,7 +2,27 @@ # # $Id$ # -############################################################################## +######################################################################## +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# +######################################################################## # # Usage: # @@ -26,7 +46,7 @@ # Same as above, but considerably faster since SRCS doesn't have to be # found in $(TOPDIR)/tests, and only the necessary .d files are included. # -############################################################################## +######################################################################## include ../makefile.in @@ -74,9 +94,9 @@ # No test should use more than 1 GB of memory (See STDCXX-440). # The magic number 1073741824 is 1 GB in bytes. -############################################################################## +######################################################################## # TARGETS -############################################################################## +######################################################################## all: $(TARGET) Modified: incubator/stdcxx/trunk/etc/config/makefile.common URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/makefile.common?view=diff&rev=565603&r1=565602&r2=565603 ============================================================================== --- incubator/stdcxx/trunk/etc/config/makefile.common (original) +++ incubator/stdcxx/trunk/etc/config/makefile.common Mon Aug 13 18:34:52 2007 @@ -4,7 +4,27 @@ # # common makefile definitions shared by all GNUmakefile.* # -############################################################################## +######################################################################## +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# +######################################################################## SHELL = /bin/sh Modified: incubator/stdcxx/trunk/etc/config/makefile.rules URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/makefile.rules?view=diff&rev=565603&r1=565602&r2=565603 ============================================================================== --- incubator/stdcxx/trunk/etc/config/makefile.rules (original) +++ incubator/stdcxx/trunk/etc/config/makefile.rules Mon Aug 13 18:34:52 2007 @@ -4,6 +4,28 @@ # # common makefile rules shared by all GNUmakefile.* # +######################################################################## +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# +######################################################################## +# # Running tests: # -------------- # $ make [run | runall | run_all] [target] [target]... ; @@ -13,7 +35,7 @@ # runs all the tests producing a complete report # # -############################################################################## +######################################################################## clean: cleantarget rm -rf a.out core *.o *.i *.ii *.ti *.sh *.sta *.out \ @@ -48,9 +70,9 @@ gencat $@ $^ -############################################################################## +######################################################################## # COMMON RULES -############################################################################## +######################################################################## ifeq ($(NO_DOT_O),) @@ -182,7 +204,7 @@ s:$$RWTSRCDIR:$$""(TOPDIR)/\.\./rwtest:gp; \ s:$(TOPDIR):$$""(TOPDIR):gp; \ s:$(BUILDDIR):$$""(BUILDDIR):gp" ; \ - depflags="$(value DEPENDFLAGS$(depsuffix))"; \ + depflags="$(value DEPENDFLAGS$(depsuffix))"; \ [ "$$depflags" = "" ] && depflags=$(DEPENDFLAGS); \ echo "$(CXX) $$depflags $(CPPFLAGS) $(CXXFLAGS) $<"; \ $(CXX) $$depflags $(CPPFLAGS) $(CXXFLAGS) $< \