--- Makefile.orig 2008-10-05 21:20:36.000000000 +0900 +++ Makefile 2008-10-05 21:22:33.000000000 +0900 @@ -8,7 +8,8 @@ PROG = spegla SRCS = jftp.c parserow.c spegla.c tgetopt.c container.c spf_util.c \ - que_syms.c e_err.c + que_syms.c e_err.c \ + regcomp.c regerror.c regexec.c regfree.c .if !(defined(HAVE_STRLCPY) && ${HAVE_STRLCPY} == "yes") SRCS += strlcpy.c CPPFLAGS += -DNO_STRLCPY @@ -16,14 +17,6 @@ MAN = spegla.1 -FILES = spegla.sh spegla.conf -FILESDIR = ${PREFIX}/share/examples/spegla - -filesinstall:: ${PREFIX}/share/examples/spegla - -${PREFIX}/share/examples/spegla: - mkdir -p ${PREFIX}/share/examples/spegla - #WARNS = 2 CFLAGS += -Wall LDADD += -lcompat @@ -73,3 +66,4 @@ cp ${.CURDIR}/../tgetopt/tgetopt.c tgetopt.c .endif +.PATH: ${.CURDIR}/regex