Simplify idioms in usr.sbin/lpr Makefiles

Use :H instead of .CURDIR-relative pathing to simplify make output, etc.

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
This commit is contained in:
ngie 2017-03-01 05:14:45 +00:00
parent ab50e3ceda
commit b7dcc3f545
11 changed files with 16 additions and 16 deletions

View File

@ -1,12 +1,12 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../common_source
.PATH: ${.CURDIR:H}/common_source
PROG= chkprintcap
MAN= chkprintcap.8
SRCS= chkprintcap.c skimprintcap.c
CFLAGS+= -I${.CURDIR}/../common_source
CFLAGS+= -I${.CURDIR:H}/common_source
LIBADD= lpr

View File

@ -3,6 +3,6 @@
PROG= koi2855
MAN=
CFLAGS+= -I${.CURDIR}/../../common_source
CFLAGS+= -I${.CURDIR:H:H}/common_source
.include <bsd.prog.mk>

View File

@ -3,6 +3,6 @@
PROG= koi2alt
MAN=
CFLAGS+= -I${.CURDIR}/../../common_source
CFLAGS+= -I${.CURDIR:H:H}/common_source
.include <bsd.prog.mk>

View File

@ -6,6 +6,6 @@ BINDIR= ${LIBEXECDIR}/lpr
PROG= lpf
MAN=
CFLAGS+= -I${.CURDIR}/../common_source
CFLAGS+= -I${.CURDIR:H}/common_source
.include <bsd.prog.mk>

View File

@ -1,7 +1,7 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
.PATH: ${.CURDIR}/../common_source
.PATH: ${.CURDIR:H}/common_source
PROG= lpc
MAN= lpc.8
@ -9,7 +9,7 @@ SRCS= lpc.c cmds.c cmdtab.c movejobs.c
BINGRP= daemon
BINMODE= 2555
CFLAGS+= -I${.CURDIR}/../common_source
CFLAGS+= -I${.CURDIR:H}/common_source
WARNS?= 0

View File

@ -5,7 +5,7 @@ PROG= lpd
MAN= lpd.8
SRCS= lpd.c printjob.c recvjob.c lpdchar.c modes.c
CFLAGS+= -I${.CURDIR}/../common_source
CFLAGS+= -I${.CURDIR:H}/common_source
WARNS?= 1

View File

@ -8,7 +8,7 @@ BINOWN= root
BINGRP= daemon
BINMODE= 6555
CFLAGS+= -I${.CURDIR}/../common_source
CFLAGS+= -I${.CURDIR:H}/common_source
LIBADD= lpr

View File

@ -1,7 +1,7 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
.PATH: ${.CURDIR}/../common_source
.PATH: ${.CURDIR:H}/common_source
BINDIR= /usr/bin
@ -11,7 +11,7 @@ BINOWN= root
BINGRP= daemon
BINMODE= 6555
CFLAGS+= -I${.CURDIR}/../common_source
CFLAGS+= -I${.CURDIR:H}/common_source
WARNS?= 2

View File

@ -1,7 +1,7 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
.PATH: ${.CURDIR}/../common_source
.PATH: ${.CURDIR:H}/common_source
BINDIR= /usr/bin
@ -10,7 +10,7 @@ BINOWN= root
BINGRP= daemon
BINMODE= 6555
CFLAGS+= -I${.CURDIR}/../common_source
CFLAGS+= -I${.CURDIR:H}/common_source
LIBADD= lpr

View File

@ -3,6 +3,6 @@
PROG= lptest
CFLAGS+= -I${.CURDIR}/../common_source
CFLAGS+= -I${.CURDIR:H}/common_source
.include <bsd.prog.mk>

View File

@ -1,12 +1,12 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
.PATH: ${.CURDIR}/../common_source
.PATH: ${.CURDIR:H}/common_source
PROG= pac
MAN= pac.8
CFLAGS+= -I${.CURDIR}/../common_source
CFLAGS+= -I${.CURDIR:H}/common_source
LIBADD= lpr