2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
22 #
23
24 # Needed for ROOTFS_LIBDIR definition
25 include ../../../../lib/Makefile.lib
26
27 PROG= ipmgmtd
28 OBJS= ipmgmt_main.o ipmgmt_door.o ipmgmt_persist.o ipmgmt_util.o
29 SRCS= $(OBJS:.o=.c)
30 SVCMETHOD= net-ipmgmt
31 MANIFEST= network-ipmgmt.xml
32 CFGFILES= ipadm.conf
33
34 # Needed for ROOTETC definition
35 include ../../../Makefile.cmd
36
37 ROOTCFGDIR= $(ROOTETC)/ipadm
38 ROOTCFGFILES= $(CFGFILES:%=$(ROOTCFGDIR)/%)
39 ROOTMANIFESTDIR= $(ROOTSVCNETWORK)
40
41 CERRWARN += -_gcc=-Wno-switch
42 CERRWARN += -_gcc=-Wno-uninitialized
43
44 $(ROOTCFGFILES) := OWNER= ipadm
45 $(ROOTCFGFILES) := GROUP= sys
46 $(ROOTCFGFILES) := FILEMODE= 644
47
48 ROOTCMDDIR= $(ROOTFS_LIBDIR)/inet
|
2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
22 # Copyright 2015 Joyent, Inc.
23 #
24
25 # Needed for ROOTFS_LIBDIR definition
26 include ../../../../lib/Makefile.lib
27
28 PROG= ipmgmtd
29 OBJS= ipmgmt_main.o ipmgmt_door.o ipmgmt_persist.o ipmgmt_util.o \
30 ipmgmt_path.o
31 SRCS= $(OBJS:.o=.c)
32 SVCMETHOD= net-ipmgmt
33 MANIFEST= network-ipmgmt.xml
34 CFGFILES= ipadm.conf
35
36 # Needed for ROOTETC definition
37 include ../../../Makefile.cmd
38
39 ROOTCFGDIR= $(ROOTETC)/ipadm
40 ROOTCFGFILES= $(CFGFILES:%=$(ROOTCFGDIR)/%)
41 ROOTMANIFESTDIR= $(ROOTSVCNETWORK)
42
43 CERRWARN += -_gcc=-Wno-switch
44 CERRWARN += -_gcc=-Wno-uninitialized
45
46 $(ROOTCFGFILES) := OWNER= ipadm
47 $(ROOTCFGFILES) := GROUP= sys
48 $(ROOTCFGFILES) := FILEMODE= 644
49
50 ROOTCMDDIR= $(ROOTFS_LIBDIR)/inet
|