xref: /illumos-gate/usr/src/cmd/cmd-inet/etc/sock2path.d/Makefile (revision 15f90b02bdacbf0ae47fa105944f15b6596f9748)
1d2b5b2d3SAnders Persson#
2d2b5b2d3SAnders Persson# CDDL HEADER START
3d2b5b2d3SAnders Persson#
4d2b5b2d3SAnders Persson# The contents of this file are subject to the terms of the
5d2b5b2d3SAnders Persson# Common Development and Distribution License (the "License").
6d2b5b2d3SAnders Persson# You may not use this file except in compliance with the License.
7d2b5b2d3SAnders Persson#
8d2b5b2d3SAnders Persson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9d2b5b2d3SAnders Persson# or http://www.opensolaris.org/os/licensing.
10d2b5b2d3SAnders Persson# See the License for the specific language governing permissions
11d2b5b2d3SAnders Persson# and limitations under the License.
12d2b5b2d3SAnders Persson#
13d2b5b2d3SAnders Persson# When distributing Covered Code, include this CDDL HEADER in each
14d2b5b2d3SAnders Persson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15d2b5b2d3SAnders Persson# If applicable, add the following below this CDDL HEADER, with the
16d2b5b2d3SAnders Persson# fields enclosed by brackets "[]" replaced with your own identifying
17d2b5b2d3SAnders Persson# information: Portions Copyright [yyyy] [name of copyright owner]
18d2b5b2d3SAnders Persson#
19d2b5b2d3SAnders Persson# CDDL HEADER END
20d2b5b2d3SAnders Persson#
21d2b5b2d3SAnders Persson# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
22*15f90b02SGarrett D'Amore# Copyright 2022 Garrett D'Amore
23d2b5b2d3SAnders Persson#
24d2b5b2d3SAnders Persson# cmd/cmd-inet/etc/sock2path.d/Makefile
25d2b5b2d3SAnders Persson#
26d2b5b2d3SAnders Persson
27d2b5b2d3SAnders PerssonSOCK2PATHFILES= \
28d2b5b2d3SAnders Persson    driver%2Fnetwork%2Fbpf \
29d2b5b2d3SAnders Persson    driver%2Fnetwork%2Frds \
30d2b5b2d3SAnders Persson    driver%2Fnetwork%2Frdsv3 \
31d2b5b2d3SAnders Persson    driver%2Fnetwork%2Fsdp \
32*15f90b02SGarrett D'Amore    system%2Fkernel
33d2b5b2d3SAnders Persson
34d2b5b2d3SAnders Perssoninclude ../../../Makefile.cmd
35d2b5b2d3SAnders Persson
36d2b5b2d3SAnders PerssonETCSOCK2PATHDIR=	$(ROOTETC)/sock2path.d
37d2b5b2d3SAnders PerssonETCSOCK2PATHFILES=	$(SOCK2PATHFILES:%=$(ETCSOCK2PATHDIR)/%)
38d2b5b2d3SAnders Persson
39d2b5b2d3SAnders PerssonFILEMODE=	0644
40d2b5b2d3SAnders Persson
41d2b5b2d3SAnders Persson.KEEP_STATE:
42d2b5b2d3SAnders Persson
43d2b5b2d3SAnders Perssonall:
44d2b5b2d3SAnders Perssoninstall:	$(ETCSOCK2PATHDIR) $(ETCSOCK2PATHFILES)
45d2b5b2d3SAnders Persson
46d2b5b2d3SAnders Persson$(ETCSOCK2PATHDIR)/%: %
47d2b5b2d3SAnders Persson		$(INS.file)
48d2b5b2d3SAnders Persson
49d2b5b2d3SAnders Persson$(ETCSOCK2PATHDIR):
50d2b5b2d3SAnders Persson		$(INS.dir)
51