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