diff --git a/sbin/ggate/ggatec/Makefile b/sbin/ggate/ggatec/Makefile index 07c7a5283f6..80525a3601f 100644 --- a/sbin/ggate/ggatec/Makefile +++ b/sbin/ggate/ggatec/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ../shared +.PATH: ${.CURDIR}/../shared BINDIR= /sbin PROG= ggatec @@ -9,7 +9,7 @@ MAN= ggatec.8 DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} LDADD= -lgeom -lsbuf -lbsdxml WARNS= 6 -CFLAGS+=-I../shared +CFLAGS+=-I${.CURDIR}/../shared CFLAGS+=-DLIBGEOM .include diff --git a/sbin/ggate/ggated/Makefile b/sbin/ggate/ggated/Makefile index feae55099bd..e016b8a5494 100644 --- a/sbin/ggate/ggated/Makefile +++ b/sbin/ggate/ggated/Makefile @@ -1,12 +1,12 @@ # $FreeBSD$ -.PATH: ../shared +.PATH: ${.CURDIR}/../shared BINDIR= /sbin PROG= ggated SRCS= ggated.c ggate.c MAN= ggated.8 WARNS= 6 -CFLAGS+=-I../shared +CFLAGS+=-I${.CURDIR}/../shared .include diff --git a/sbin/ggate/ggatel/Makefile b/sbin/ggate/ggatel/Makefile index a72a0527e61..e6fd870c6c1 100644 --- a/sbin/ggate/ggatel/Makefile +++ b/sbin/ggate/ggatel/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ../shared +.PATH: ${.CURDIR}/../shared BINDIR= /sbin PROG= ggatel @@ -9,7 +9,7 @@ MAN= ggatel.8 DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} LDADD= -lgeom -lsbuf -lbsdxml WARNS= 6 -CFLAGS+=-I../shared +CFLAGS+=-I${.CURDIR}/../shared CFLAGS+=-DLIBGEOM .include