# # uts/sun4/mcpp/Makefile # Copyright (c) 1992, by Sun Microsystems, Inc. # #ident "@(#)Makefile 1.3 93/05/26 SMI" # # This makefile drives the production of the mcpp driver kernel module. # # sun4 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 = mcpp OBJECTS = $(MCPP_OBJS:%=$(OBJS_DIR)/%) LINTS = $(MCPP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun/io # # Include common rules. # include $(UTSBASE)/sun4/Makefile.sun4 CLOBBERFILES += $(MODULE) # # Default build targets. # .KEEP_STATE: all: $(MODULE) $(SRC_CONFILE) lint: $(MODULE).lint install: $(MODULE) $(ROOTMODULE) $(ROOT_CONFFILE) # # Include common targets. # include $(UTSBASE)/sun4/Makefile.targ