24 #
25
26 UTSBASE = ../..
27
28 PLATFORM = sun4u
29 MODULE = dtrace
30 OBJECTS = $(DTRACE_OBJS:%=$(OBJS_DIR)/%)
31 LINTS = $(DTRACE_OBJS:%.o=$(LINTS_DIR)/%.ln)
32 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
33 CONF_SRCDIR = $(UTSBASE)/common/dtrace
34
35 include $(UTSBASE)/sparc/Makefile.sparc
36
37 #
38 # Redefine DSF_DIR
39 #
40 DSF_DIR = $(UTSBASE)/$(PLATFORM)/genassym
41
42 CERRWARN += -_gcc=-Wno-parentheses
43 CERRWARN += -_gcc=-Wno-type-limits
44 CERRWARN += -_gcc=-Wno-uninitialized
45
46 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
47 LINT_TARGET = $(MODULE).lint
48 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
49
50 DTRACE_INC_32 = -I$(UTSBASE)/sparc/v7
51 DTRACE_INC_64 = -I$(UTSBASE)/sparc/v9
52
53 CFLAGS += $(CCVERBOSE)
54 CPPFLAGS += $(DTRACE_INC_$(CLASS))
55 CPPFLAGS += -I$(SRC)/common/util
56
57 DTRACE_XAS_32 = -xarch=v8plus
58 DTRACE_XAS_64 = -xarch=v9
59
60 AS_CPPFLAGS += $(DTRACE_INC_64)
61 ASFLAGS += $(DTRACE_XAS_$(CLASS))
62 AS_INC_PATH += -I$(DSF_DIR)/$(OBJS_DIR)
63
64 ASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/assym.h
|
24 #
25
26 UTSBASE = ../..
27
28 PLATFORM = sun4u
29 MODULE = dtrace
30 OBJECTS = $(DTRACE_OBJS:%=$(OBJS_DIR)/%)
31 LINTS = $(DTRACE_OBJS:%.o=$(LINTS_DIR)/%.ln)
32 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
33 CONF_SRCDIR = $(UTSBASE)/common/dtrace
34
35 include $(UTSBASE)/sparc/Makefile.sparc
36
37 #
38 # Redefine DSF_DIR
39 #
40 DSF_DIR = $(UTSBASE)/$(PLATFORM)/genassym
41
42 CERRWARN += -_gcc=-Wno-parentheses
43 CERRWARN += -_gcc=-Wno-type-limits
44 CERRWARN += $(CNOWARN_UNINIT)
45
46 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
47 LINT_TARGET = $(MODULE).lint
48 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
49
50 DTRACE_INC_32 = -I$(UTSBASE)/sparc/v7
51 DTRACE_INC_64 = -I$(UTSBASE)/sparc/v9
52
53 CFLAGS += $(CCVERBOSE)
54 CPPFLAGS += $(DTRACE_INC_$(CLASS))
55 CPPFLAGS += -I$(SRC)/common/util
56
57 DTRACE_XAS_32 = -xarch=v8plus
58 DTRACE_XAS_64 = -xarch=v9
59
60 AS_CPPFLAGS += $(DTRACE_INC_64)
61 ASFLAGS += $(DTRACE_XAS_$(CLASS))
62 AS_INC_PATH += -I$(DSF_DIR)/$(OBJS_DIR)
63
64 ASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/assym.h
|