Browse Source

Various style.Makefile(5) improvements.

Provoked by:	ru
tags/ggatessh-v1.0.0
pjd 20 years ago
parent
commit
ae0af20fef
3 changed files with 15 additions and 11 deletions
  1. +5
    -0
      Makefile.inc
  2. +6
    -6
      ggatec/Makefile
  3. +4
    -5
      ggated/Makefile

+ 5
- 0
Makefile.inc View File

@@ -0,0 +1,5 @@
# $FreeBSD$

WARNS?= 6

.include "../Makefile.inc"

+ 6
- 6
ggatec/Makefile View File

@@ -1,15 +1,15 @@
# $FreeBSD$ # $FreeBSD$


.PATH: ${.CURDIR}/../shared
.PATH: ${.CURDIR}/../shared


BINDIR= /sbin
PROG= ggatec PROG= ggatec
SRCS= ggatec.c ggate.c
MAN= ggatec.8 MAN= ggatec.8
SRCS= ggatec.c ggate.c

CFLAGS+= -DLIBGEOM
CFLAGS+= -I${.CURDIR}/../shared

DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML}
LDADD= -lgeom -lsbuf -lbsdxml LDADD= -lgeom -lsbuf -lbsdxml
WARNS= 6
CFLAGS+=-I${.CURDIR}/../shared
CFLAGS+=-DLIBGEOM


.include <bsd.prog.mk> .include <bsd.prog.mk>

+ 4
- 5
ggated/Makefile View File

@@ -1,12 +1,11 @@
# $FreeBSD$ # $FreeBSD$


.PATH: ${.CURDIR}/../shared
.PATH: ${.CURDIR}/../shared


BINDIR= /sbin
PROG= ggated PROG= ggated
SRCS= ggated.c ggate.c
MAN= ggated.8 MAN= ggated.8
WARNS= 6
CFLAGS+=-I${.CURDIR}/../shared
SRCS= ggated.c ggate.c

CFLAGS+= -I${.CURDIR}/../shared


.include <bsd.prog.mk> .include <bsd.prog.mk>

Loading…
Cancel
Save