diff --git a/frontend/Makefile.include b/frontend/Makefile.include deleted file mode 100644 index f8ba3c892315..000000000000 --- a/frontend/Makefile.include +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -# Set CHPL_DEVELOPER to 0 if it is not set yet -CHPL_DEVELOPER ?= 0 -# set DYNO_ENABLE_ASSERTIONS to 0 if it is not set yet -DYNO_ENABLE_ASSERTIONS ?= 0 - -ifeq ($(CHPL_DEVELOPER), 0) - ifeq ($(DYNO_ENABLE_ASSERTIONS), 0) - LIB_CMAKE_ARG := -DCMAKE_BUILD_TYPE=Release - LIBCOMPILER_BUILD_DIR := $(COMPILER_BUILD)/frontend/Release - else - LIB_CMAKE_ARG := -DCMAKE_BUILD_TYPE=Release -DDYNO_ENABLE_ASSERTIONS=ON - LIBCOMPILER_BUILD_DIR := $(COMPILER_BUILD)/frontend/ReleaseWithAsserts - endif -else - LIB_CMAKE_ARG := -DCMAKE_BUILD_TYPE=Debug - LIBCOMPILER_BUILD_DIR := $(COMPILER_BUILD)/frontend/Debug -endif diff --git a/frontend/lib/framework/Makefile b/frontend/lib/framework/Makefile deleted file mode 100644 index dac4c042bbdf..000000000000 --- a/frontend/lib/framework/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -ifndef CHPL_MAKE_HOME -export CHPL_MAKE_HOME=$(shell pwd)/../../.. -endif - -COMPILER_ROOT = ../../../compiler -COMPILER_SUBDIR = frontend/lib/framework - -# -# standard header -# -include $(COMPILER_ROOT)/make/Makefile.compiler.head - -include Makefile.include - -TARGETS = $(FRONTEND_FRAMEWORK_OBJS) - -include $(COMPILER_ROOT)/make/Makefile.compiler.subdirrules - -FORCE: - -# -# standard footer -# -include $(COMPILER_ROOT)/make/Makefile.compiler.foot diff --git a/frontend/lib/framework/Makefile.include b/frontend/lib/framework/Makefile.include deleted file mode 100644 index 3074e82de9f2..000000000000 --- a/frontend/lib/framework/Makefile.include +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -FRONTEND_FRAMEWORK_OBJDIR = $(COMPILER_BUILD)/frontend/lib/framework - -ALL_SRCS += ../frontend/lib/framework/*.cpp - -FRONTEND_FRAMEWORK_SRCS = \ - compiler-configuration.cpp \ - Context.cpp \ - ErrorBase.cpp \ - error-classes-list.cpp \ - ErrorMessage.cpp \ - ErrorWriter.cpp \ - ID.cpp \ - Location.cpp \ - UniqueString.cpp \ - - -SRCS = $(FRONTEND_FRAMEWORK_SRCS) - -FRONTEND_FRAMEWORK_OBJS = \ - $(FRONTEND_FRAMEWORK_SRCS:%.cpp=$(FRONTEND_FRAMEWORK_OBJDIR)/%.$(OBJ_SUFFIX)) diff --git a/frontend/lib/immediates/Makefile b/frontend/lib/immediates/Makefile deleted file mode 100644 index a3fccf935e1f..000000000000 --- a/frontend/lib/immediates/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -ifndef CHPL_MAKE_HOME -export CHPL_MAKE_HOME=$(shell pwd)/../../.. -endif - -COMPILER_ROOT = ../../../compiler -COMPILER_SUBDIR = frontend/lib/immediates - -# -# standard header -# -include $(COMPILER_ROOT)/make/Makefile.compiler.head - -include Makefile.include - -TARGETS = $(FRONTEND_IMMEDIATES_OBJS) - -include $(COMPILER_ROOT)/make/Makefile.compiler.subdirrules - -FORCE: - -# -# standard footer -# -include $(COMPILER_ROOT)/make/Makefile.compiler.foot diff --git a/frontend/lib/immediates/Makefile.include b/frontend/lib/immediates/Makefile.include deleted file mode 100644 index 837669f4b39d..000000000000 --- a/frontend/lib/immediates/Makefile.include +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -FRONTEND_IMMEDIATES_OBJDIR = $(COMPILER_BUILD)/frontend/lib/immediates - -ALL_SRCS += ../frontend/lib/immediates/*.h ../frontend/lib/immediates/*.cpp - -FRONTEND_IMMEDIATES_SRCS = \ - ifa_vars.cpp \ - hash_multipliers.cpp \ - num.cpp \ - -SRCS = $(FRONTEND_IMMEDIATES_SRCS) - -FRONTEND_IMMEDIATES_OBJS = \ - $(FRONTEND_IMMEDIATES_SRCS:%.cpp=$(FRONTEND_IMMEDIATES_OBJDIR)/%.$(OBJ_SUFFIX)) diff --git a/frontend/lib/immediates/make_prims/Makefile b/frontend/lib/immediates/make_prims/Makefile deleted file mode 100644 index e13c8b53018f..000000000000 --- a/frontend/lib/immediates/make_prims/Makefile +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -# -# Makefile: builds stuff related to make_prims -# - -COMPILER_ROOT = ../.. -COMPILER_SUBDIR = ifa/make_prims - -# -# standard header -# -include $(COMPILER_ROOT)/make/Makefile.compiler.head - - -# -# make_prims-specific variables -# - -MAKE_PRIMS = make_prims$(EXE_SUFFIX) -MAKE_PRIMS_SRCS = \ - make_prims.cpp -MAKE_PRIMS_OBJS = $(MAKE_PRIMS_SRCS:%.cpp=$(OBJ_SUBDIR)/%.o) - - -# -# standard subdirectory variables -# - -SRCS = $(MAKE_PRIMS_SRCS) -EXECS = $(MAKE_PRIMS) - - -# -# rules -# - -TARGETS = $(MAKE_PRIMS) - -include $(COMPILER_ROOT)/make/Makefile.compiler.subdirrules - - -# -# target-specific rules -# - -$(MAKE_PRIMS): $(CHPL_MAKE_PLATFORM)/$(MAKE_PRIMS) - cp -f $< $@ - -$(CHPL_MAKE_PLATFORM)/$(MAKE_PRIMS): $(MAKE_PRIMS_OBJS) - $(CXX) $(LDFLAGS) -o $@ $^ $(LIBS) - - -# -# standard footer -# -include $(COMPILER_ROOT)/make/Makefile.compiler.foot diff --git a/frontend/lib/parsing/Makefile b/frontend/lib/parsing/Makefile deleted file mode 100644 index db396c00d9b6..000000000000 --- a/frontend/lib/parsing/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -ifndef CHPL_MAKE_HOME -export CHPL_MAKE_HOME=$(shell pwd)/../../.. -endif - -COMPILER_ROOT = ../../../compiler -COMPILER_SUBDIR = frontend/lib/parsing - -# -# standard header -# -include $(COMPILER_ROOT)/make/Makefile.compiler.head - -include Makefile.include - -TARGETS = $(FRONTEND_PARSING_OBJS) - -include $(COMPILER_ROOT)/make/Makefile.compiler.subdirrules - -FORCE: - -# -# standard footer -# -include $(COMPILER_ROOT)/make/Makefile.compiler.foot diff --git a/frontend/lib/parsing/Makefile.include b/frontend/lib/parsing/Makefile.include deleted file mode 100644 index 1b36b380cc95..000000000000 --- a/frontend/lib/parsing/Makefile.include +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -FRONTEND_PARSING_OBJDIR = $(COMPILER_BUILD)/frontend/lib/parsing - -ALL_SRCS += ../frontend/lib/parsing/*.h ../frontend/lib/parsing/*.cpp - -FRONTEND_PARSING_SRCS = \ - bison-chpl-lib.cpp \ - flex-chpl-lib.cpp \ - parsing-queries.cpp \ - Parser.cpp \ - parser-stats.cpp \ - - -SRCS = $(FRONTEND_PARSING_SRCS) - -FRONTEND_PARSING_OBJS = \ - $(FRONTEND_PARSING_SRCS:%.cpp=$(FRONTEND_PARSING_OBJDIR)/%.$(OBJ_SUFFIX)) diff --git a/frontend/lib/resolution/Makefile b/frontend/lib/resolution/Makefile deleted file mode 100644 index 75ea601dfbe1..000000000000 --- a/frontend/lib/resolution/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -ifndef CHPL_MAKE_HOME -export CHPL_MAKE_HOME=$(shell pwd)/../../.. -endif - -COMPILER_ROOT = ../../../compiler -COMPILER_SUBDIR = frontend/lib/resolution - -# -# standard header -# -include $(COMPILER_ROOT)/make/Makefile.compiler.head - -include Makefile.include - -TARGETS = $(FRONTEND_RESOLUTION_OBJS) - -include $(COMPILER_ROOT)/make/Makefile.compiler.subdirrules - -FORCE: - -# -# standard footer -# -include $(COMPILER_ROOT)/make/Makefile.compiler.foot diff --git a/frontend/lib/resolution/Makefile.include b/frontend/lib/resolution/Makefile.include deleted file mode 100644 index 99e3a9c0afb7..000000000000 --- a/frontend/lib/resolution/Makefile.include +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -FRONTEND_RESOLUTION_OBJDIR = $(COMPILER_BUILD)/frontend/lib/resolution - -ALL_SRCS += ../frontend/lib/resolution/*.h ../frontend/lib/resolution/*.cpp - -FRONTEND_RESOLUTION_SRCS = \ - Resolver.cpp \ - call-init-deinit.cpp \ - can-pass.cpp \ - signature-checks.cpp \ - copy-elision.cpp \ - default-functions.cpp \ - disambiguation.cpp \ - InitResolver.cpp \ - intents.cpp \ - prims.cpp \ - resolution-queries.cpp \ - resolution-types.cpp \ - return-type-inference.cpp \ - scope-queries.cpp \ - scope-types.cpp \ - split-init.cpp \ - VarScopeVisitor.cpp \ - - -SRCS = $(FRONTEND_RESOLUTION_SRCS) - -FRONTEND_RESOLUTION_OBJS = \ - $(FRONTEND_RESOLUTION_SRCS:%.cpp=$(FRONTEND_RESOLUTION_OBJDIR)/%.$(OBJ_SUFFIX)) diff --git a/frontend/lib/types/Makefile b/frontend/lib/types/Makefile deleted file mode 100644 index 97f7849b52e7..000000000000 --- a/frontend/lib/types/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -ifndef CHPL_MAKE_HOME -export CHPL_MAKE_HOME=$(shell pwd)/../../.. -endif - -COMPILER_ROOT = ../../../compiler -COMPILER_SUBDIR = frontend/lib/types - -# -# standard header -# -include $(COMPILER_ROOT)/make/Makefile.compiler.head - -include Makefile.include - -TARGETS = $(FRONTEND_TYPES_OBJS) - -include $(COMPILER_ROOT)/make/Makefile.compiler.subdirrules - -FORCE: - -# -# standard footer -# -include $(COMPILER_ROOT)/make/Makefile.compiler.foot diff --git a/frontend/lib/types/Makefile.include b/frontend/lib/types/Makefile.include deleted file mode 100644 index e0866acc0b77..000000000000 --- a/frontend/lib/types/Makefile.include +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -FRONTEND_TYPES_OBJDIR = $(COMPILER_BUILD)/frontend/lib/types - -ALL_SRCS += ../frontend/lib/types/*.cpp - -FRONTEND_TYPES_SRCS = \ - AnyType.cpp \ - ArrayType.cpp \ - BasicClassType.cpp \ - BoolType.cpp \ - BuiltinType.cpp \ - CStringType.cpp \ - ClassType.cpp \ - ClassTypeDecorator.cpp \ - ComplexType.cpp \ - CompositeType.cpp \ - DomainType.cpp \ - EnumType.cpp \ - ErroneousType.cpp \ - ImagType.cpp \ - IntType.cpp \ - NilType.cpp \ - NothingType.cpp \ - Param.cpp \ - PrimitiveType.cpp \ - QualifiedType.cpp \ - RealType.cpp \ - RecordType.cpp \ - TupleType.cpp \ - Type.cpp \ - TypeTag.cpp \ - UintType.cpp \ - UnionType.cpp \ - UnknownType.cpp \ - VoidType.cpp \ - - -SRCS = $(FRONTEND_TYPES_SRCS) - -FRONTEND_TYPES_OBJS = \ - $(FRONTEND_TYPES_SRCS:%.cpp=$(FRONTEND_TYPES_OBJDIR)/%.$(OBJ_SUFFIX)) diff --git a/frontend/lib/uast/Makefile b/frontend/lib/uast/Makefile deleted file mode 100644 index ad3e60241b30..000000000000 --- a/frontend/lib/uast/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -ifndef CHPL_MAKE_HOME -export CHPL_MAKE_HOME=$(shell pwd)/../../.. -endif - -COMPILER_ROOT = ../../../compiler -COMPILER_SUBDIR = frontend/lib/uast - -# -# standard header -# -include $(COMPILER_ROOT)/make/Makefile.compiler.head - -include Makefile.include - -TARGETS = $(FRONTEND_UAST_OBJS) - -include $(COMPILER_ROOT)/make/Makefile.compiler.subdirrules - -FORCE: - -# -# standard footer -# -include $(COMPILER_ROOT)/make/Makefile.compiler.foot diff --git a/frontend/lib/uast/Makefile.include b/frontend/lib/uast/Makefile.include deleted file mode 100644 index f189c9d98d6a..000000000000 --- a/frontend/lib/uast/Makefile.include +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -FRONTEND_UAST_OBJDIR = $(COMPILER_BUILD)/frontend/lib/uast - -ALL_SRCS += ../frontend/lib/uast/*.cpp - -FRONTEND_UAST_SRCS = \ - AggregateDecl.cpp \ - AnonFormal.cpp \ - Array.cpp \ - AstList.cpp \ - AstNode.cpp \ - AstTag.cpp \ - As.cpp \ - AttributeGroup.cpp \ - Begin.cpp \ - Block.cpp \ - BoolLiteral.cpp \ - BracketLoop.cpp \ - Break.cpp \ - Builder.cpp \ - BuilderResult.cpp \ - BytesLiteral.cpp \ - Call.cpp \ - Catch.cpp \ - chpl-syntax-printer.cpp \ - Class.cpp \ - Cobegin.cpp \ - Coforall.cpp \ - Comment.cpp \ - Conditional.cpp \ - Continue.cpp \ - CStringLiteral.cpp \ - Decl.cpp \ - Defer.cpp \ - Delete.cpp \ - Domain.cpp \ - Dot.cpp \ - DoWhile.cpp \ - EmptyStmt.cpp \ - Enum.cpp \ - EnumElement.cpp \ - ErroneousExpression.cpp \ - ExternBlock.cpp \ - FnCall.cpp \ - For.cpp \ - Forall.cpp \ - Foreach.cpp \ - Formal.cpp \ - ForwardingDecl.cpp \ - Function.cpp \ - FunctionSignature.cpp \ - Identifier.cpp \ - ImagLiteral.cpp \ - Implements.cpp \ - Import.cpp \ - Include.cpp \ - IndexableLoop.cpp \ - IntLiteral.cpp \ - Interface.cpp \ - Label.cpp \ - Let.cpp \ - Literal.cpp \ - Local.cpp \ - Loop.cpp \ - Manage.cpp \ - Module.cpp \ - MultiDecl.cpp \ - NamedDecl.cpp \ - New.cpp \ - NumericLiteral.cpp \ - On.cpp \ - OpCall.cpp \ - post-parse-checks.cpp \ - Pragma.cpp \ - PrimCall.cpp \ - PrimOp.cpp \ - Qualifier.cpp \ - Range.cpp \ - RealLiteral.cpp \ - Record.cpp \ - Reduce.cpp \ - ReduceIntent.cpp \ - Require.cpp \ - Return.cpp \ - Scan.cpp \ - Select.cpp \ - Serial.cpp \ - SimpleBlockLike.cpp \ - StringLikeLiteral.cpp \ - StringLiteral.cpp \ - Sync.cpp \ - TaskVar.cpp \ - Throw.cpp \ - Try.cpp \ - Tuple.cpp \ - TupleDecl.cpp \ - TypeDecl.cpp \ - TypeQuery.cpp \ - UintLiteral.cpp \ - Use.cpp \ - Union.cpp \ - VarArgFormal.cpp \ - Variable.cpp \ - VarLikeDecl.cpp \ - VisibilityClause.cpp \ - When.cpp \ - While.cpp \ - WithClause.cpp \ - Yield.cpp \ - Zip.cpp \ - - -SRCS = $(FRONTEND_UAST_SRCS) - -FRONTEND_UAST_OBJS = \ - $(FRONTEND_UAST_SRCS:%.cpp=$(FRONTEND_UAST_OBJDIR)/%.$(OBJ_SUFFIX)) diff --git a/frontend/lib/util/Makefile b/frontend/lib/util/Makefile deleted file mode 100644 index fe2af870da8e..000000000000 --- a/frontend/lib/util/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -ifndef CHPL_MAKE_HOME -export CHPL_MAKE_HOME=$(shell pwd)/../../.. -endif - -COMPILER_ROOT = ../../../compiler -COMPILER_SUBDIR = frontend/lib/util - -# -# standard header -# -include $(COMPILER_ROOT)/make/Makefile.compiler.head - -include Makefile.include - -TARGETS = $(FRONTEND_UTIL_OBJS) - -include $(COMPILER_ROOT)/make/Makefile.compiler.subdirrules - -$(FRONTEND_UTIL_OBJDIR)/my_aligned_alloc.o: my_aligned_alloc.c $(OBJ_SUBDIR_MADE) - $(CC) -c $(COMP_CFLAGS) -DCOMPILER_SUBDIR=$(COMPILER_SUBDIR) -o $@ $< - -$(FRONTEND_UTIL_OBJDIR)/my_strerror_r.o: my_strerror_r.c $(OBJ_SUBDIR_MADE) - $(CC) -c $(COMP_CFLAGS) -DCOMPILER_SUBDIR=$(COMPILER_SUBDIR) -o $@ $< - -FORCE: - -# -# standard footer -# -include $(COMPILER_ROOT)/make/Makefile.compiler.foot diff --git a/frontend/lib/util/Makefile.include b/frontend/lib/util/Makefile.include deleted file mode 100644 index a2f25369ab4a..000000000000 --- a/frontend/lib/util/Makefile.include +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2020-2024 Hewlett Packard Enterprise Development LP -# Copyright 2004-2019 Cray Inc. -# Other additional copyright holders may be indicated within. -# -# The entirety of this work is licensed 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. - -FRONTEND_UTIL_OBJDIR = $(COMPILER_BUILD)/frontend/lib/util - -ALL_SRCS += ../frontend/lib/util/*.h ../frontend/lib/util/*.cpp - - -FRONTEND_UTIL_SRCS = \ - assertions.cpp \ - bitmap.cpp \ - break.cpp \ - chplenv.cpp \ - filesystem.cpp \ - printf.cpp \ - string-escapes.cpp \ - string-utils.cpp \ - subprocess.cpp \ - terminal.cpp \ - - -SRCS = $(FRONTEND_UTIL_SRCS) my_aligned_alloc.c my_strerror_r.c - -FRONTEND_UTIL_OBJS = \ - $(FRONTEND_UTIL_SRCS:%.cpp=$(FRONTEND_UTIL_OBJDIR)/%.$(OBJ_SUFFIX)) \ - $(FRONTEND_UTIL_OBJDIR)/my_aligned_alloc.o \ - $(FRONTEND_UTIL_OBJDIR)/my_strerror_r.o \