Makefile revision 1767006bb066ef500b90b432fba79d63d0d09b36
7184N/A#
7184N/A# This file and its contents are supplied under the terms of the
7184N/A# Common Development and Distribution License ("CDDL"), version 1.0.
7184N/A# You may only use this file in accordance with the terms of version
7184N/A# 1.0 of the CDDL.
7184N/A#
7184N/A# A full copy of the text of the CDDL should have accompanied this
7184N/A# source. A copy of the CDDL is also available via the Internet at
7184N/A# http://www.illumos.org/license/CDDL.
7184N/A#
7184N/A
7184N/A#
7184N/A# Copyright (c) 2014 Joyent, Inc. All rights reserved.
7184N/A#
7184N/A
7184N/A#
7184N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
7184N/A#
7184N/AUTSBASE = ../..
7184N/A
7184N/A#
7184N/A# Define the module and object file sets.
7184N/A#
7184N/AMODULE = eventfd
7184N/AOBJECTS = $(EVENTFD_OBJS:%=$(OBJS_DIR)/%)
7184N/ALINTS = $(EVENTFD_OBJS:%.o=$(LINTS_DIR)/%.ln)
7184N/AROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
7184N/ACONF_SRCDIR = $(UTSBASE)/common/io
7184N/A
7184N/A#
7184N/A# Include common rules.
7184N/A#
7184N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
7184N/A
7184N/ACERRWARN += -_gcc=-Wno-parentheses
7184N/A
7184N/A#
7184N/A# Define targets
7184N/A#
7184N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
7184N/ALINT_TARGET = $(MODULE).lint
7184N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
7184N/A
7184N/A#
7184N/A# Default build targets.
7184N/A#
7184N/A.KEEP_STATE:
7184N/A
7184N/Adef: $(DEF_DEPS)
7184N/A
7184N/Aall: $(ALL_DEPS)
7184N/A
7184N/Aclean: $(CLEAN_DEPS)
7184N/A
7184N/Aclobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ