mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-30 12:25:10 +01:00
r314651: sys/modules: normalize .CURDIR-relative paths to SRCTOP This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 r318439: Normalize .PATH on SRCTOP This will help Jenkins dedupe 9 warnings between the static build and the module build of ipsec(4). Missed in SRCTOP conversion in r314651. MFC with: r314651 r318440: Normalize SYSDIR on SRCTOP instead of .CURDIR This is being done to simplify pathing for CFLAGS and source files.
44 lines
983 B
Makefile
44 lines
983 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/fs/procfs
|
|
|
|
KMOD= procfs
|
|
SRCS=
|
|
SRCS+= opt_compat.h
|
|
SRCS+= vnode_if.h
|
|
SRCS+= procfs_ctl.c
|
|
SRCS+= procfs_dbregs.c
|
|
SRCS+= procfs_fpregs.c
|
|
SRCS+= procfs_ioctl.c
|
|
SRCS+= procfs_map.c
|
|
SRCS+= procfs_mem.c
|
|
SRCS+= procfs_note.c
|
|
SRCS+= procfs_osrel.c
|
|
SRCS+= procfs_regs.c
|
|
SRCS+= procfs_rlimit.c
|
|
SRCS+= procfs_status.c
|
|
SRCS+= procfs_type.c
|
|
SRCS+= procfs.c
|
|
|
|
EXPORT_SYMS=
|
|
EXPORT_SYMS+= procfs_attr
|
|
EXPORT_SYMS+= procfs_candebug
|
|
EXPORT_SYMS+= procfs_docurproc
|
|
EXPORT_SYMS+= procfs_doprocfile
|
|
EXPORT_SYMS+= procfs_doprocmem
|
|
EXPORT_SYMS+= procfs_notsystem
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
opt_compat.h:
|
|
echo "#define COMPAT_43 1" > ${.TARGET}
|
|
echo "#define COMPAT_FREEBSD4 1" >> ${.TARGET}
|
|
echo "#define COMPAT_FREEBSD5 1" >> ${.TARGET}
|
|
echo "#define COMPAT_FREEBSD6 1" >> ${.TARGET}
|
|
.if ${MACHINE_CPUARCH} == "amd64"
|
|
echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
|
|
echo "#define COMPAT_LINUX32 1" >> ${.TARGET}
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|