<commit_before>#
# Makefile: builds Chapel compiler
#

COMPILER_ROOT=.
COMPILER_SUBDIR = .



#
# subdirectories and false subdirectory-oriented targets to force recursion
#
SUBDIRS = \
	AST \
	adt \
	analysis \
	backend \
	main \
	parser \
	passes \
	symtab \
	test \
	traversals \
	util \

#
# include standard header for compiler
#
include $(COMPILER_ROOT)/make/Makefile.compiler.head


#
# include source subdirectories here
#
include AST/Makefile.include
include adt/Makefile.include
include analysis/Makefile.include
include backend/Makefile.include
include main/Makefile.include
include parser/Makefile.include
include passes/Makefile.include
include symtab/Makefile.include
include traversals/Makefile.include
include util/Makefile.include

CVS_SRCS = 

CHPL = chpl$(CHPL_MUNGE)$(EXE_SUFFIX)
CHPL_OBJS = \
	$(AST_OBJS) \
	$(ADT_OBJS) \
	$(ANALYSIS_OBJS) \
	$(BACKEND_OBJS) \
	$(MAIN_OBJS) \
	$(PARSER_OBJS) \
	$(PASSES_OBJS) \
	$(SYMTAB_OBJS) \
	$(TRAVERSALS_OBJS) \
	$(UTIL_OBJS) \

EXECS = $(CHPL)

TARGETS = $(CHPL)


#
# main rules
#

include $(COMPILER_ROOT)/make/Makefile.compiler.subdirrules


#
# target-based rules
#

$(CHPL): $(PLATFORM)/$(CHPL)
	cp -f $< $@

$(PLATFORM)/$(CHPL): $(PLATFORM_DIR) $(CHPL_OBJS)
	$(CXX) $(LDFLAGS) -o $@ $(CHPL_OBJS) $(LIBS)
	@echo "Updating TAGS..."
	@etags 	$(D_PARSER_SRC_DIR)/*.h $(D_PARSER_SRC_DIR)/*.c \
		$(GC_SRC_DIR)/*.h $(GC_SRC_DIR)/*.c \
		$(GC_SRC_DIR)/*/*.h $(GC_SRC_DIR)/*/*.c \
		$(ALL_SRCS) */*.h
	-@(which ebrowse > /dev/null 2>&1 && echo "Updating BROWSE..." && ebrowse $(ALL_SRCS) */*.h) || echo "ebrowse not available"


#
# include standard footer for compiler
#
include $(COMPILER_ROOT)/make/Makefile.compiler.foot<commit_msg>Remove DParser from TAGS building<commit_after>#
# Makefile: builds Chapel compiler
#

COMPILER_ROOT=.
COMPILER_SUBDIR = .



#
# subdirectories and false subdirectory-oriented targets to force recursion
#
SUBDIRS = \
	AST \
	adt \
	analysis \
	backend \
	main \
	parser \
	passes \
	symtab \
	test \
	traversals \
	util \

#
# include standard header for compiler
#
include $(COMPILER_ROOT)/make/Makefile.compiler.head


#
# include source subdirectories here
#
include AST/Makefile.include
include adt/Makefile.include
include analysis/Makefile.include
include backend/Makefile.include
include main/Makefile.include
include parser/Makefile.include
include passes/Makefile.include
include symtab/Makefile.include
include traversals/Makefile.include
include util/Makefile.include

CVS_SRCS = 

CHPL = chpl$(CHPL_MUNGE)$(EXE_SUFFIX)
CHPL_OBJS = \
	$(AST_OBJS) \
	$(ADT_OBJS) \
	$(ANALYSIS_OBJS) \
	$(BACKEND_OBJS) \
	$(MAIN_OBJS) \
	$(PARSER_OBJS) \
	$(PASSES_OBJS) \
	$(SYMTAB_OBJS) \
	$(TRAVERSALS_OBJS) \
	$(UTIL_OBJS) \

EXECS = $(CHPL)

TARGETS = $(CHPL)


#
# main rules
#

include $(COMPILER_ROOT)/make/Makefile.compiler.subdirrules


#
# target-based rules
#

$(CHPL): $(PLATFORM)/$(CHPL)
	cp -f $< $@

$(PLATFORM)/$(CHPL): $(PLATFORM_DIR) $(CHPL_OBJS)
	$(CXX) $(LDFLAGS) -o $@ $(CHPL_OBJS) $(LIBS)
	@echo "Updating TAGS..."
	@etags 	$(GC_SRC_DIR)/*.h $(GC_SRC_DIR)/*.c \
		$(GC_SRC_DIR)/*/*.h $(GC_SRC_DIR)/*/*.c \
		$(ALL_SRCS) */*.h
	-@(which ebrowse > /dev/null 2>&1 && echo "Updating BROWSE..." && ebrowse $(ALL_SRCS) */*.h) || echo "ebrowse not available"


#
# include standard footer for compiler
#
include $(COMPILER_ROOT)/make/Makefile.compiler.foot
{'fraction_non_alphanumeric': 0.15903686087990487, 'fraction_numerical': 0.0011890606420927466, 'mean_word_length': 4.075414781297134, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5785373', 'n_tokens_mistral': 1398, 'n_tokens_neox': 1349, 'n_words': 255}