9 CFLAGS+= -I${.CURDIR} -Wall
15 @echo '#include <stdio.h>' > ${.TARGET}
16 @echo '#include "ftpio.h"' >> ${.TARGET}
17 @echo "struct ftperr ftpErrList[] = {" \ >> ${.TARGET}
21 | while read NUM STRING; do \
22 echo " { $${NUM}, \"$${STRING}\" },"; \
24 @echo "};" >> ${.TARGET}
25 @echo -n "int const ftpErrListLength = " >> ${.TARGET}
26 @echo "sizeof(ftpErrList) / sizeof(*ftpErrList);" >> ${.TARGET}