Print this page
OS-279 #pragma D option zone= does not work on installed, halted zones


 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 
 155 ROOTDLIBS = $(DLIBSRCS:%=$(ROOTDLIBDIR)/%)
 156 ROOTDOBJS = $(ROOTDLIBDIR)/$(DRTIOBJ) $(ROOTDLIBDIR)/$(LIBDAUDIT)
 157 ROOTDOBJS64 = $(ROOTDLIBDIR64)/$(DRTIOBJ) $(ROOTDLIBDIR64)/$(LIBDAUDIT)
 158 
 159 $(ROOTDLIBDIR)/%.d := FILEMODE=444
 160 $(ROOTDLIBDIR)/%.o := FILEMODE=444
 161 $(ROOTDLIBDIR64)/%.o := FILEMODE=444




 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 -lzonecfg
 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 
 155 ROOTDLIBS = $(DLIBSRCS:%=$(ROOTDLIBDIR)/%)
 156 ROOTDOBJS = $(ROOTDLIBDIR)/$(DRTIOBJ) $(ROOTDLIBDIR)/$(LIBDAUDIT)
 157 ROOTDOBJS64 = $(ROOTDLIBDIR64)/$(DRTIOBJ) $(ROOTDLIBDIR64)/$(LIBDAUDIT)
 158 
 159 $(ROOTDLIBDIR)/%.d := FILEMODE=444
 160 $(ROOTDLIBDIR)/%.o := FILEMODE=444
 161 $(ROOTDLIBDIR64)/%.o := FILEMODE=444