52 lines
838 B
Makefile
Executable File
52 lines
838 B
Makefile
Executable File
#
|
|
# uts/sparc/elfexec/Makefile
|
|
# Copyright (c) 1991-1994, by Sun Microsystems, Inc.
|
|
#
|
|
#ident "@(#)Makefile 1.7 94/04/20 SMI"
|
|
#
|
|
# This makefile drives the production of the elfexec exec kernel
|
|
# module.
|
|
#
|
|
# 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 = elfexec
|
|
OBJECTS = $(ELFEXEC_OBJS:%=$(OBJS_DIR)/%)
|
|
LINTS = $(ELFEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
|
|
ROOTMODULE = $(ROOT_EXEC_DIR)/$(MODULE)
|
|
|
|
#
|
|
# Include common rules.
|
|
#
|
|
include $(UTSBASE)/sparc/Makefile.sparc
|
|
|
|
#
|
|
# Overrides.
|
|
#
|
|
CLOBBERFILES += $(MODULE)
|
|
CFLAGS += -v
|
|
|
|
#
|
|
# Default build targets.
|
|
#
|
|
.KEEP_STATE:
|
|
|
|
all: $(MODULE)
|
|
|
|
lint: $(MODULE).lint
|
|
|
|
install: $(MODULE) $(ROOTMODULE)
|
|
|
|
#
|
|
# Include common targets.
|
|
#
|
|
include $(UTSBASE)/sparc/Makefile.targ
|