Print this page
3903 DTrace SCTP Provider


  81 DLINKSRCS = dlink_common.c dlink_init.c dlink_audit.c
  82 
  83 DLIBSRCS += \
  84         errno.d \
  85         fc.d \
  86         io.d \
  87         ip.d \
  88         iscsit.d \
  89         net.d \
  90         nfs.d \
  91         nfssrv.d \
  92         procfs.d \
  93         regs.d \
  94         sched.d \
  95         signal.d \
  96         scsi.d \
  97         srp.d \
  98         sysevent.d \
  99         tcp.d \
 100         udp.d \

 101         unistd.d
 102 
 103 include ../../Makefile.lib
 104 
 105 SRCS = $(LIBSRCS:%.c=../common/%.c) $(LIBISASRCS:%.c=../$(MACH)/%.c) 
 106 LIBS = $(DYNLIB) $(LINTLIB)
 107 
 108 SRCDIR = ../common
 109 
 110 CLEANFILES += dt_lex.c dt_grammar.c dt_grammar.h y.output
 111 CLEANFILES += ../common/procfs.sed ../common/procfs.d
 112 CLEANFILES += ../common/io.sed ../common/io.d
 113 CLEANFILES += ../common/ip.sed ../common/ip.d
 114 CLEANFILES += ../common/net.sed ../common/net.d
 115 CLEANFILES += ../common/errno.d ../common/signal.d
 116 CLEANFILES += ../common/dt_errtags.c ../common/dt_names.c
 117 CLEANFILES += ../common/sysevent.sed ../common/sysevent.d
 118 CLEANFILES += ../common/tcp.sed ../common/tcp.d
 119 CLEANFILES += ../common/udp.sed ../common/udp.d

 120 CLEANFILES += $(LIBDAUDITOBJS) $(DRTIOBJS)
 121 
 122 CLOBBERFILES += $(LIBDAUDIT) drti.o
 123 
 124 CPPFLAGS += -I../common -I.
 125 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
 126 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
 127 
 128 CERRWARN += -_gcc=-Wno-unused-label
 129 CERRWARN += -_gcc=-Wno-unused-variable
 130 CERRWARN += -_gcc=-Wno-parentheses
 131 CERRWARN += -_gcc=-Wno-uninitialized
 132 CERRWARN += -_gcc=-Wno-switch
 133 
 134 YYCFLAGS =
 135 LDLIBS += -lgen -lproc -lrtld_db -lnsl -lsocket -lctf -lelf -lc
 136 DRTILDLIBS = $(LDLIBS.lib) -lc
 137 
 138 yydebug := YYCFLAGS += -DYYDEBUG
 139 


 192 
 193 ../common/%.sed: ../common/%.sed.in
 194         $(COMPILE.cpp) -D_KERNEL $< | tr -d ' ' | tr '"' '@' | \
 195             sed 's/\&/\\\&/g' | grep '^s/' > $@
 196 
 197 ../common/procfs.d: ../common/procfs.sed ../common/procfs.d.in
 198         sed -f ../common/procfs.sed < ../common/procfs.d.in > $@
 199 
 200 ../common/io.d: ../common/io.sed ../common/io.d.in
 201         sed -f ../common/io.sed < ../common/io.d.in > $@
 202 
 203 ../common/ip.d: ../common/ip.sed ../common/ip.d.in
 204         sed -f ../common/ip.sed < ../common/ip.d.in > $@
 205 
 206 ../common/net.d: ../common/net.sed ../common/net.d.in
 207         sed -f ../common/net.sed < ../common/net.d.in > $@
 208 
 209 ../common/sysevent.d: ../common/sysevent.sed ../common/sysevent.d.in
 210         sed -f ../common/sysevent.sed < ../common/sysevent.d.in > $@
 211 
 212 ../common/tcp.d: ..//common/tcp.sed ../common/tcp.d.in
 213         sed -f ../common/tcp.sed < ../common/tcp.d.in > $@
 214 
 215 ../common/udp.d: ../common/udp.sed ../common/udp.d.in
 216         sed -f ../common/udp.sed < ../common/udp.d.in > $@
 217 



 218 pics/%.o: ../$(MACH)/%.c
 219         $(COMPILE.c) -o $@ $<
 220         $(POST_PROCESS_O)
 221 
 222 pics/%.o: ../$(MACH)/%.s
 223         $(COMPILE.s) -o $@ $<
 224         $(POST_PROCESS_O)
 225 
 226 $(DRTIOBJ): $(DRTIOBJS)
 227         $(LD) -o $@ -r -Blocal -Breduce $(DRTIOBJS)
 228         $(POST_PROCESS_O)
 229 
 230 $(LIBDAUDIT): $(LIBDAUDITOBJS)
 231         $(LINK.c) -o $@ $(GSHARED) -h$(LIBDAUDIT) $(ZTEXT) $(ZDEFS) $(BDIRECT) \
 232             $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%) $(LIBDAUDITOBJS) \
 233             -lmapmalloc -lc -lproc
 234         $(POST_PROCESS_SO)
 235 
 236 $(ROOTDLIBDIR):
 237         $(INS.dir)




  81 DLINKSRCS = dlink_common.c dlink_init.c dlink_audit.c
  82 
  83 DLIBSRCS += \
  84         errno.d \
  85         fc.d \
  86         io.d \
  87         ip.d \
  88         iscsit.d \
  89         net.d \
  90         nfs.d \
  91         nfssrv.d \
  92         procfs.d \
  93         regs.d \
  94         sched.d \
  95         signal.d \
  96         scsi.d \
  97         srp.d \
  98         sysevent.d \
  99         tcp.d \
 100         udp.d \
 101         sctp.d \
 102         unistd.d
 103 
 104 include ../../Makefile.lib
 105 
 106 SRCS = $(LIBSRCS:%.c=../common/%.c) $(LIBISASRCS:%.c=../$(MACH)/%.c) 
 107 LIBS = $(DYNLIB) $(LINTLIB)
 108 
 109 SRCDIR = ../common
 110 
 111 CLEANFILES += dt_lex.c dt_grammar.c dt_grammar.h y.output
 112 CLEANFILES += ../common/procfs.sed ../common/procfs.d
 113 CLEANFILES += ../common/io.sed ../common/io.d
 114 CLEANFILES += ../common/ip.sed ../common/ip.d
 115 CLEANFILES += ../common/net.sed ../common/net.d
 116 CLEANFILES += ../common/errno.d ../common/signal.d
 117 CLEANFILES += ../common/dt_errtags.c ../common/dt_names.c
 118 CLEANFILES += ../common/sysevent.sed ../common/sysevent.d
 119 CLEANFILES += ../common/tcp.sed ../common/tcp.d
 120 CLEANFILES += ../common/udp.sed ../common/udp.d
 121 CLEANFILES += ../common/sctp.sed ../common/sctp.d
 122 CLEANFILES += $(LIBDAUDITOBJS) $(DRTIOBJS)
 123 
 124 CLOBBERFILES += $(LIBDAUDIT) drti.o
 125 
 126 CPPFLAGS += -I../common -I.
 127 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
 128 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
 129 
 130 CERRWARN += -_gcc=-Wno-unused-label
 131 CERRWARN += -_gcc=-Wno-unused-variable
 132 CERRWARN += -_gcc=-Wno-parentheses
 133 CERRWARN += -_gcc=-Wno-uninitialized
 134 CERRWARN += -_gcc=-Wno-switch
 135 
 136 YYCFLAGS =
 137 LDLIBS += -lgen -lproc -lrtld_db -lnsl -lsocket -lctf -lelf -lc
 138 DRTILDLIBS = $(LDLIBS.lib) -lc
 139 
 140 yydebug := YYCFLAGS += -DYYDEBUG
 141 


 194 
 195 ../common/%.sed: ../common/%.sed.in
 196         $(COMPILE.cpp) -D_KERNEL $< | tr -d ' ' | tr '"' '@' | \
 197             sed 's/\&/\\\&/g' | grep '^s/' > $@
 198 
 199 ../common/procfs.d: ../common/procfs.sed ../common/procfs.d.in
 200         sed -f ../common/procfs.sed < ../common/procfs.d.in > $@
 201 
 202 ../common/io.d: ../common/io.sed ../common/io.d.in
 203         sed -f ../common/io.sed < ../common/io.d.in > $@
 204 
 205 ../common/ip.d: ../common/ip.sed ../common/ip.d.in
 206         sed -f ../common/ip.sed < ../common/ip.d.in > $@
 207 
 208 ../common/net.d: ../common/net.sed ../common/net.d.in
 209         sed -f ../common/net.sed < ../common/net.d.in > $@
 210 
 211 ../common/sysevent.d: ../common/sysevent.sed ../common/sysevent.d.in
 212         sed -f ../common/sysevent.sed < ../common/sysevent.d.in > $@
 213 
 214 ../common/tcp.d: ../common/tcp.sed ../common/tcp.d.in
 215         sed -f ../common/tcp.sed < ../common/tcp.d.in > $@
 216 
 217 ../common/udp.d: ../common/udp.sed ../common/udp.d.in
 218         sed -f ../common/udp.sed < ../common/udp.d.in > $@
 219 
 220 ../common/sctp.d: ../common/sctp.sed ../common/sctp.d.in
 221         sed -f ../common/sctp.sed < ../common/sctp.d.in > $@
 222 
 223 pics/%.o: ../$(MACH)/%.c
 224         $(COMPILE.c) -o $@ $<
 225         $(POST_PROCESS_O)
 226 
 227 pics/%.o: ../$(MACH)/%.s
 228         $(COMPILE.s) -o $@ $<
 229         $(POST_PROCESS_O)
 230 
 231 $(DRTIOBJ): $(DRTIOBJS)
 232         $(LD) -o $@ -r -Blocal -Breduce $(DRTIOBJS)
 233         $(POST_PROCESS_O)
 234 
 235 $(LIBDAUDIT): $(LIBDAUDITOBJS)
 236         $(LINK.c) -o $@ $(GSHARED) -h$(LIBDAUDIT) $(ZTEXT) $(ZDEFS) $(BDIRECT) \
 237             $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%) $(LIBDAUDITOBJS) \
 238             -lmapmalloc -lc -lproc
 239         $(POST_PROCESS_SO)
 240 
 241 $(ROOTDLIBDIR):
 242         $(INS.dir)