<commit_before>TOP=..
#############################################################################
# Configuration section
#############################################################################

##############################################################################
# Variables
##############################################################################

INCLUDEDIRS= $(TOP)/commons \
 $(TOP)/h_program-lang/ \
 $(TOP)/h_visualization/ \
 $(TOP)/h_program-visual/ \
 $(TOP)/lang_php/parsing \
  $(TOP)/lang_php/analyze \
  $(TOP)/lang_php/analyze/foundation \

INCLUDES?=$(INCLUDEDIRS:%=-I %) $(SYSINCLUDES)

# for 'make annot'
LIBS_SHARED= -package deriving-ocsigen.syntax,js_of_ocaml.deriving.syntax \
  -syntax camlp4o
LIBS_SERVER= -thread -package tyxml,eliom,eliom.server \
  $(LIBS_SHARED)
LIBS_CLIENT= -package js_of_ocaml,eliom,eliom.client \
  -package eliom.syntax,js_of_ocaml.syntax -syntax camlp4o \
  $(LIBS_SHARED)
#,oclosure

OBJS_SERVER= \
 _server/common_server.cmo \
 _server/flag_web.cmo \
 _server/dump_server.cmo \
 _server/server.cmo \
 _server/codemap.cmo \
 _server/home.cmo \

# _server/global_db.cmo _server/htmlize_php2.cmo \
# _server/lxr_server.cmo \

OBJS_CLIENT= \
 _client/common_client.cmo \
 _client/canvas_helpers.cmo \
 _client/draw_macrolevel.cmo \
 _client/shared.cmo \
 _client/client.cmo \
 _client/codemap.cmo \
 _client/home.cmo \

LIBS_CLIENT2= $(TOP)/commons/commons.cma \
  $(TOP)/h_visualization/lib.cma

SYSLIBS_CLIENT=str.cma unix.cma

LIBS_SERVER2=
SYSLIBS_SERVER=

# -pretty has a bug right now :( it inserts bad newlines
#JSOPT=-jsopt -pretty -jsopt -noinline

##############################################################################
# Top rules
##############################################################################<commit_msg>* web/Makefile: jerome fixed the bug I had with -pretty<commit_after>TOP=..
#############################################################################
# Configuration section
#############################################################################

##############################################################################
# Variables
##############################################################################

INCLUDEDIRS= $(TOP)/commons \
 $(TOP)/h_program-lang/ \
 $(TOP)/h_visualization/ \
 $(TOP)/h_program-visual/ \
 $(TOP)/lang_php/parsing \
  $(TOP)/lang_php/analyze \
  $(TOP)/lang_php/analyze/foundation \

INCLUDES?=$(INCLUDEDIRS:%=-I %) $(SYSINCLUDES)

# for 'make annot'
LIBS_SHARED= -package deriving-ocsigen.syntax,js_of_ocaml.deriving.syntax \
  -syntax camlp4o
LIBS_SERVER= -thread -package tyxml,eliom,eliom.server \
  $(LIBS_SHARED)
LIBS_CLIENT= -package js_of_ocaml,eliom,eliom.client \
  -package eliom.syntax,js_of_ocaml.syntax -syntax camlp4o \
  $(LIBS_SHARED)
#,oclosure

OBJS_SERVER= \
 _server/common_server.cmo \
 _server/flag_web.cmo \
 _server/dump_server.cmo \
 _server/server.cmo \
 _server/codemap.cmo \
 _server/home.cmo \

# _server/global_db.cmo _server/htmlize_php2.cmo \
# _server/lxr_server.cmo \

OBJS_CLIENT= \
 _client/common_client.cmo \
 _client/canvas_helpers.cmo \
 _client/draw_macrolevel.cmo \
 _client/shared.cmo \
 _client/client.cmo \
 _client/codemap.cmo \
 _client/home.cmo \

LIBS_CLIENT2= $(TOP)/commons/commons.cma \
  $(TOP)/h_visualization/lib.cma

SYSLIBS_CLIENT=str.cma unix.cma

LIBS_SERVER2=
SYSLIBS_SERVER=

JSOPT=-jsopt -pretty -jsopt -noinline

##############################################################################
# Top rules
##############################################################################
{'fraction_non_alphanumeric': 0.36225055432372505, 'fraction_numerical': 0.002771618625277162, 'mean_word_length': 5.6709796672828094, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '7607055', 'n_tokens_mistral': 1238, 'n_tokens_neox': 1161, 'n_words': 153}