makefs: tidy up reach-over source

- cd9660 relies on an #include "iso.h" but does not build any .c files
  out of source, so remove reach-over .PATH
- ffs does not rely on any sys/ headers, so remove -I from CFLAGS.
- ffs_tables from sys/ is used by ffs; move the SRCS entry from the top-
  level Makefile to ffs' Makefile.inc.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
emaste 2018-04-20 22:23:38 +00:00
parent 13193780b0
commit 67d06266a6
3 changed files with 4 additions and 7 deletions

View File

@ -29,9 +29,6 @@ SRCS+= getid.c misc.c spec.c
CFLAGS+=-I${SRCTOP}/contrib/mknod
SRCS+= pack_dev.c
.PATH: ${SRCTOP}/sys/ufs/ffs
SRCS+= ffs_tables.c
CFLAGS+= -I${SRCTOP}/lib/libnetbsd
LIBADD= netbsd util sbuf

View File

@ -1,7 +1,7 @@
# $FreeBSD$
#
.PATH: ${SRCDIR}/cd9660 ${SRCTOP}/sys/fs/cd9660/
.PATH: ${SRCDIR}/cd9660
CFLAGS+=-I${SRCTOP}/sys/fs/cd9660/

View File

@ -2,8 +2,8 @@
#
.PATH: ${SRCDIR}/ffs ${SRCTOP}/sys/ufs/ffs
CFLAGS+= -I${SRCTOP}/sys/ufs/ffs
SRCS+= ffs_alloc.c ffs_balloc.c ffs_bswap.c ffs_subr.c ufs_bmap.c
SRCS+= buf.c mkfs.c
# Reach-over source from sys/ufs/ffs
SRCS+= ffs_tables.c