114 CLEANFILES += ../common/procfs.sed ../common/procfs.d
115 CLEANFILES += ../common/io.sed ../common/io.d
116 CLEANFILES += ../common/ip.sed ../common/ip.d
117 CLEANFILES += ../common/net.sed ../common/net.d
118 CLEANFILES += ../common/errno.d ../common/signal.d
119 CLEANFILES += ../common/dt_errtags.c ../common/dt_names.c
120 CLEANFILES += ../common/sysevent.sed ../common/sysevent.d
121 CLEANFILES += ../common/tcp.sed ../common/tcp.d
122 CLEANFILES += ../common/udp.sed ../common/udp.d
123 CLEANFILES += $(LIBDAUDITOBJS) $(DRTIOBJS)
124
125 CLOBBERFILES += $(LIBDAUDIT) drti.o
126
127 CPPFLAGS += -I../common -I.
128 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
129 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
130
131 CERRWARN += -_gcc=-Wno-unused-label
132 CERRWARN += -_gcc=-Wno-unused-variable
133 CERRWARN += -_gcc=-Wno-parentheses
134 CERRWARN += -_gcc=-Wno-uninitialized
135 CERRWARN += -_gcc=-Wno-switch
136
137 # not linted
138 SMATCH=off
139
140 YYCFLAGS =
141 LDLIBS += -lgen -lproc -lrtld_db -lnsl -lsocket -lctf -lelf -lc
142 DRTILDLIBS = $(LDLIBS.lib) -lc
143 LIBDAUDITLIBS = $(LDLIBS.lib) -lmapmalloc -lc -lproc
144
145 yydebug := YYCFLAGS += -DYYDEBUG
146
147 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
148
149 LFLAGS = -t -v
150 YFLAGS = -d -v
151
152 ROOTDLIBDIR = $(ROOT)/usr/lib/dtrace
153 ROOTDLIBDIR64 = $(ROOT)/usr/lib/dtrace/64
154
|
114 CLEANFILES += ../common/procfs.sed ../common/procfs.d
115 CLEANFILES += ../common/io.sed ../common/io.d
116 CLEANFILES += ../common/ip.sed ../common/ip.d
117 CLEANFILES += ../common/net.sed ../common/net.d
118 CLEANFILES += ../common/errno.d ../common/signal.d
119 CLEANFILES += ../common/dt_errtags.c ../common/dt_names.c
120 CLEANFILES += ../common/sysevent.sed ../common/sysevent.d
121 CLEANFILES += ../common/tcp.sed ../common/tcp.d
122 CLEANFILES += ../common/udp.sed ../common/udp.d
123 CLEANFILES += $(LIBDAUDITOBJS) $(DRTIOBJS)
124
125 CLOBBERFILES += $(LIBDAUDIT) drti.o
126
127 CPPFLAGS += -I../common -I.
128 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
129 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
130
131 CERRWARN += -_gcc=-Wno-unused-label
132 CERRWARN += -_gcc=-Wno-unused-variable
133 CERRWARN += -_gcc=-Wno-parentheses
134 CERRWARN += $(CNOWARN_UNINIT)
135 CERRWARN += -_gcc=-Wno-switch
136
137 # not linted
138 SMATCH=off
139
140 YYCFLAGS =
141 LDLIBS += -lgen -lproc -lrtld_db -lnsl -lsocket -lctf -lelf -lc
142 DRTILDLIBS = $(LDLIBS.lib) -lc
143 LIBDAUDITLIBS = $(LDLIBS.lib) -lmapmalloc -lc -lproc
144
145 yydebug := YYCFLAGS += -DYYDEBUG
146
147 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
148
149 LFLAGS = -t -v
150 YFLAGS = -d -v
151
152 ROOTDLIBDIR = $(ROOT)/usr/lib/dtrace
153 ROOTDLIBDIR64 = $(ROOT)/usr/lib/dtrace/64
154
|