52 lines
879 B
Makefile
Executable File
52 lines
879 B
Makefile
Executable File
#
|
|
# uts/sparc/clone/Makefile
|
|
# Copyright (c) 1991-1994, by Sun Microsystems, Inc.
|
|
#
|
|
#ident "@(#)Makefile 1.5 94/04/20 SMI"
|
|
#
|
|
# This makefile drives the production of the clone driver
|
|
#
|
|
# sparc architecture dependent
|
|
#
|
|
|
|
#
|
|
# Path to the base of the uts directory tree (usually /usr/src/uts).
|
|
#
|
|
UTSBASE = ../..
|
|
|
|
#
|
|
# Define the module and object file sets.
|
|
#
|
|
MODULE = clone
|
|
OBJECTS = $(CLONE_OBJS:%=$(OBJS_DIR)/%)
|
|
LINTS = $(CLONE_OBJS:%.o=$(LINTS_DIR)/%.ln)
|
|
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
|
|
CONF_SRCDIR = $(UTSBASE)/common/io
|
|
|
|
#
|
|
# Include common rules.
|
|
#
|
|
include $(UTSBASE)/sparc/Makefile.sparc
|
|
|
|
#
|
|
# Overrides.
|
|
#
|
|
CLOBBERFILES += $(MODULE)
|
|
CFLAGS += -v
|
|
|
|
#
|
|
# Default build targets.
|
|
#
|
|
.KEEP_STATE:
|
|
|
|
all: $(MODULE) $(SRC_CONFILE)
|
|
|
|
lint: $(MODULE).lint
|
|
|
|
install: $(MODULE) $(ROOTMODULE) $(ROOT_CONFFILE)
|
|
|
|
#
|
|
# Include common targets.
|
|
#
|
|
include $(UTSBASE)/sparc/Makefile.targ
|