Current Path : /compat/linux/proc/68247/cwd/usr/src/lib/libftpio/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/68247/cwd/usr/src/lib/libftpio/Makefile |
# $FreeBSD: release/9.1.0/lib/libftpio/Makefile 201381 2010-01-02 09:58:07Z ed $ .include <bsd.own.mk> LIB= ftpio SHLIB_MAJOR= 8 SRCS= ftpio.c ftperr.c INCS= ftpio.h CFLAGS+= -I${.CURDIR} -Wall MAN= ftpio.3 CLEANFILES= ftperr.c .if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6 .endif WARNS?= 2 ftperr.c: ftp.errors @echo '#include <stdio.h>' > ${.TARGET} @echo '#include "ftpio.h"' >> ${.TARGET} @echo "struct ftperr ftpErrList[] = {" \ >> ${.TARGET} @cat ${.ALLSRC} \ | grep -v ^# \ | sort \ | while read NUM STRING; do \ echo " { $${NUM}, \"$${STRING}\" },"; \ done >> ${.TARGET} @echo "};" >> ${.TARGET} @echo -n "int const ftpErrListLength = " >> ${.TARGET} @echo "sizeof(ftpErrList) / sizeof(*ftpErrList);" >> ${.TARGET} .include <bsd.lib.mk>