xref: /titanic_51/usr/src/uts/sparc/ipd/Makefile (revision 9c720e3bfb657054035cb780c4d222291b7d4917)
1fe77cc04SRobert Mustacchi#
2fe77cc04SRobert Mustacchi# This file and its contents are supplied under the terms of the
3fe77cc04SRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0.
4fe77cc04SRobert Mustacchi# You may only use this file in accordance with the terms of version
5fe77cc04SRobert Mustacchi# 1.0 of the CDDL.
6fe77cc04SRobert Mustacchi#
7fe77cc04SRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this
8fe77cc04SRobert Mustacchi# source.  A copy of the CDDL is also available via the Internet at
9fe77cc04SRobert Mustacchi# http://www.illumos.org/license/CDDL.
10fe77cc04SRobert Mustacchi#
11fe77cc04SRobert Mustacchi
12fe77cc04SRobert Mustacchi#
13fe77cc04SRobert Mustacchi# Copyright 2012 Joyent, Inc.  All rights reserved.
14*9c720e3bSIgor Kozhukhov# Copyright (c) 2014 Igor Kozhukhov <ikozhukhov@gmail.com>
15fe77cc04SRobert Mustacchi# Use is subject to license terms.
16fe77cc04SRobert Mustacchi#
17fe77cc04SRobert Mustacchi
18fe77cc04SRobert MustacchiUTSBASE	= ../..
19fe77cc04SRobert Mustacchi
20fe77cc04SRobert MustacchiMODULE		= ipd
21fe77cc04SRobert MustacchiOBJECTS		= $(IPD_OBJS:%=$(OBJS_DIR)/%)
22fe77cc04SRobert MustacchiLINTS		= $(IPD_OBJS:%.o=$(LINTS_DIR)/%.ln)
23fe77cc04SRobert MustacchiROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
24fe77cc04SRobert MustacchiCONF_SRCDIR	= $(UTSBASE)/common/inet/ipd
25fe77cc04SRobert Mustacchi
26*9c720e3bSIgor Kozhukhovinclude $(UTSBASE)/sparc/Makefile.sparc
27fe77cc04SRobert Mustacchi
28fe77cc04SRobert MustacchiALL_TARGET	= $(BINARY) $(SRC_CONFILE)
29fe77cc04SRobert MustacchiLINT_TARGET	= $(MODULE).lint
30fe77cc04SRobert MustacchiINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
31fe77cc04SRobert Mustacchi
32fe77cc04SRobert MustacchiLDFLAGS += -dy -Nmisc/neti -Nmisch/hook
33fe77cc04SRobert Mustacchi
34fe77cc04SRobert Mustacchi.KEEP_STATE:
35fe77cc04SRobert Mustacchi
36fe77cc04SRobert Mustacchidef:		$(DEF_DEPS)
37fe77cc04SRobert Mustacchi
38fe77cc04SRobert Mustacchiall:		$(ALL_DEPS)
39fe77cc04SRobert Mustacchi
40fe77cc04SRobert Mustacchiclean:		$(CLEAN_DEPS)
41fe77cc04SRobert Mustacchi
42fe77cc04SRobert Mustacchiclobber:	$(CLOBBER_DEPS)
43fe77cc04SRobert Mustacchi
44fe77cc04SRobert Mustacchilint:		$(LINT_DEPS)
45fe77cc04SRobert Mustacchi
46fe77cc04SRobert Mustacchimodlintlib:	$(MODLINTLIB_DEPS)
47fe77cc04SRobert Mustacchi
48fe77cc04SRobert Mustacchiclean.lint:	$(CLEAN_LINT_DEPS)
49fe77cc04SRobert Mustacchi
50fe77cc04SRobert Mustacchiinstall:	$(INSTALL_DEPS)
51fe77cc04SRobert Mustacchi
52*9c720e3bSIgor Kozhukhovinclude $(UTSBASE)/sparc/Makefile.targ
53