xref: /illumos-gate/usr/src/cmd/svc/configd/Makefile.shared.com (revision 9b9d39d2a32ff806d2431dbcc50968ef1e6d46b2)
1*9b9d39d2SRichard Lowe#
2*9b9d39d2SRichard Lowe# CDDL HEADER START
3*9b9d39d2SRichard Lowe#
4*9b9d39d2SRichard Lowe# The contents of this file are subject to the terms of the
5*9b9d39d2SRichard Lowe# Common Development and Distribution License (the "License").
6*9b9d39d2SRichard Lowe# You may not use this file except in compliance with the License.
7*9b9d39d2SRichard Lowe#
8*9b9d39d2SRichard Lowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*9b9d39d2SRichard Lowe# or http://www.opensolaris.org/os/licensing.
10*9b9d39d2SRichard Lowe# See the License for the specific language governing permissions
11*9b9d39d2SRichard Lowe# and limitations under the License.
12*9b9d39d2SRichard Lowe#
13*9b9d39d2SRichard Lowe# When distributing Covered Code, include this CDDL HEADER in each
14*9b9d39d2SRichard Lowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*9b9d39d2SRichard Lowe# If applicable, add the following below this CDDL HEADER, with the
16*9b9d39d2SRichard Lowe# fields enclosed by brackets "[]" replaced with your own identifying
17*9b9d39d2SRichard Lowe# information: Portions Copyright [yyyy] [name of copyright owner]
18*9b9d39d2SRichard Lowe#
19*9b9d39d2SRichard Lowe# CDDL HEADER END
20*9b9d39d2SRichard Lowe#
21*9b9d39d2SRichard Lowe#
22*9b9d39d2SRichard Lowe# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*9b9d39d2SRichard Lowe# Use is subject to license terms.
24*9b9d39d2SRichard Lowe#
25*9b9d39d2SRichard Lowe# Copyright 2015 RackTop Systems.
26*9b9d39d2SRichard Lowe# Copyright 2020 Joyent, Inc.
27*9b9d39d2SRichard Lowe#
28*9b9d39d2SRichard Lowe
29*9b9d39d2SRichard LowePROG = svc.configd
30*9b9d39d2SRichard LoweOBJS =			\
31*9b9d39d2SRichard Lowe	backend.o	\
32*9b9d39d2SRichard Lowe	configd.o	\
33*9b9d39d2SRichard Lowe	client.o	\
34*9b9d39d2SRichard Lowe	file_object.o	\
35*9b9d39d2SRichard Lowe	maindoor.o	\
36*9b9d39d2SRichard Lowe	object.o	\
37*9b9d39d2SRichard Lowe	rc_node.o	\
38*9b9d39d2SRichard Lowe	snapshot.o
39*9b9d39d2SRichard Lowe
40*9b9d39d2SRichard Loweinclude $(SRC)/cmd/Makefile.cmd
41*9b9d39d2SRichard Loweinclude $(SRC)/cmd/Makefile.ctf
42*9b9d39d2SRichard Lowe
43*9b9d39d2SRichard LoweCERRWARN += -_gcc=-Wno-parentheses
44*9b9d39d2SRichard LoweCERRWARN += -_gcc=-Wno-type-limits
45*9b9d39d2SRichard LoweCERRWARN += -_gcc=-Wno-unused-label
46*9b9d39d2SRichard LoweCERRWARN += -_gcc=-Wno-unused-variable
47*9b9d39d2SRichard LoweCERRWARN += -_gcc=-Wno-unused-function
48*9b9d39d2SRichard LoweCERRWARN += $(CNOWARN_UNINIT)
49*9b9d39d2SRichard Lowe
50*9b9d39d2SRichard Lowe# strange false positive
51*9b9d39d2SRichard LoweSMOFF += free
52*9b9d39d2SRichard Lowe
53*9b9d39d2SRichard LoweDIRMODE = 0755
54*9b9d39d2SRichard LoweFILEMODE = 0555
55