45 LDLIBS_pmadvise = -lproc
46 LDLIBS_ppriv = -lproc
47 LDLIBS_preap = -lproc
48 LDLIBS_prun = -lproc
49 LDLIBS_psecflags = -lproc -lproject
50 LDLIBS_psig = -lproc
51 LDLIBS_pstack = -lproc -lc_db
52 LDLIBS_pstop = -lproc
53 LDLIBS_ptime = -lproc
54 LDLIBS_ptree = -lproc -lcontract
55 LDLIBS_pwdx = -lproc
56
57 LDLIBS += $(LDLIBS_$(PROG))
58
59 CERRWARN_plgrp += -_gcc=-Wno-parentheses
60 CERRWARN_plgrp += -_smatch=off
61
62 CERRWARN_pmadvise += -_smatch=off
63
64 CERRWARN_ppriv += -_gcc=-Wno-parentheses
65 CERRWARN_ppriv += -_gcc=-Wno-uninitialized
66
67 CERRWARN_ptree += -_gcc=-Wno-parentheses
68 CERRWARN_ptree += -_smatch=off
69
70 CERRWARN_pstack += -_gcc=-Wno-uninitialized
71 CERRWARN_pstack += -_gcc=-Wno-clobbered
72
73 CERRWARN_pargs += -_gcc=-Wno-clobbered
74 CERRWARN_pargs += -_gcc=-Wno-type-limits
75
76 CERRWARN_pwait += -_smatch=off
77
78 CERRWARN += $(CERRWARN_$(PROG))
79
80 # pargs depends on ../../common/elfcap components
81 # pmadvise depends on pmap components
82
83 ELFCAP = $(SRC)/common/elfcap
84 PMAP = $(SRC)/cmd/ptools/pmap
85
86 CPPFLAGS_pargs = -I$(ELFCAP)
87 OBJS_pargs = elfcap.o
88 SRCS_pargs = $(ELFCAP)/elfcap.c
89
90 CPPFLAGS_pmap = -I$(PMAP)
|
45 LDLIBS_pmadvise = -lproc
46 LDLIBS_ppriv = -lproc
47 LDLIBS_preap = -lproc
48 LDLIBS_prun = -lproc
49 LDLIBS_psecflags = -lproc -lproject
50 LDLIBS_psig = -lproc
51 LDLIBS_pstack = -lproc -lc_db
52 LDLIBS_pstop = -lproc
53 LDLIBS_ptime = -lproc
54 LDLIBS_ptree = -lproc -lcontract
55 LDLIBS_pwdx = -lproc
56
57 LDLIBS += $(LDLIBS_$(PROG))
58
59 CERRWARN_plgrp += -_gcc=-Wno-parentheses
60 CERRWARN_plgrp += -_smatch=off
61
62 CERRWARN_pmadvise += -_smatch=off
63
64 CERRWARN_ppriv += -_gcc=-Wno-parentheses
65 CERRWARN_ppriv += $(CNOWARN_UNINIT)
66
67 CERRWARN_ptree += -_gcc=-Wno-parentheses
68 CERRWARN_ptree += -_smatch=off
69
70 CERRWARN_pstack += $(CNOWARN_UNINIT)
71 CERRWARN_pstack += -_gcc=-Wno-clobbered
72
73 CERRWARN_pargs += -_gcc=-Wno-clobbered
74 CERRWARN_pargs += -_gcc=-Wno-type-limits
75
76 CERRWARN_pwait += -_smatch=off
77
78 CERRWARN += $(CERRWARN_$(PROG))
79
80 # pargs depends on ../../common/elfcap components
81 # pmadvise depends on pmap components
82
83 ELFCAP = $(SRC)/common/elfcap
84 PMAP = $(SRC)/cmd/ptools/pmap
85
86 CPPFLAGS_pargs = -I$(ELFCAP)
87 OBJS_pargs = elfcap.o
88 SRCS_pargs = $(ELFCAP)/elfcap.c
89
90 CPPFLAGS_pmap = -I$(PMAP)
|