<commit_before># libixp - simple 9P client-/server-library
#   (C)opyright MMIV-MMVI <NAME>

include config.mk

SRC = client.c convert.c intmap.c message.c request.c server.c socket.c \
      transport.c util.c
SRCIXPC = ixpc.c
OBJ = ${SRC:.c=.o}
OBJIXPC = ${SRCIXPC:.c=.o}

all: options libixp.a ixpc

options:
	@echo libixp build options:
	@echo "CFLAGS   = ${CFLAGS}"
	@echo "LDFLAGS  = ${LDFLAGS}"
	@echo "CC       = ${CC}"
	@echo "LD       = ${LD}"

.c.o:
	@echo CC $<
	@${CC} -c ${CFLAGS} $<

${OBJ}: config.mk ixp.h

libixp.a: ${OBJ}
	@echo AR $@
	@${AR} $@ ${OBJ}
	@${RANLIB} $@

ixpc: ${OBJIXPC}
	@echo LD $@
	@${LD} -o $@ ${OBJIXPC} ${LDFLAGS} -lixp
	@strip $@

clean:
	@echo cleaning
	@rm -f ixpc libixp.a ${OBJ} ${OBJIXPC} libixp-${VERSION}.tar.gz

dist: clean
	@echo creating dist tarball
	@mkdir -p libixp-${VERSION}
	@cp -R LICENSE LICENSE.p9p Makefile README config.mk ixp.h ${SRC} ${SRCIXPC} libixp-${VERSION}
	@tar -cf libixp-${VERSION}.tar libixp-${VERSION}
	@gzip libixp-${VERSION}.tar
	@rm -rf libixp-${VERSION}

install: all
	@echo installing header to ${DESTDIR}${PREFIX}/include
	@mkdir -p ${DESTDIR}${PREFIX}/include
	@cp -f ixp.h ${DESTDIR}${PREFIX}/include
	@chmod 644 ${DESTDIR}${PREFIX}/include/ixp.h<commit_msg>added ixpc.1 to dist Makefile target<commit_after># libixp - simple 9P client-/server-library
#   (C)opyright MMIV-MMVI <NAME>

include config.mk

SRC = client.c convert.c intmap.c message.c request.c server.c socket.c \
      transport.c util.c
SRCIXPC = ixpc.c
OBJ = ${SRC:.c=.o}
OBJIXPC = ${SRCIXPC:.c=.o}

all: options libixp.a ixpc

options:
	@echo libixp build options:
	@echo "CFLAGS   = ${CFLAGS}"
	@echo "LDFLAGS  = ${LDFLAGS}"
	@echo "CC       = ${CC}"
	@echo "LD       = ${LD}"

.c.o:
	@echo CC $<
	@${CC} -c ${CFLAGS} $<

${OBJ}: config.mk ixp.h

libixp.a: ${OBJ}
	@echo AR $@
	@${AR} $@ ${OBJ}
	@${RANLIB} $@

ixpc: ${OBJIXPC}
	@echo LD $@
	@${LD} -o $@ ${OBJIXPC} ${LDFLAGS} -lixp
	@strip $@

clean:
	@echo cleaning
	@rm -f ixpc libixp.a ${OBJ} ${OBJIXPC} libixp-${VERSION}.tar.gz

dist: clean
	@echo creating dist tarball
	@mkdir -p libixp-${VERSION}
	@cp -R LICENSE LICENSE.p9p Makefile README config.mk ixp.h ixpc.1 ${SRC} ${SRCIXPC} libixp-${VERSION}
	@tar -cf libixp-${VERSION}.tar libixp-${VERSION}
	@gzip libixp-${VERSION}.tar
	@rm -rf libixp-${VERSION}

install: all
	@echo installing header to ${DESTDIR}${PREFIX}/include
	@mkdir -p ${DESTDIR}${PREFIX}/include
	@cp -f ixp.h ${DESTDIR}${PREFIX}/include
	@chmod 644 ${DESTDIR}${PREFIX}/include/ixp.h
{'fraction_non_alphanumeric': 0.19745222929936307, 'fraction_numerical': 0.004777070063694267, 'mean_word_length': 3.6623376623376624, 'pattern_counts': {'":': 0, '<': 9, '<?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': '4161924', 'n_tokens_mistral': 1142, 'n_tokens_neox': 1077, 'n_words': 263}