<commit_before>#ARCH=$1 BIT=$2
NACL=$(NACL_PREFIX)/../bin/$(ARCH)-nacl
CC=$(NACL)-gcc
CFLAGS=-m$(BIT) -c -fPIC -I$(NACL_SDK_ROOT)/$(NACL_PEPPER)/include -I$(NACL_PREFIX)/include
LDFLAGS=-lpthread -shared -Wl,-soname -Wl,libnaclmounts.so -I$(NACL_SDK_ROOT)/include

OBJS=MountManager.o KernelProxy.o PathHandle.o MainThreadRunner.o Entry.o MemMount.o MemNode.o AppEngineUrlLoader.o AppEngineMount.o AppEngineNode.o

all: shared

shared: libnaclmounts.so

libnaclmounts.so: $(OBJS)
	$(CC) $(LDFLAGS) -o libnaclmounts.so $(OBJS)

install-headers:
	mkdir $(NACL_PREFIX)/include/naclmounts
	mkdir $(NACL_PREFIX)/include/naclmounts/AppEngine
	cp AppEngine/*.h $(NACL_PREFIX)/include/naclmounts/AppEngine
	mkdir $(NACL_PREFIX)/include/naclmounts/base
	cp base/*.h $(NACL_PREFIX)/include/naclmounts/base
	mkdir $(NACL_PREFIX)/include/naclmounts/memory

MountManager.o: base/MountManager.cc
	$(CC) $(CFLAGS) $< -o $@
KernelProxy.o: base/KernelProxy.cc
	$(CC) $(CFLAGS) $< -o $@
PathHandle.o: base/PathHandle.cc
	$(CC) $(CFLAGS) $< -o $@
MainThreadRunner.o: base/MainThreadRunner.cc
	$(CC) $(CFLAGS) $< -o $@
Entry.o: base/Entry.cc
	$(CC) $(CFLAGS) $< -o $@
MemMount.o: memory/MemMount.cc
	$(CC) $(CFLAGS) $< -o $@
MemNode.o: memory/MemNode.cc
	$(CC) $(CFLAGS) $< -o $@
AppEngineUrlLoader.o: AppEngine/AppEngineUrlLoader.cc
	$(CC) $(CFLAGS) $< -o $@
AppEngineMount.o: AppEngine/AppEngineMount.cc
	$(CC) $(CFLAGS) $< -o $@
AppEngineNode.o: AppEngine/AppEngineNode.cc
	$(CC) $(CFLAGS) $< -o $@

clean:<commit_msg>Put missing copy memory headers of NACL mounts<commit_after>#ARCH=$1 BIT=$2
NACL=$(NACL_PREFIX)/../bin/$(ARCH)-nacl
CC=$(NACL)-gcc
CFLAGS=-m$(BIT) -c -fPIC -I$(NACL_SDK_ROOT)/$(NACL_PEPPER)/include -I$(NACL_PREFIX)/include
LDFLAGS=-lpthread -shared -Wl,-soname -Wl,libnaclmounts.so -I$(NACL_SDK_ROOT)/include

OBJS=MountManager.o KernelProxy.o PathHandle.o MainThreadRunner.o Entry.o MemMount.o MemNode.o AppEngineUrlLoader.o AppEngineMount.o AppEngineNode.o

all: shared

shared: libnaclmounts.so

libnaclmounts.so: $(OBJS)
	$(CC) $(LDFLAGS) -o libnaclmounts.so $(OBJS)

install-headers:
	mkdir $(NACL_PREFIX)/include/naclmounts
	mkdir $(NACL_PREFIX)/include/naclmounts/AppEngine
	cp AppEngine/*.h $(NACL_PREFIX)/include/naclmounts/AppEngine
	mkdir $(NACL_PREFIX)/include/naclmounts/base
	cp base/*.h $(NACL_PREFIX)/include/naclmounts/base
	mkdir $(NACL_PREFIX)/include/naclmounts/memory
	cp memory/*.h $(NACL_PREFIX)/include/naclmounts/memory

MountManager.o: base/MountManager.cc
	$(CC) $(CFLAGS) $< -o $@
KernelProxy.o: base/KernelProxy.cc
	$(CC) $(CFLAGS) $< -o $@
PathHandle.o: base/PathHandle.cc
	$(CC) $(CFLAGS) $< -o $@
MainThreadRunner.o: base/MainThreadRunner.cc
	$(CC) $(CFLAGS) $< -o $@
Entry.o: base/Entry.cc
	$(CC) $(CFLAGS) $< -o $@
MemMount.o: memory/MemMount.cc
	$(CC) $(CFLAGS) $< -o $@
MemNode.o: memory/MemNode.cc
	$(CC) $(CFLAGS) $< -o $@
AppEngineUrlLoader.o: AppEngine/AppEngineUrlLoader.cc
	$(CC) $(CFLAGS) $< -o $@
AppEngineMount.o: AppEngine/AppEngineMount.cc
	$(CC) $(CFLAGS) $< -o $@
AppEngineNode.o: AppEngine/AppEngineNode.cc
	$(CC) $(CFLAGS) $< -o $@

clean:
{'fraction_non_alphanumeric': 0.1873180200582336, 'fraction_numerical': 0.0012940795858945326, 'mean_word_length': 5.147117296222664, 'pattern_counts': {'":': 0, '<': 23, '<?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': '6571759', 'n_tokens_mistral': 1317, 'n_tokens_neox': 1233, 'n_words': 211}