blob: 648da69e2fcbebbbe86275961df0521437e615a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
.include <src.opts.mk>
LIB= procstat
SRCS= cd9660.c \
common_kvm.c \
core.c \
libprocstat.c \
libprocstat_compat.c \
msdosfs.c \
smbfs.c \
udf.c
VERSION_DEF= ${LIBCSRCDIR}/Versions.def
SYMBOL_MAPS= ${.CURDIR}/Symbol.map
INCS= libprocstat.h
CFLAGS+= -I. -I${.CURDIR} -D_KVM_VNODE
SHLIB_MAJOR= 1
LIBADD= elf kvm util
MAN= libprocstat.3
MLINKS+=libprocstat.3 procstat_close.3 \
libprocstat.3 procstat_freeargv.3 \
libprocstat.3 procstat_freeauxv.3 \
libprocstat.3 procstat_freeenvv.3 \
libprocstat.3 procstat_freefiles.3 \
libprocstat.3 procstat_freegroups.3 \
libprocstat.3 procstat_freekstack.3 \
libprocstat.3 procstat_freeprocs.3 \
libprocstat.3 procstat_freevmmap.3 \
libprocstat.3 procstat_get_pipe_info.3 \
libprocstat.3 procstat_get_pts_info.3 \
libprocstat.3 procstat_get_sem_info.3 \
libprocstat.3 procstat_get_shm_info.3 \
libprocstat.3 procstat_get_socket_info.3 \
libprocstat.3 procstat_get_vnode_info.3 \
libprocstat.3 procstat_getargv.3 \
libprocstat.3 procstat_getauxv.3 \
libprocstat.3 procstat_getenvv.3 \
libprocstat.3 procstat_getfiles.3 \
libprocstat.3 procstat_getgroups.3 \
libprocstat.3 procstat_getkstack.3 \
libprocstat.3 procstat_getosrel.3 \
libprocstat.3 procstat_getpathname.3 \
libprocstat.3 procstat_getprocs.3 \
libprocstat.3 procstat_getrlimit.3 \
libprocstat.3 procstat_getumask.3 \
libprocstat.3 procstat_getvmmap.3 \
libprocstat.3 procstat_open_core.3 \
libprocstat.3 procstat_open_kvm.3 \
libprocstat.3 procstat_open_sysctl.3
.if ${MK_CDDL} != "no"
CFLAGS+= -DLIBPROCSTAT_ZFS
SRCS+= zfs.c
CFLAGS.zfs.c+= -DIN_BASE
CFLAGS.zfs.c+= -DHAVE_ISSETUGID
CFLAGS.zfs.c+= -DZFS_DEBUG
CFLAGS.zfs.c+= -I${ZFSTOP}/include
CFLAGS.zfs.c+= -I${ZFSTOP}/lib/libzpool/include
CFLAGS.zfs.c+= -I${ZFSTOP}/lib/libspl/include
CFLAGS.zfs.c+= -I${ZFSTOP}/lib/libspl/include/os/freebsd
CFLAGS.zfs.c+= -I${ZFSTOP}/include/os/freebsd/zfs
CFLAGS.zfs.c+= -I${ZFSTOP}/module/icp/include
CFLAGS.zfs.c+= -I${SRCTOP}/sys
CFLAGS.zfs.c+= -I${SRCTOP}/sys/modules/zfs
CFLAGS.zfs.c+= -include ${ZFSTOP}/include/os/freebsd/spl/sys/ccompile.h
CFLAGS.zfs.c+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
CFLAGS.zfs.c+= -Wno-cast-qual
.endif
.include <bsd.lib.mk>
|