Browse Source

sbin: normalize paths using SRCTOP-relative paths or :H when possible

This simplifies make logic/output

MFC after:	1 month
Sponsored by:	Dell EMC Isilon
tags/ggatessh-v1.0.0
ngie 7 years ago
parent
commit
f621dd9351
3 changed files with 6 additions and 6 deletions
  1. +2
    -2
      ggatec/Makefile
  2. +2
    -2
      ggated/Makefile
  3. +2
    -2
      ggatel/Makefile

+ 2
- 2
ggatec/Makefile View File

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

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

PROG= ggatec
MAN= ggatec.8
@@ -8,7 +8,7 @@ SRCS= ggatec.c ggate.c

CFLAGS+= -DMAX_SEND_SIZE=32768
CFLAGS+= -DLIBGEOM
CFLAGS+= -I${.CURDIR}/../shared
CFLAGS+= -I${.CURDIR:H}/shared

LIBADD= geom util pthread



+ 2
- 2
ggated/Makefile View File

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

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

PROG= ggated
MAN= ggated.8
@@ -8,6 +8,6 @@ SRCS= ggated.c ggate.c

LIBADD= pthread util

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

.include <bsd.prog.mk>

+ 2
- 2
ggatel/Makefile View File

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

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

PROG= ggatel
MAN= ggatel.8
SRCS= ggatel.c ggate.c

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

LIBADD= geom util



Loading…
Cancel
Save