45 OBJECTS = $(GENUNIX_OBJS:%=$(OBJS_DIR)/%) \
46 $(NOT_YET_KMODS:%=$(OBJS_DIR)/%)
47
48 LINTS = $(GENUNIX_OBJS:%.o=$(LINTS_DIR)/%.ln) \
49 $(NOT_YET_KMODS:%.o=$(LINTS_DIR)/%.ln)
50
51 ROOTMODULE = $(ROOT_PSM_KERN_DIR)/$(MODULE)
52
53 PLATFORM = sun4u
54 LIBGEN = $(OBJS_DIR)/libgenunix.so
55 LIBSTUBS = $(GENSTUBS_OBJS:%=$(OBJS_DIR)/%)
56
57 #
58 # Include common rules.
59 #
60 include $(UTSBASE)/sparc/Makefile.sparc
61
62 #
63 # Define targets
64 #
65 ALL_TARGET = $(LIBGEN)
66 LINT_TARGET = $(MODULE).lint
67 INSTALL_TARGET = $(GENUNIX) $(ROOTMODULE)
68
69 #
70 # Override defaults
71 #
72 CLEANFILES += $(LIBSTUBS) $(LIBGEN)
73
74 LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lint-libs/$(OBJS_DIR)
75 LINT_LIB = $(LINT_LIB_DIR)/llib-lunix.ln
76 GEN_LINT_LIB =
77
78 BINARY =
79
80 CLOBBERFILES += $(GENUNIX)
81
82 #
83 # Non-patch genunix builds merge a version of the ip module called ipctf. This
84 # is to ensure that the common network-related types are included in genunix and
85 # can thus be uniquified out of other modules. We don't want to do this for
86 # patch builds, since we can't guarantee that ip and genunix will be in the same
87 # patch.
|
45 OBJECTS = $(GENUNIX_OBJS:%=$(OBJS_DIR)/%) \
46 $(NOT_YET_KMODS:%=$(OBJS_DIR)/%)
47
48 LINTS = $(GENUNIX_OBJS:%.o=$(LINTS_DIR)/%.ln) \
49 $(NOT_YET_KMODS:%.o=$(LINTS_DIR)/%.ln)
50
51 ROOTMODULE = $(ROOT_PSM_KERN_DIR)/$(MODULE)
52
53 PLATFORM = sun4u
54 LIBGEN = $(OBJS_DIR)/libgenunix.so
55 LIBSTUBS = $(GENSTUBS_OBJS:%=$(OBJS_DIR)/%)
56
57 #
58 # Include common rules.
59 #
60 include $(UTSBASE)/sparc/Makefile.sparc
61
62 #
63 # Define targets
64 #
65 ALL_TARGET = $(LIBGEN) $(GENUNIX)
66 LINT_TARGET = $(MODULE).lint
67 INSTALL_TARGET = $(LIBGEN) $(GENUNIX) $(ROOTMODULE)
68
69 #
70 # Override defaults
71 #
72 CLEANFILES += $(LIBSTUBS) $(LIBGEN)
73
74 LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lint-libs/$(OBJS_DIR)
75 LINT_LIB = $(LINT_LIB_DIR)/llib-lunix.ln
76 GEN_LINT_LIB =
77
78 BINARY =
79
80 CLOBBERFILES += $(GENUNIX)
81
82 #
83 # Non-patch genunix builds merge a version of the ip module called ipctf. This
84 # is to ensure that the common network-related types are included in genunix and
85 # can thus be uniquified out of other modules. We don't want to do this for
86 # patch builds, since we can't guarantee that ip and genunix will be in the same
87 # patch.
|