xref: /illumos-gate/usr/src/uts/intel/signalfd/Makefile (revision 0aaef2f550fa500248f59b0b8a14225b5afbd198)
1*3d729aecSJerry Jelinek#
2*3d729aecSJerry Jelinek# This file and its contents are supplied under the terms of the
3*3d729aecSJerry Jelinek# Common Development and Distribution License ("CDDL"), version 1.0.
4*3d729aecSJerry Jelinek# You may only use this file in accordance with the terms of version
5*3d729aecSJerry Jelinek# 1.0 of the CDDL.
6*3d729aecSJerry Jelinek#
7*3d729aecSJerry Jelinek# A full copy of the text of the CDDL should have accompanied this
8*3d729aecSJerry Jelinek# source.  A copy of the CDDL is also available via the Internet at
9*3d729aecSJerry Jelinek# http://www.illumos.org/license/CDDL.
10*3d729aecSJerry Jelinek#
11*3d729aecSJerry Jelinek
12*3d729aecSJerry Jelinek#
13*3d729aecSJerry Jelinek# Copyright 2015 Joyent, Inc.
14*3d729aecSJerry Jelinek#
15*3d729aecSJerry Jelinek
16*3d729aecSJerry Jelinek#
17*3d729aecSJerry Jelinek#	Path to the base of the uts directory tree (usually /usr/src/uts).
18*3d729aecSJerry Jelinek#
19*3d729aecSJerry JelinekUTSBASE	= ../..
20*3d729aecSJerry Jelinek
21*3d729aecSJerry Jelinek#
22*3d729aecSJerry Jelinek#	Define the module and object file sets.
23*3d729aecSJerry Jelinek#
24*3d729aecSJerry JelinekMODULE		= signalfd
25*3d729aecSJerry JelinekOBJECTS		= $(SIGNALFD_OBJS:%=$(OBJS_DIR)/%)
26*3d729aecSJerry JelinekROOTMODULE	= $(USR_DRV_DIR)/$(MODULE)
27*3d729aecSJerry JelinekCONF_SRCDIR	= $(UTSBASE)/common/io
28*3d729aecSJerry Jelinek
29*3d729aecSJerry Jelinek#
30*3d729aecSJerry Jelinek#	Include common rules.
31*3d729aecSJerry Jelinek#
32*3d729aecSJerry Jelinekinclude $(UTSBASE)/intel/Makefile.intel
33*3d729aecSJerry Jelinek
34*3d729aecSJerry JelinekCERRWARN	+= -_gcc=-Wno-parentheses
35*3d729aecSJerry Jelinek
36*3d729aecSJerry Jelinek#
37*3d729aecSJerry Jelinek#	Define targets
38*3d729aecSJerry Jelinek#
39*3d729aecSJerry JelinekALL_TARGET	= $(BINARY) $(SRC_CONFILE)
40*3d729aecSJerry JelinekINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
41*3d729aecSJerry Jelinek
42*3d729aecSJerry Jelinek#
43*3d729aecSJerry Jelinek#	Default build targets.
44*3d729aecSJerry Jelinek#
45*3d729aecSJerry Jelinek.KEEP_STATE:
46*3d729aecSJerry Jelinek
47*3d729aecSJerry Jelinekdef:		$(DEF_DEPS)
48*3d729aecSJerry Jelinek
49*3d729aecSJerry Jelinekall:		$(ALL_DEPS)
50*3d729aecSJerry Jelinek
51*3d729aecSJerry Jelinekclean:		$(CLEAN_DEPS)
52*3d729aecSJerry Jelinek
53*3d729aecSJerry Jelinekclobber:	$(CLOBBER_DEPS)
54*3d729aecSJerry Jelinek
55*3d729aecSJerry Jelinekinstall:	$(INSTALL_DEPS)
56*3d729aecSJerry Jelinek
57*3d729aecSJerry Jelinek#
58*3d729aecSJerry Jelinek#	Include common targets.
59*3d729aecSJerry Jelinek#
60*3d729aecSJerry Jelinekinclude $(UTSBASE)/intel/Makefile.targ
61