Print this page
Reduce lint


  98 
  99 CPPFLAGS_psig =         $(CINC)
 100 OBJS_psig =             $(COBJS)
 101 
 102 CPPFLAGS_ptime =        $(CINC)
 103 OBJS_ptime =            $(COBJS)
 104 
 105 CPPFLAGS_ptree =        $(CINC)
 106 OBJS_ptree =            $(COBJS)
 107 
 108 CPPFLAGS_pwait =        $(CINC)
 109 OBJS_pwait =            $(COBJS)
 110 
 111 CPPFLAGS_pwdx =         $(CINC)
 112 OBJS_pwdx =             $(COBJS)
 113 
 114 CPPFLAGS +=     $(CPPFLAGS_$(PROG))
 115 OBJS +=         $(OBJS_$(PROG))
 116 SRCS +=         $(SRCS_$(PROG))
 117 






 118 INSTALL_NEW=
 119 INSTALL_LEGACY=$(RM) $(ROOTPROCBINSYMLINK) ; \
 120         $(LN) -s ../../bin/$(PROG) $(ROOTPROCBINSYMLINK)
 121 
 122 .KEEP_STATE:
 123 
 124 elfcap.o:       $(ELFCAP)/elfcap.c
 125                 $(COMPILE.c) -o $@ $(ELFCAP)/elfcap.c
 126 
 127 pmap_common.o:  $(PMAP)/pmap_common.c
 128                 $(COMPILE.c) -o $@ $(PMAP)/pmap_common.c
 129 
 130 %.o:    ../%.c
 131         $(COMPILE.c) $<
 132 
 133 %.o:    ../../common/%.c
 134         $(COMPILE.c) $<
 135         $(POST_PROCESS_O)
 136 
 137 all:    $(PROG)




  98 
  99 CPPFLAGS_psig =         $(CINC)
 100 OBJS_psig =             $(COBJS)
 101 
 102 CPPFLAGS_ptime =        $(CINC)
 103 OBJS_ptime =            $(COBJS)
 104 
 105 CPPFLAGS_ptree =        $(CINC)
 106 OBJS_ptree =            $(COBJS)
 107 
 108 CPPFLAGS_pwait =        $(CINC)
 109 OBJS_pwait =            $(COBJS)
 110 
 111 CPPFLAGS_pwdx =         $(CINC)
 112 OBJS_pwdx =             $(COBJS)
 113 
 114 CPPFLAGS +=     $(CPPFLAGS_$(PROG))
 115 OBJS +=         $(OBJS_$(PROG))
 116 SRCS +=         $(SRCS_$(PROG))
 117 
 118 # For lint, always include ptools_common.c, but suppress the "defined but
 119 # not used" error, in case a given ptool doesn't need it.
 120 SRCS +=         ../../common/ptools_common.c
 121 LINTFLAGS +=    -xerroff=E_NAME_DEF_NOT_USED2
 122 LINTFLAGS64 +=  -xerroff=E_NAME_DEF_NOT_USED2
 123 
 124 INSTALL_NEW=
 125 INSTALL_LEGACY=$(RM) $(ROOTPROCBINSYMLINK) ; \
 126         $(LN) -s ../../bin/$(PROG) $(ROOTPROCBINSYMLINK)
 127 
 128 .KEEP_STATE:
 129 
 130 elfcap.o:       $(ELFCAP)/elfcap.c
 131                 $(COMPILE.c) -o $@ $(ELFCAP)/elfcap.c
 132 
 133 pmap_common.o:  $(PMAP)/pmap_common.c
 134                 $(COMPILE.c) -o $@ $(PMAP)/pmap_common.c
 135 
 136 %.o:    ../%.c
 137         $(COMPILE.c) $<
 138 
 139 %.o:    ../../common/%.c
 140         $(COMPILE.c) $<
 141         $(POST_PROCESS_O)
 142 
 143 all:    $(PROG)