<commit_before># $Id: Makefile,v 1.21 2000/07/04 09:33:43 simonmar Exp $

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

WAYS=$(GhcLibWays)

ifeq "$(filter dll,$(WAYS))" "dll"
override WAYS=dll
else
override WAYS=
endif

LIBRARY=libHSstd_cbits$(_way).a

C_SRCS= $(wildcard *.c)

C_OBJS  = $(C_SRCS:.c=.$(way_)o)
LIBOBJS = $(C_OBJS)
SRC_CC_OPTS += -O -I$(GHC_INCLUDE_DIR) -I$(GHC_RUNTIME_DIR) $(GhcLibCcOpts) -Wall

ifneq "$(way)" "dll"
SRC_CC_OPTS += -static
endif

ifeq "$(way)" "dll"
all :: DllVersionInfo.o

$(DLL_NAME) : DllVersionInfo.o
endif

DLL_NAME = HSstd_cbits.dll
DLL_IMPLIB_NAME = libHSstd_cbits_imp.a
DLL_DESCRIPTION = "Haskell Prelude helpers"
SRC_BLD_DLL_OPTS += --export-all --output-def=HSstdcbits.def DllVersionInfo.o
SRC_BLD_DLL_OPTS += -lwinmm -lwsock32 -lHSrts_imp -lgmp -L. -L../../../rts/gmp -L../../../rts

#
# Compile the files using the Haskell compiler (ghc really).
# 
CC=$(GHC_INPLACE)

# -----------------------------------------------------------------------------
# Installation

INSTALL_LIBS+=$(LIBRARY)

ifeq "$(EnableWin32DLLs)" "YES"
INSTALL_PROGS  += $(DLL_NAME)
ifneq "$(way)" "dll"
INSTALL_LIBS += $(patsubst %.a, %_imp.a, $(LIBRARY))
endif
endif

include $(TOP)/mk/target.mk<commit_msg>[project @ 2000-07-09 16:06:28 by panne] Install HsStd.h, stgio.h, stgerror.h, and fileObject.h, too. Hmmm, this looks not particularly nice, perhaps we should merge those into a single HsStd.h some day.<commit_after># $Id: Makefile,v 1.22 2000/07/09 16:06:28 panne Exp $

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

WAYS=$(GhcLibWays)

ifeq "$(filter dll,$(WAYS))" "dll"
override WAYS=dll
else
override WAYS=
endif

LIBRARY=libHSstd_cbits$(_way).a

C_SRCS= $(wildcard *.c)

C_OBJS  = $(C_SRCS:.c=.$(way_)o)
LIBOBJS = $(C_OBJS)
SRC_CC_OPTS += -O -I$(GHC_INCLUDE_DIR) -I$(GHC_RUNTIME_DIR) $(GhcLibCcOpts) -Wall

ifneq "$(way)" "dll"
SRC_CC_OPTS += -static
endif

ifeq "$(way)" "dll"
all :: DllVersionInfo.o

$(DLL_NAME) : DllVersionInfo.o
endif

DLL_NAME = HSstd_cbits.dll
DLL_IMPLIB_NAME = libHSstd_cbits_imp.a
DLL_DESCRIPTION = "Haskell Prelude helpers"
SRC_BLD_DLL_OPTS += --export-all --output-def=HSstdcbits.def DllVersionInfo.o
SRC_BLD_DLL_OPTS += -lwinmm -lwsock32 -lHSrts_imp -lgmp -L. -L../../../rts/gmp -L../../../rts

#
# Compile the files using the Haskell compiler (ghc really).
# 
CC=$(GHC_INPLACE)

# -----------------------------------------------------------------------------
# Installation

INSTALL_LIBS+=$(LIBRARY)

ifeq "$(EnableWin32DLLs)" "YES"
INSTALL_PROGS  += $(DLL_NAME)
ifneq "$(way)" "dll"
INSTALL_LIBS += $(patsubst %.a, %_imp.a, $(LIBRARY))
endif
endif

override datadir:=$(libdir)/includes
INSTALL_DATAS += HsStd.h stgio.h stgerror.h fileObject.h

include $(TOP)/mk/target.mk
{'fraction_non_alphanumeric': 0.2240875912408759, 'fraction_numerical': 0.020437956204379562, 'mean_word_length': 3.4281098546042004, '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': '6928905', 'n_tokens_mistral': 1232, 'n_tokens_neox': 1108, 'n_words': 232}