cxgbe/t4_tom: Read the chip's DDP page sizes and save them in a
[freebsd-src.git] / lib / libproc / Makefile
blob9744557e680d7e6b7c62412b784f307d0169a6ba
1 # $FreeBSD$
3 .include <src.opts.mk>
5 PACKAGE=lib${LIB}
6 LIB= proc
8 SRCS= proc_bkpt.c \
9 proc_create.c \
10 proc_regs.c \
11 proc_sym.c \
12 proc_rtld.c \
13 proc_util.c
15 INCS= libproc.h
17 CFLAGS+= -I${.CURDIR}
19 .if ${MK_CXX} == "no"
20 CFLAGS+= -DNO_CXA_DEMANGLE
21 .elif ${MK_LIBCPLUSPLUS} != "no"
22 LIBADD+= cxxrt
23 .else
24 LIBADD+= supcplusplus
25 .endif
27 LIBADD+= elf procstat rtld_db util
29 .if ${MK_CDDL} != "no"
30 LIBADD+= ctf
31 IGNORE_PRAGMA= YES
32 CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/lib/libctf/common \
33 -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common \
34 -I${.CURDIR}/../../sys/cddl/compat/opensolaris
35 .else
36 CFLAGS+= -DNO_CTF
37 .endif
39 SHLIB_MAJOR= 3
41 MAN=
43 .if ${MK_TESTS} != "no"
44 SUBDIR+= tests
45 .endif
47 .include <bsd.lib.mk>