<commit_before># $FreeBSD$

PROG=	truss
SRCS=	main.c setup.c syscalls.c syscalls.h ioctl.c
.if (${MACHINE_ARCH} == "alpha")
SRCS+=	alpha-fbsd.c
.elif (${MACHINE_ARCH} == "i386")
SRCS+=	i386-fbsd.c i386-linux.c linux_syscalls.h
.endif

CFLAGS+= -I${.CURDIR} -I.
CLEANFILES+=i386l-syscalls.master syscalls.master linux_syscalls.h \
	syscalls.h ioctl.c

.SUFFIXES: .master

i386l-syscalls.master:	${.CURDIR}/../../sys/i386/linux/syscalls.master
	cp ${.ALLSRC} i386l-syscalls.master

linux_syscalls.h:	i386l-syscalls.master
	/bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh i386l-syscalls.master \
		${.CURDIR}/i386linux.conf

syscalls.master:	${.CURDIR}/../../sys/kern/syscalls.master
	cp ${.ALLSRC} syscalls.master

syscalls.h:	syscalls.master
	/bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
		${.CURDIR}/i386.conf

ioctl.c:
	sh ${.CURDIR}/../../usr.bin/kdump/mkioctls ${DESTDIR}/usr/include > ioctl.c

.include <bsd.prog.mk>
<commit_msg>cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../..   Fix ioctl.c creation to deal with the depend case more properly.<commit_after># $FreeBSD$

PROG=	truss
SRCS=	main.c setup.c syscalls.c syscalls.h ioctl.c
.if (${MACHINE_ARCH} == "alpha")
SRCS+=	alpha-fbsd.c
.elif (${MACHINE_ARCH} == "i386")
SRCS+=	i386-fbsd.c i386-linux.c linux_syscalls.h
.endif

CFLAGS+= -I${.CURDIR} -I.
CLEANFILES+=i386l-syscalls.master syscalls.master linux_syscalls.h \
	syscalls.h ioctl.c

.SUFFIXES: .master

i386l-syscalls.master:	${.CURDIR}/../../sys/i386/linux/syscalls.master
	cp ${.ALLSRC} i386l-syscalls.master

linux_syscalls.h:	i386l-syscalls.master
	/bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh i386l-syscalls.master \
		${.CURDIR}/i386linux.conf

syscalls.master:	${.CURDIR}/../../sys/kern/syscalls.master
	cp ${.ALLSRC} syscalls.master

syscalls.h:	syscalls.master
	/bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
		${.CURDIR}/i386.conf

.if make(depend)
ioctl.c:	.PHONY
.else
ioctl.c:	${.CURDIR}/../kdump/mkioctls
.endif
	sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET}

.include <bsd.prog.mk>

{'fraction_non_alphanumeric': 0.20387890255439925, 'fraction_numerical': 0.03122043519394513, 'mean_word_length': 3.509594882729211, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3912860', 'n_tokens_mistral': 1018, 'n_tokens_neox': 910, 'n_words': 146}