Print this page
10051 cw(1) shouldn't have to translate -g


 136 
 137 SRCDIR =        ../common
 138 TAVORSRCDIR =   ../tavor
 139 
 140 SRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(TAVOROBJS:%.o=$(TAVORSRCDIR)/%.c)
 141 
 142 CPPFLAGS +=     -I$(SRC)/lib/udapl/udapl_tavor/include 
 143 CPPFLAGS +=     -I$(SRC)/lib/udapl/udapl_tavor/tavor
 144 CPPFLAGS +=     -I$(SRC)/uts/common/sys/ib/clients/daplt
 145 CPPFLAGS +=     -I$(SRC)/uts/common
 146 CPPFLAGS +=     -I$(SRC)/uts/common/sys/ib/clients
 147 CFLAGS +=       $(CCVERBOSE)
 148 LINTFLAGS +=    -DDAPL_DBG
 149 LINTFLAGS64 +=  -DDAPL_DBG
 150 
 151 CERRWARN +=     -_gcc=-Wno-parentheses
 152 CERRWARN +=     -_gcc=-Wno-uninitialized
 153 CERRWARN +=     -_gcc=-Wno-switch
 154 
 155 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDAPL_DBG
 156 debug := COPTFLAG = -g
 157 debug := COPTFLAG64 = -g
 158 
 159 .KEEP_STATE:
 160 
 161 all: $(LIBS)
 162 
 163 debug: all
 164 
 165 lint: lintcheck
 166 
 167 pics/%.o: $(TAVORSRCDIR)/%.c
 168         $(COMPILE.c) -o $@ $<
 169         $(POST_PROCESS_O)
 170 
 171 include $(SRC)/lib/Makefile.targ


 136 
 137 SRCDIR =        ../common
 138 TAVORSRCDIR =   ../tavor
 139 
 140 SRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(TAVOROBJS:%.o=$(TAVORSRCDIR)/%.c)
 141 
 142 CPPFLAGS +=     -I$(SRC)/lib/udapl/udapl_tavor/include
 143 CPPFLAGS +=     -I$(SRC)/lib/udapl/udapl_tavor/tavor
 144 CPPFLAGS +=     -I$(SRC)/uts/common/sys/ib/clients/daplt
 145 CPPFLAGS +=     -I$(SRC)/uts/common
 146 CPPFLAGS +=     -I$(SRC)/uts/common/sys/ib/clients
 147 CFLAGS +=       $(CCVERBOSE)
 148 LINTFLAGS +=    -DDAPL_DBG
 149 LINTFLAGS64 +=  -DDAPL_DBG
 150 
 151 CERRWARN +=     -_gcc=-Wno-parentheses
 152 CERRWARN +=     -_gcc=-Wno-uninitialized
 153 CERRWARN +=     -_gcc=-Wno-switch
 154 
 155 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDAPL_DBG


 156 
 157 .KEEP_STATE:
 158 
 159 all: $(LIBS)
 160 
 161 debug: all
 162 
 163 lint: lintcheck
 164 
 165 pics/%.o: $(TAVORSRCDIR)/%.c
 166         $(COMPILE.c) -o $@ $<
 167         $(POST_PROCESS_O)
 168 
 169 include $(SRC)/lib/Makefile.targ