xref: /illumos-gate/usr/src/uts/intel/cc_sunreno/Makefile (revision a5619348a00282a0a129610076aefdb4dd7ab2ab)
1#
2# CDDL HEADER START
3#
4# This file and its contents are supplied under the terms of the
5# Common Development and Distribution License ("CDDL"), version 1.0.
6# You may only use this file in accordance with the terms of version
7# 1.0 of the CDDL.
8#
9# A full copy of the text of the CDDL should have accompanied this
10# source.  A copy of the CDDL is also available via the Internet at
11# http://www.illumos.org/license/CDDL.
12#
13# CDDL HEADER END
14#
15# Copyright (c) 2017 by Delphix. All rights reserved.
16#
17
18#
19#	Path to the base of the uts directory tree (usually /usr/src/uts).
20#
21UTSBASE	= ../..
22
23#
24#	Define the module and object file sets.
25#
26MODULE		= cc_sunreno
27OBJECTS		= $(CC_SUNRENO_OBJS:%=$(OBJS_DIR)/%)
28ROOTMODULE	= $(ROOT_CC_DIR)/$(MODULE)
29
30#
31#	Include common rules.
32#
33include $(UTSBASE)/intel/Makefile.intel
34
35#
36#	Define targets
37#
38ALL_TARGET	= $(BINARY)
39INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
40
41#
42#	Overrides.
43#
44CFLAGS		+= $(CCVERBOSE)
45LDFLAGS		+= -N misc/cc
46
47#
48#	Default build targets.
49#
50.KEEP_STATE:
51
52def:		$(DEF_DEPS)
53
54all:		$(ALL_DEPS)
55
56clean:		$(CLEAN_DEPS)
57
58clobber:	$(CLOBBER_DEPS)
59
60install:	$(INSTALL_DEPS)
61
62#
63#	Include common targets.
64#
65include $(UTSBASE)/intel/Makefile.targ
66