<commit_before>include ../mconfig

ifeq ($(BUILD_SHUTDOWN),yes)
  SHUTDOWN=shutdown
endif

dinit_objects = dinit.o load-service.o service.o proc-service.o baseproc-service.o control.o dinit-log.o \
		dinit-main.o run-child-proc.o

objects = $(dinit_objects) dinitctl.o shutdown.o

all: dinit dinitctl $(SHUTDOWN)

includes/mconfig.h: mconfig-gen
	./mconfig-gen SBINDIR=$(SBINDIR) SYSCONTROLSOCKET=$(SYSCONTROLSOCKET) > includes/mconfig.h

mconfig-gen: mconfig-gen.cc ../mconfig
	$(CXX) $(CXXOPTS) -o mconfig-gen mconfig-gen.cc $(LDFLAGS)

dinit: includes/mconfig.h $(dinit_objects)
	$(CXX) -o dinit $(dinit_objects) $(LDFLAGS)
<commit_msg>Makefile: fix parallel build (issue #9)<commit_after>include ../mconfig

ifeq ($(BUILD_SHUTDOWN),yes)
  SHUTDOWN=shutdown
endif

dinit_objects = dinit.o load-service.o service.o proc-service.o baseproc-service.o control.o dinit-log.o \
		dinit-main.o run-child-proc.o

objects = $(dinit_objects) dinitctl.o shutdown.o

all: dinit dinitctl $(SHUTDOWN)

includes/mconfig.h: mconfig-gen
	./mconfig-gen SBINDIR=$(SBINDIR) SYSCONTROLSOCKET=$(SYSCONTROLSOCKET) > includes/mconfig.h

mconfig-gen: mconfig-gen.cc ../mconfig
	$(CXX) $(CXXOPTS) -o mconfig-gen mconfig-gen.cc $(LDFLAGS)

$(dinit_objects): includes/mconfig.h

dinit: $(dinit_objects)
	$(CXX) -o dinit $(dinit_objects) $(LDFLAGS)

{'fraction_non_alphanumeric': 0.14965986394557823, 'fraction_numerical': 0.0007558578987150416, 'mean_word_length': 4.910714285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '290363', 'n_tokens_mistral': 529, 'n_tokens_neox': 521, 'n_words': 100}