<commit_before>#-----------------------------------------------------------------------------
# $Id: Makefile,v 1.3 1996/12/19 09:13:55 simonpj Exp $

TOP = ../..
include $(TOP)/ghc/mk/ghc.mk

SUBDIRS = cbits
ifeq ($(IncludeTestDirsInBuild),YES)
  SUBDIRS += tests
endif

include $(TOP)/mk/subdir.mk

# per-build options: shared with runtime system
include ../mk/buildflags.mk

#-----------------------------------------------------------------------------
# libHS.a, in several different 'ways'

all ::
	@for i in $(WAY_SUFFIXES); do \
		echo; \
		echo =========== Making libraries for way $$i; \
		echo; \
		$(MAKE) -f Makefile.libHS suffix=$$i; \
	done

# Shortcut for typical case when testing: just make the "normal" version
libHS.a ::
	$(MAKE)  -f Makefile.libHS suffix=norm

install ::
	@for i in $(WAY_SUFFIXES); do \
		$(MAKE) -f Makefile.libHS suffix=$$i install; \
	done

clean ::
	@for i in $(WAY_SUFFIXES); do \
		$(MAKE) -f Makefile.libHS suffix=$$i clean; \
	done

# Dependencies are done by Makefile.libHS

depend ::
	@$(MAKE) -f Makefile.libHS depend


# install MODULES file

install ::
	$(INSTALL) $(INSTDATAFLAGS) MODULES $(INSTDATADIR_GHC)/imports
<commit_msg>[project @ 1997-01-07 13:19:38 by simonm] use ghc/mk/ways.mk.<commit_after>#-----------------------------------------------------------------------------
# $Id: Makefile,v 1.4 1997/01/07 13:19:38 simonm Exp $

TOP = ../..
include $(TOP)/ghc/mk/ghc.mk

SUBDIRS = cbits
ifeq ($(IncludeTestDirsInBuild),YES)
  SUBDIRS += tests
endif
include $(TOP)/mk/subdir.mk

# per-build options: shared with runtime system
include ../mk/buildflags.mk

MAKEFILE=Makefile.libHS
DESCR=libraries
include $(TOP)/ghc/mk/ways.mk

# Shortcut for typical case when testing: just make the "normal" version
# (simonm Todo: better way to do this?)
libHS.a ::
	$(MAKE)  -f Makefile.libHS suffix=norm

# install MODULES file

install ::
	$(INSTALL) $(INSTDATAFLAGS) MODULES $(INSTDATADIR_GHC)/imports

{'fraction_non_alphanumeric': 0.2551229508196721, 'fraction_numerical': 0.0235655737704918, 'mean_word_length': 2.3556701030927836, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7272383', 'n_tokens_mistral': 715, 'n_tokens_neox': 662, 'n_words': 179}