133 include $(SRC)/lib/Makefile.lib
134
135 LIBS = $(DYNLIB)
136 LDLIBS += -ldevinfo -lsocket -lnsl -ldat -lc -ldladm
137
138 SRCDIR = ../common
139 TAVORSRCDIR = ../tavor
140
141 SRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(TAVOROBJS:%.o=$(TAVORSRCDIR)/%.c)
142
143 CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/include
144 CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/tavor
145 CPPFLAGS += -I$(SRC)/uts/common/sys/ib/clients/daplt
146 CPPFLAGS += -I$(SRC)/uts/common
147 CPPFLAGS += -I$(SRC)/uts/common/sys/ib/clients
148 CFLAGS += $(CCVERBOSE)
149 LINTFLAGS += -DDAPL_DBG
150 LINTFLAGS64 += -DDAPL_DBG
151
152 CERRWARN += -_gcc=-Wno-parentheses
153 CERRWARN += -_gcc=-Wno-uninitialized
154 CERRWARN += -_gcc=-Wno-switch
155
156 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDAPL_DBG
157 $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
158
159 # not linted
160 SMATCH=off
161
162 .KEEP_STATE:
163
164 all: $(LIBS)
165
166 debug: all
167
168 lint: lintcheck
169
170 pics/%.o: $(TAVORSRCDIR)/%.c
171 $(COMPILE.c) -o $@ $<
172 $(POST_PROCESS_O)
173
|
133 include $(SRC)/lib/Makefile.lib
134
135 LIBS = $(DYNLIB)
136 LDLIBS += -ldevinfo -lsocket -lnsl -ldat -lc -ldladm
137
138 SRCDIR = ../common
139 TAVORSRCDIR = ../tavor
140
141 SRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(TAVOROBJS:%.o=$(TAVORSRCDIR)/%.c)
142
143 CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/include
144 CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/tavor
145 CPPFLAGS += -I$(SRC)/uts/common/sys/ib/clients/daplt
146 CPPFLAGS += -I$(SRC)/uts/common
147 CPPFLAGS += -I$(SRC)/uts/common/sys/ib/clients
148 CFLAGS += $(CCVERBOSE)
149 LINTFLAGS += -DDAPL_DBG
150 LINTFLAGS64 += -DDAPL_DBG
151
152 CERRWARN += -_gcc=-Wno-parentheses
153 CERRWARN += $(CNOWARN_UNINIT)
154 CERRWARN += -_gcc=-Wno-switch
155
156 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDAPL_DBG
157 $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
158
159 # not linted
160 SMATCH=off
161
162 .KEEP_STATE:
163
164 all: $(LIBS)
165
166 debug: all
167
168 lint: lintcheck
169
170 pics/%.o: $(TAVORSRCDIR)/%.c
171 $(COMPILE.c) -o $@ $<
172 $(POST_PROCESS_O)
173
|