diff --git a/Makefile.inc b/Makefile.inc new file mode 100644 index 0000000..e55271f --- /dev/null +++ b/Makefile.inc @@ -0,0 +1,5 @@ +# $FreeBSD$ + +WARNS?= 6 + +.include "../Makefile.inc" diff --git a/ggatec/Makefile b/ggatec/Makefile index 80525a3..e545dff 100644 --- a/ggatec/Makefile +++ b/ggatec/Makefile @@ -1,15 +1,15 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../shared +.PATH: ${.CURDIR}/../shared -BINDIR= /sbin PROG= ggatec -SRCS= ggatec.c ggate.c MAN= ggatec.8 +SRCS= ggatec.c ggate.c + +CFLAGS+= -DLIBGEOM +CFLAGS+= -I${.CURDIR}/../shared + DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} LDADD= -lgeom -lsbuf -lbsdxml -WARNS= 6 -CFLAGS+=-I${.CURDIR}/../shared -CFLAGS+=-DLIBGEOM .include diff --git a/ggated/Makefile b/ggated/Makefile index e016b8a..fa5c0fb 100644 --- a/ggated/Makefile +++ b/ggated/Makefile @@ -1,12 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../shared +.PATH: ${.CURDIR}/../shared -BINDIR= /sbin PROG= ggated -SRCS= ggated.c ggate.c MAN= ggated.8 -WARNS= 6 -CFLAGS+=-I${.CURDIR}/../shared +SRCS= ggated.c ggate.c + +CFLAGS+= -I${.CURDIR}/../shared .include