56 lines
954 B
Makefile
Executable File
56 lines
954 B
Makefile
Executable File
#
|
|
# uts/sun4e/rootnex/Makefile
|
|
# Copyright (c) 1991 by Sun Microsystems, Inc.
|
|
#
|
|
#ident "@(#)Makefile 1.5 94/06/02 SMI"
|
|
#
|
|
# This makefile drives the production of the rootnex driver
|
|
#
|
|
# sun4e implementation architecture dependent
|
|
#
|
|
|
|
#
|
|
# Path to the base of the uts directory tree (usually /usr/src/uts).
|
|
#
|
|
UTSBASE = ../..
|
|
|
|
#
|
|
# Define the module and object file sets.
|
|
#
|
|
MODULE = rootnex
|
|
OBJECTS = $(ROOTNEX_OBJS:%=$(OBJS_DIR)/%)
|
|
LINTS = $(ROOTNEX_OBJS:%.o=$(LINTS_DIR)/%.ln)
|
|
ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
|
|
|
|
|
|
#
|
|
# Include common rules.
|
|
#
|
|
include $(UTSBASE)/sun4e/Makefile.sun4e
|
|
MODSTUBS_DIR = $(OBJS_DIR)
|
|
$(MODSTUBS_O) := AS_CPPFLAGS += -DROOTNEX_MODULE
|
|
CLEANFILES += $(MODSTUBS_O)
|
|
CLOBBERFILES += $(MODULE)
|
|
|
|
#
|
|
# lint pass one enforcement
|
|
#
|
|
CFLAGS += -v
|
|
|
|
#
|
|
# Default build targets.
|
|
#
|
|
.KEEP_STATE:
|
|
|
|
all: $(MODULE)
|
|
|
|
lint: $(MODULE).lint
|
|
|
|
|
|
install: $(MODULE) $(ROOTMODULE)
|
|
|
|
#
|
|
# Include common targets.
|
|
#
|
|
include $(UTSBASE)/sun4e/Makefile.targ
|