003 File Manager
Current Path:
/usr/src/usr.bin/getconf
usr
/
src
/
usr.bin
/
getconf
/
📁
..
📄
Makefile
(1.1 KB)
📄
Makefile.depend
(273 B)
📄
confstr.gperf
(2.44 KB)
📄
fake-gperf.awk
(1.38 KB)
📄
getconf.1
(5.79 KB)
📄
getconf.c
(6.12 KB)
📄
getconf.h
(2.08 KB)
📄
limits.gperf
(3.03 KB)
📄
pathconf.gperf
(1.79 KB)
📄
progenv.gperf
(1.45 KB)
📄
sysconf.gperf
(4.67 KB)
📁
tests
📄
unsigned_limits.gperf
(676 B)
Editing: Makefile
# $FreeBSD$ .include <src.opts.mk> PROG= getconf SRCS= confstr.c getconf.c limits.c pathconf.c progenv.c sysconf.c \ unsigned_limits.c CFLAGS+= -I${.CURDIR} CLEANFILES+= confstr.c limits.c pathconf.c progenv.c sysconf.c \ confstr.names limits.names pathconf.names sysconf.names \ conflicting.names unique.names unsigned_limits.names .SUFFIXES: .gperf .names .PHONY: conflicts all: conflicts FAKE_GPERF= ${.CURDIR}/fake-gperf.awk .gperf.c: ${FAKE_GPERF} LC_ALL=C awk -f ${FAKE_GPERF} ${.IMPSRC} >${.TARGET} .gperf.names: LC_ALL=C awk '/^[_A-Z]/ { print; }' ${.IMPSRC} | \ sed -e 's/,$$//' >${.TARGET} conflicts: conflicting.names unique.names @if test `wc -l <conflicting.names` != `wc -l <unique.names`; then \ echo "Name conflicts found!" >&2; \ exit 1; \ fi # pathconf.names is not included here because pathconf names are # syntactically distinct from the other kinds. conflicting.names: confstr.names limits.names sysconf.names cat ${.ALLSRC} >${.TARGET} unique.names: conflicting.names LC_ALL=C sort -u ${.ALLSRC} >${.TARGET} HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk>
Upload File
Create Folder