Print this page
10080 smatch Makefile changes for usr/src/cmd


  74                 version_msg.o
  75 
  76 
  77 OBJECTS =       $(COMOBJS) $(COMOBJS32) $(COMOBJS64) $(ELFCAP_OBJS) \
  78                 $(ASOBJS) $(BLTOBJS)
  79 
  80 #
  81 # This library is unusual since it's a static archive of PIC objects.
  82 # Since static archives should never contain CTF data (regardless of
  83 # whether the object code is position-independent), we disable CTF.
  84 #
  85 NOCTFOBJS =     $(OBJECTS)
  86 CTFMERGE_LIB =  :
  87 
  88 include $(SRC)/lib/Makefile.lib
  89 include $(SRC)/cmd/sgs/Makefile.com
  90 
  91 CERRWARN        += -_gcc=-Wno-type-limits
  92 CERRWARN        += -_gcc=-Wno-switch
  93 



  94 CTFCONVERT_O=
  95 
  96 README_REVISION=../../packages/common/readme_revision
  97 ONLDREADME=     ../../packages/common/SUNWonld-README
  98 
  99 PICS=           $(OBJECTS:%=pics/%)
 100 
 101 CPPFLAGS +=     -I$(SRCBASE)/lib/libc/inc -I$(ELFCAP) \
 102                 -I$(SRC)/common/sgsrtcid
 103 
 104 ARFLAGS=        cr
 105 
 106 AS_CPPFLAGS=    -P -D_ASM $(CPPFLAGS)
 107 
 108 BLTDATA=        $(BLTOBJS:%.o=%.c) $(BLTOBJS:%.o=%.h) report_bufsize.h
 109 
 110 SRCS=           ../common/llib-lconv
 111 LINTSRCS=       $(COMOBJS:%.o=../common/%.c) \
 112                     $(COMOBJS_NOMSG:%.o=../common/%.c) \
 113                     $(ELFCOM_OBJS:%.o=$(ELFCAP)/%.c) ../common/lintsup.c


  74                 version_msg.o
  75 
  76 
  77 OBJECTS =       $(COMOBJS) $(COMOBJS32) $(COMOBJS64) $(ELFCAP_OBJS) \
  78                 $(ASOBJS) $(BLTOBJS)
  79 
  80 #
  81 # This library is unusual since it's a static archive of PIC objects.
  82 # Since static archives should never contain CTF data (regardless of
  83 # whether the object code is position-independent), we disable CTF.
  84 #
  85 NOCTFOBJS =     $(OBJECTS)
  86 CTFMERGE_LIB =  :
  87 
  88 include $(SRC)/lib/Makefile.lib
  89 include $(SRC)/cmd/sgs/Makefile.com
  90 
  91 CERRWARN        += -_gcc=-Wno-type-limits
  92 CERRWARN        += -_gcc=-Wno-switch
  93 
  94 # not linted
  95 SMATCH=off
  96 
  97 CTFCONVERT_O=
  98 
  99 README_REVISION=../../packages/common/readme_revision
 100 ONLDREADME=     ../../packages/common/SUNWonld-README
 101 
 102 PICS=           $(OBJECTS:%=pics/%)
 103 
 104 CPPFLAGS +=     -I$(SRCBASE)/lib/libc/inc -I$(ELFCAP) \
 105                 -I$(SRC)/common/sgsrtcid
 106 
 107 ARFLAGS=        cr
 108 
 109 AS_CPPFLAGS=    -P -D_ASM $(CPPFLAGS)
 110 
 111 BLTDATA=        $(BLTOBJS:%.o=%.c) $(BLTOBJS:%.o=%.h) report_bufsize.h
 112 
 113 SRCS=           ../common/llib-lconv
 114 LINTSRCS=       $(COMOBJS:%.o=../common/%.c) \
 115                     $(COMOBJS_NOMSG:%.o=../common/%.c) \
 116                     $(ELFCOM_OBJS:%.o=$(ELFCAP)/%.c) ../common/lintsup.c