<commit_before>#   Makefile                                                     -*-makefile-*-
#  ----------------------------------------------------------------------------
#  Copyright 2012 <NAME> http://www.dietmar-kuehl.de              
#  Modified  2013 <NAME> (<EMAIL>)
#  Distributed under the Boost Software License, Version 1.0. (See file  
#  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt).     
#  ----------------------------------------------------------------------------
# $Id$

TARGET   = bde_verify

default: $(TARGET)

SYSTEM   = $(shell uname -s)

COMPILER = gcc
#COMPILER = clang

STD      = CXX2011

ifeq ($(SYSTEM),Linux)
    ifeq    ($(COMPILER),gcc)
VERSION  = 4.8.1
CCDIR    = /opt/swt/install/gcc-4.8.1
CXX      = $(CCDIR)/bin/g++
         ifeq        ($(STD),CXX2011)
CXXFLAGS += -std=c++0x
         endif
LINK     = $(CXX)
LDFLAGS  += -Wl,-rpath,$(CCDIR)/lib64
CXXFLAGS += -Wno-unused-local-typedefs
    endif
    ifeq ($(COMPILER),clang)
VERSION  = 3.4
CCDIR    = /home/hrosen4/mbig/llvm-$(VERSION)/install-$(SYSTEM)
CXX      = $(CCDIR)/bin/clang++
        ifeq    ($(STD),CXX2011)
CXXFLAGS += -std=c++0x
        else
CXXFLAGS += -Wno-c++11-extensions
        endif
LINK     = $(CXX)
    endif
ASPELL   = /opt/swt/install/aspell-0.60.6.1-64
CXXFLAGS += -DSPELL_CHECK=1
INCFLAGS += -I$(ASPELL)/include
LDFLAGS  += -L$(ASPELL)/lib64 -laspell
endif
ifeq ($(SYSTEM),SunOS)
    ifeq    ($(COMPILER),gcc)
VERSION  = 4.8.1
CCDIR    = /opt/swt/install/gcc-4.8.1
CXX      = $(CCDIR)/bin/g++
         ifeq        ($(STD),CXX2011)
CXXFLAGS += -m32 -pthreads
CFLAGS   += -m32 -pthreads
LDFLAGS  += -m32 -pthreads
CXXFLAGS += -std=c++0x
         endif
LINK     = $(CXX)
LDFLAGS  += -Wl,-R,$(CCDIR)/lib
CXXFLAGS += -Wno-unused-local-typedefs<commit_msg>Trying to get a good SunOS build.<commit_after>#   Makefile                                                     -*-makefile-*-
#  ----------------------------------------------------------------------------
#  Copyright 2012 <NAME> http://www.dietmar-kuehl.de              
#  Modified  2013 <NAME> (<EMAIL>)
#  Distributed under the Boost Software License, Version 1.0. (See file  
#  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt).     
#  ----------------------------------------------------------------------------
# $Id$

TARGET   = bde_verify

default: $(TARGET)

SYSTEM   = $(shell uname -s)

COMPILER = gcc
#COMPILER = clang

STD      = CXX2011

ifeq ($(SYSTEM),Linux)
    ifeq    ($(COMPILER),gcc)
VERSION  = 4.8.1
CCDIR    = /opt/swt/install/gcc-4.8.1
CXX      = $(CCDIR)/bin/g++
         ifeq        ($(STD),CXX2011)
CXXFLAGS += -std=c++0x
         endif
LINK     = $(CXX)
LDFLAGS  += -Wl,-rpath,$(CCDIR)/lib64
CXXFLAGS += -Wno-unused-local-typedefs
    endif
    ifeq ($(COMPILER),clang)
VERSION  = 3.4
CCDIR    = /home/hrosen4/mbig/llvm-$(VERSION)/install-$(SYSTEM)
CXX      = $(CCDIR)/bin/clang++
        ifeq    ($(STD),CXX2011)
CXXFLAGS += -std=c++0x
        else
CXXFLAGS += -Wno-c++11-extensions
        endif
LINK     = $(CXX)
    endif
ASPELL   = /opt/swt/install/aspell-0.60.6.1-64
CXXFLAGS += -DSPELL_CHECK=1
INCFLAGS += -I$(ASPELL)/include
LDFLAGS  += -L$(ASPELL)/lib64 -laspell
endif
ifeq ($(SYSTEM),SunOS)
    ifeq    ($(COMPILER),gcc)
VERSION  = 4.8.1
CCDIR    = /opt/swt/install/gcc-4.8.1
CXX      = $(CCDIR)/bin/g++
         ifeq        ($(STD),CXX2011)
CXXFLAGS += -m32 -pthreads -mno-faster-structs
CFLAGS   += -m32 -pthreads -mno-faster-structs
LDFLAGS  += -m32 -pthreads -mno-faster-structs
CXXFLAGS += -std=c++0x
         endif
LINK     = $(CXX)
LDFLAGS  += -Wl,-R,$(CCDIR)/lib
CXXFLAGS += -Wno-unused-local-typedefs
{'fraction_non_alphanumeric': 0.23973727422003285, 'fraction_numerical': 0.037219485495347565, 'mean_word_length': 1.7522590361445782, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5148290', 'n_tokens_mistral': 1454, 'n_tokens_neox': 1306, 'n_words': 252}