Makefile revision 6a72db4a7fa12c3e0d1c1cf91a07390739fa0fbf
402N/A#
402N/A# This file and its contents are supplied under the terms of the
402N/A# Common Development and Distribution License ("CDDL"), version 1.0.
402N/A# You may only use this file in accordance with the terms of version
402N/A# 1.0 of the CDDL.
402N/A#
402N/A# A full copy of the text of the CDDL should have accompanied this
402N/A# source. A copy of the CDDL is also available via the Internet at
402N/A# http://www.illumos.org/license/CDDL.
402N/A#
402N/A
402N/A#
402N/A# Copyright (c) 2015 Joyent, Inc. All rights reserved.
402N/A#
402N/A
402N/A#
402N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
402N/A#
402N/AUTSBASE = ../..
402N/A
402N/A#
402N/A# Define the module and object file sets.
402N/A#
402N/AMODULE = timerfd
402N/AOBJECTS = $(TIMERFD_OBJS:%=$(OBJS_DIR)/%)
402N/ALINTS = $(TIMERFD_OBJS:%.o=$(LINTS_DIR)/%.ln)
402N/AROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
402N/ACONF_SRCDIR = $(UTSBASE)/common/io
402N/A
402N/A#
402N/A# Include common rules.
402N/A#
402N/Ainclude $(UTSBASE)/intel/Makefile.intel
402N/A
402N/ACERRWARN += -_gcc=-Wno-parentheses
402N/A
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Default build targets.
#
.KEEP_STATE:
def: $(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)/intel/Makefile.targ