Skip to content

Commit

Permalink
Use .PATH.c: ...
Browse files Browse the repository at this point in the history
  • Loading branch information
gwr committed May 6, 1997
1 parent 5523a28 commit bcdc1db
Show file tree
Hide file tree
Showing 108 changed files with 231 additions and 217 deletions.
6 changes: 4 additions & 2 deletions bin/csh/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 1996/09/30 20:03:52 christos Exp $
# $NetBSD: Makefile,v 1.11 1997/05/06 20:44:56 gwr Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
#
# C Shell with process control; VM/UNIX VAX Makefile
Expand All @@ -14,7 +14,9 @@ CFLAGS+=-I${.CURDIR} -I. ${DFLAGS}
SRCS= alloc.c char.c const.c csh.c dir.c dol.c err.c exec.c exp.c file.c \
func.c glob.c hist.c init.c lex.c misc.c parse.c printf.c proc.c \
sem.c set.c str.c time.c
.PATH: ${.CURDIR}/../../usr.bin/printf

# printf.c
.PATH.c: ${.CURDIR}/../../usr.bin/printf

MLINKS= csh.1 limit.1 csh.1 alias.1 csh.1 bg.1 csh.1 dirs.1 csh.1 fg.1 \
csh.1 foreach.1 csh.1 history.1 csh.1 jobs.1 csh.1 popd.1 \
Expand Down
4 changes: 2 additions & 2 deletions bin/rcp/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 1995/03/23 08:46:35 mycroft Exp $
# $NetBSD: Makefile,v 1.7 1997/05/06 20:44:58 gwr Exp $
# @(#)Makefile 8.1 (Berkeley) 7/19/93

PROG= rcp
Expand All @@ -8,7 +8,7 @@ BINMODE=4555
#INSTALLFLAGS=-fschg

.if defined(KERBEROS)
.PATH: ${.CURDIR}/../../usr.bin/rlogin
.PATH.c: ${.CURDIR}/../../usr.bin/rlogin
SRCS+= krcmd.c kcmd.c
CFLAGS+=-DKERBEROS -DCRYPT
LDADD+= -lkrb -ldes
Expand Down
7 changes: 5 additions & 2 deletions bin/sh/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 1997/04/17 08:13:26 thorpej Exp $
# $NetBSD: Makefile,v 1.27 1997/05/06 20:44:59 gwr Exp $
# @(#)Makefile 8.4 (Berkeley) 5/5/95

PROG= sh
Expand All @@ -20,7 +20,10 @@ CFLAGS+=-DSHELL -I. -I${.CURDIR}
CFLAGS+= -w
.endif

.PATH: ${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf
# echo.c
.PATH.c: ${.CURDIR}/bltin
# printf.c
.PATH.c: ${.CURDIR}/../../usr.bin/printf

CLEANFILES+= builtins.h mkinit mknodes mksyntax \
nodes.h syntax.h token.h y.tab.h
Expand Down
4 changes: 2 additions & 2 deletions games/backgammon/backgammon/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 1995/03/21 15:04:52 cgd Exp $
# $NetBSD: Makefile,v 1.7 1997/05/06 20:45:00 gwr Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93

PROG= backgammon
Expand All @@ -8,7 +8,7 @@ SRCS= allow.c board.c check.c extra.c fancy.c init.c main.c move.c \
MAN= backgammon.6
DPADD= ${LIBTERM} ${LIBCOMPAT}
LDADD= -ltermcap -lcompat
.PATH: ${.CURDIR}/../common_source
.PATH.c: ${.CURDIR}/../common_source
HIDEGAME=hidegame

.include "../../Makefile.inc"
Expand Down
4 changes: 2 additions & 2 deletions games/backgammon/teachgammon/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 1995/03/21 15:06:07 cgd Exp $
# $NetBSD: Makefile,v 1.6 1997/05/06 20:45:01 gwr Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93

PROG= teachgammon
Expand All @@ -10,7 +10,7 @@ LDADD= -ltermcap -lcompat
HIDEGAME=hidegame
NOMAN= noman

.PATH: ${.CURDIR}/../common_source
.PATH.c: ${.CURDIR}/../common_source

.include "../../Makefile.inc"
.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions games/factor/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.4 1995/03/23 08:28:00 cgd Exp $
# $NetBSD: Makefile,v 1.5 1997/05/06 20:45:02 gwr Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93

PROG= factor
SRCS= factor.c pr_tbl.c
CFLAGS+=-I${.CURDIR}/../primes
MAN= factor.6
MLINKS+=factor.6 primes.6
.PATH: ${.CURDIR}/../primes
.PATH.c: ${.CURDIR}/../primes

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/dumplfs/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.5 1995/03/18 14:55:18 cgd Exp $
# $NetBSD: Makefile,v 1.6 1997/05/06 20:45:03 gwr Exp $
# @(#)Makefile 8.1 (Berkeley) 6/18/93

PROG= dumplfs
SRCS= dumplfs.c lfs_cksum.c misc.c
.PATH: ${.CURDIR}/../../sys/ufs/lfs
MAN= dumplfs.8
.PATH.c: ${.CURDIR}/../../sys/ufs/lfs

.include <bsd.prog.mk>
7 changes: 5 additions & 2 deletions sbin/fsck_ffs/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# $NetBSD: Makefile,v 1.14 1997/02/21 07:47:49 mikel Exp $
# $NetBSD: Makefile,v 1.15 1997/05/06 20:45:04 gwr Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93

PROG= fsck_ffs
MAN= fsck_ffs.8
SRCS= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
pass5.c fsutil.c setup.c utilities.c ffs_subr.c ffs_tables.c
.PATH: ${.CURDIR}/../../sys/ufs/ffs ${.CURDIR}/../fsck

CFLAGS+=-I${.CURDIR}/../fsck
.PATH.c: ${.CURDIR}/../fsck

.PATH.c: ${.CURDIR}/../../sys/ufs/ffs

.if make(install)
SUBDIR+= SMM.doc
Expand Down
4 changes: 2 additions & 2 deletions sbin/fsck_msdos/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.4 1997/01/03 14:32:47 ws Exp $
# $NetBSD: Makefile,v 1.5 1997/05/06 20:45:05 gwr Exp $

PROG= fsck_msdos
MAN= fsck_msdos.8
SRCS= main.c check.c boot.c fat.c dir.c fsutil.c
CFLAGS+= -I${.CURDIR}/../fsck
.PATH: ${.CURDIR}/../fsck
.PATH.c: ${.CURDIR}/../fsck

.include <bsd.prog.mk>
12 changes: 9 additions & 3 deletions sbin/fsdb/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 1996/10/11 20:20:42 thorpej Exp $
# $NetBSD: Makefile,v 1.6 1997/05/06 20:45:06 gwr Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93

PROG= fsdb
Expand All @@ -9,9 +9,15 @@ SRCS+= dir.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
SRCS+= ffs_subr.c ffs_tables.c
SRCS+= fsutil.c

CFLAGS+= -I${.CURDIR}/../fsck_ffs -I${.CURDIR}/../fsck
CFLAGS+= -I${.CURDIR}/../fsck_ffs
.PATH.c: ${.CURDIR}/../fsck_ffs

CFLAGS+= -I${.CURDIR}/../fsck
.PATH.c: ${.CURDIR}/../fsck

.PATH.c: ${.CURDIR}/../../sys/ufs/ffs

LDADD+= -ledit -ltermcap
DPADD+= ${LIBEDIT} ${LIBTERMCAP}
.PATH: ${.CURDIR}/../fsck ${.CURDIR}/../fsck_ffs ${.CURDIR}/../../sys/ufs/ffs

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/mount_ados/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.4 1995/03/18 14:57:08 cgd Exp $
# $NetBSD: Makefile,v 1.5 1997/05/06 20:45:07 gwr Exp $

PROG= mount_ados
SRCS= mount_ados.c getmntopts.c
MAN= mount_ados.8

MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
.PATH: ${MOUNT}
.PATH.c: ${MOUNT}

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/mount_cd9660/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1995/03/18 14:57:12 cgd Exp $
# $NetBSD: Makefile,v 1.4 1997/05/06 20:45:08 gwr Exp $
# @(#)Makefile 8.3 (Berkeley) 3/27/94

PROG= mount_cd9660
Expand All @@ -7,6 +7,6 @@ MAN= mount_cd9660.8

MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
.PATH: ${MOUNT}
.PATH.c: ${MOUNT}

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/mount_fdesc/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 1995/03/18 14:57:17 cgd Exp $
# $NetBSD: Makefile,v 1.7 1997/05/06 20:45:09 gwr Exp $
# @(#)Makefile 8.2 (Berkeley) 3/27/94

PROG= mount_fdesc
Expand All @@ -7,6 +7,6 @@ MAN= mount_fdesc.8

MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
.PATH: ${MOUNT}
.PATH.c: ${MOUNT}

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/mount_ffs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 1995/07/12 03:46:47 cgd Exp $
# $NetBSD: Makefile,v 1.2 1997/05/06 20:45:10 gwr Exp $

PROG= mount_ffs
SRCS= mount_ffs.c getmntopts.c
Expand All @@ -9,6 +9,6 @@ LINKS= ${BINDIR}/mount_ffs ${BINDIR}/mount_ufs

MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
.PATH: ${MOUNT}
.PATH.c: ${MOUNT}

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/mount_kernfs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 1995/03/18 14:57:23 cgd Exp $
# $NetBSD: Makefile,v 1.7 1997/05/06 20:45:11 gwr Exp $
# @(#)Makefile 8.2 (Berkeley) 3/27/94

PROG= mount_kernfs
Expand All @@ -7,6 +7,6 @@ MAN= mount_kernfs.8

MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
.PATH: ${MOUNT}
.PATH.c: ${MOUNT}

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/mount_lfs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1995/03/18 14:57:29 cgd Exp $
# $NetBSD: Makefile,v 1.4 1997/05/06 20:45:12 gwr Exp $
# @(#)Makefile 8.2 (Berkeley) 3/27/94

PROG= mount_lfs
Expand All @@ -7,6 +7,6 @@ MAN= mount_lfs.8

MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
.PATH: ${MOUNT}
.PATH.c: ${MOUNT}

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/mount_msdos/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.9 1995/03/18 14:57:35 cgd Exp $
# $NetBSD: Makefile,v 1.10 1997/05/06 20:45:13 gwr Exp $

PROG= mount_msdos
SRCS= mount_msdos.c getmntopts.c
MAN= mount_msdos.8

MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
.PATH: ${MOUNT}
.PATH.c: ${MOUNT}

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/mount_nfs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 1997/01/09 09:43:51 tls Exp $
# $NetBSD: Makefile,v 1.7 1997/05/06 20:45:14 gwr Exp $
# @(#)Makefile 8.2 (Berkeley) 3/27/94

PROG= mount_nfs
Expand All @@ -9,7 +9,7 @@ MAN= mount_nfs.8
#
#MOUNT= ${.CURDIR}/../mount
#CFLAGS+= -DNFS -I${MOUNT}
#.PATH: ${MOUNT}
#.PATH.c: ${MOUNT}
CFLAGS+=-DNFS

.if defined(notdef) # XXX no kernel kerb NFS support!
Expand Down
4 changes: 2 additions & 2 deletions sbin/mount_null/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 1995/03/18 14:57:45 cgd Exp $
# $NetBSD: Makefile,v 1.6 1997/05/06 20:45:15 gwr Exp $
# @(#)Makefile 8.3 (Berkeley) 3/27/94

PROG= mount_null
Expand All @@ -7,6 +7,6 @@ MAN= mount_null.8

MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${.CURDIR}/../../sys -I${MOUNT}
.PATH: ${MOUNT}
.PATH.c: ${MOUNT}

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/mount_portal/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 1995/03/18 14:57:50 cgd Exp $
# $NetBSD: Makefile,v 1.11 1997/05/06 20:45:16 gwr Exp $
# @(#)Makefile 8.3 (Berkeley) 3/27/94

PROG= mount_portal
Expand All @@ -8,7 +8,7 @@ MAN= mount_portal.8

MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${.CURDIR}/../../sys -I${MOUNT}
.PATH: ${MOUNT}
.PATH.c: ${MOUNT}

DPADD= $(LIBCOMPAT)
LDADD= -lcompat
Expand Down
4 changes: 2 additions & 2 deletions sbin/mount_procfs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 1995/03/18 14:58:08 cgd Exp $
# $NetBSD: Makefile,v 1.7 1997/05/06 20:45:17 gwr Exp $
# @(#)Makefile 8.4 (Berkeley) 3/27/94

PROG= mount_procfs
Expand All @@ -7,6 +7,6 @@ MAN= mount_procfs.8

MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
.PATH: ${MOUNT}
.PATH.c: ${MOUNT}

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/mount_umap/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 1995/03/18 14:58:14 cgd Exp $
# $NetBSD: Makefile,v 1.5 1997/05/06 20:45:18 gwr Exp $
# @(#)Makefile 8.3 (Berkeley) 3/27/94

PROG= mount_umap
Expand All @@ -7,6 +7,6 @@ MAN= mount_umap.8

MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${.CURDIR}/../../sys -I${MOUNT}
.PATH: ${MOUNT}
.PATH.c: ${MOUNT}

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/mount_union/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 1995/03/18 14:58:21 cgd Exp $
# $NetBSD: Makefile,v 1.6 1997/05/06 20:45:19 gwr Exp $
# @(#)Makefile 8.3 (Berkeley) 3/27/94

PROG= mount_union
Expand All @@ -7,6 +7,6 @@ MAN= mount_union.8

MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${.CURDIR}/../../sys -I${MOUNT}
.PATH: ${MOUNT}
.PATH.c: ${MOUNT}

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/newfs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 1996/05/16 07:13:01 thorpej Exp $
# $NetBSD: Makefile,v 1.11 1997/05/06 20:45:22 gwr Exp $
# @(#)Makefile 8.2 (Berkeley) 3/27/94

PROG= newfs
Expand All @@ -7,7 +7,7 @@ MAN= newfs.8

MOUNT= ${.CURDIR}/../mount
CFLAGS+=-DMFS -I${MOUNT}
.PATH: ${MOUNT} ${.CURDIR}/../disklabel
.PATH.c: ${MOUNT} ${.CURDIR}/../disklabel

DPADD= ${LIBUTIL}
LDADD= -lutil
Expand Down
4 changes: 2 additions & 2 deletions sbin/newlfs/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.6 1996/05/16 07:17:49 thorpej Exp $
# $NetBSD: Makefile,v 1.7 1997/05/06 20:45:23 gwr Exp $
# @(#)Makefile 8.1 (Berkeley) 6/18/93

PROG= newlfs
SRCS= dkcksum.c lfs.c lfs_cksum.c misc.c newfs.c
MAN= newlfs.8
.PATH: ${.CURDIR}/../../sys/ufs/lfs ${.CURDIR}/../disklabel
.PATH.c: ${.CURDIR}/../../sys/ufs/lfs ${.CURDIR}/../disklabel

DPADD= ${LIBUTIL}
LDADD= -lutil
Expand Down
4 changes: 2 additions & 2 deletions sbin/quotacheck/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.7 1996/09/27 23:25:34 christos Exp $
# $NetBSD: Makefile,v 1.8 1997/05/06 20:45:24 gwr Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93

PROG= quotacheck
SRCS= quotacheck.c fsutil.c preen.c
MAN= quotacheck.8
CFLAGS+=-I${.CURDIR}/../fsck
.PATH: ${.CURDIR}/../fsck
.PATH.c: ${.CURDIR}/../fsck

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions sbin/restore/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 1995/03/18 14:59:39 cgd Exp $
# $NetBSD: Makefile,v 1.15 1997/05/06 20:45:26 gwr Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93

PROG= restore
Expand All @@ -11,6 +11,6 @@ BINGRP= tty
BINMODE=6555
MAN= restore.8
MLINKS+=restore.8 rrestore.8
.PATH: ${.CURDIR}/../dump
.PATH.c: ${.CURDIR}/../dump

.include <bsd.prog.mk>
Loading

0 comments on commit bcdc1db

Please sign in to comment.