xref: /titanic_52/usr/src/uts/sparc/ipd/Makefile (revision b85ab92fb289cb50f00b70ad450c8689e3f9f754)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2012 Joyent, Inc.  All rights reserved.
14# Copyright (c) 2014 Igor Kozhukhov <ikozhukhov@gmail.com>
15# Use is subject to license terms.
16# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
17#
18
19UTSBASE	= ../..
20
21MODULE		= ipd
22OBJECTS		= $(IPD_OBJS:%=$(OBJS_DIR)/%)
23LINTS		= $(IPD_OBJS:%.o=$(LINTS_DIR)/%.ln)
24ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
25CONF_SRCDIR	= $(UTSBASE)/common/inet/ipd
26
27include $(UTSBASE)/sparc/Makefile.sparc
28
29ALL_TARGET	= $(BINARY) $(SRC_CONFILE)
30LINT_TARGET	= $(MODULE).lint
31INSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
32
33LDFLAGS += -dy -Nmisc/neti -Nmisc/hook
34
35.KEEP_STATE:
36
37def:		$(DEF_DEPS)
38
39all:		$(ALL_DEPS)
40
41clean:		$(CLEAN_DEPS)
42
43clobber:	$(CLOBBER_DEPS)
44
45lint:		$(LINT_DEPS)
46
47modlintlib:	$(MODLINTLIB_DEPS)
48
49clean.lint:	$(CLEAN_LINT_DEPS)
50
51install:	$(INSTALL_DEPS)
52
53include $(UTSBASE)/sparc/Makefile.targ
54