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
22 #
23 # Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
24 #
25
26 ETCTSOLFILES = devalloc_defaults
27
28 include ../Makefile.cmd
29
30 CERRWARN += -_gcc=-Wno-unused-value
31 CERRWARN += -_gcc=-Wno-uninitialized
32 CERRWARN += -_gcc=-Wno-parentheses
33 CERRWARN += -_gcc=-Wno-clobbered
34
35 ROOTSEC = $(ROOTETC)/security
36 ROOTSECDEV = $(ROOTSEC)/dev
37 ROOTSECLIB = $(ROOTSEC)/lib
38 ROOTSECAUD = $(ROOTSEC)/audio
39 ROOTDIRS = $(ROOTSECDEV) $(ROOTSECLIB) $(ROOTSECAUD)
40
41 ROOTMANIFESTDIR= $(ROOTSVCSYSTEMDEVICE)
42 SVCMETHOD = svc-allocate
43 MANIFEST = allocate.xml
44
45 RTLCKS = audio fd0 sr0 st0 st1
46 CLEANfd = fd_clean
47 CLEANsr = sr_clean
48 CLEANst = st_clean
49 CLEANaudio = audio_clean
50 CLEANdisk = disk_clean
51 CLEAN_SCRIPTS = $(CLEANfd) $(CLEANsr) $(CLEANst) $(CLEANaudio) $(CLEANdisk)
52 WDW_SCRIPTS = wdwmsg wdwwrapper
53 WDW_LINKS = $(CLEANaudio) $(CLEANdisk) $(CLEANst)
54 SCRIPTS = $(CLEAN_SCRIPTS) $(WDW_SCRIPTS)
|
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
22 #
23 # Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
24 #
25 # Copyright (c) 2018, Joyent, Inc.
26
27 ETCTSOLFILES = devalloc_defaults
28
29 include ../Makefile.cmd
30
31 CERRWARN += -_gcc=-Wno-unused-value
32 CERRWARN += -_gcc=-Wno-uninitialized
33 CERRWARN += -_gcc=-Wno-parentheses
34 CERRWARN += -_gcc=-Wno-clobbered
35
36 # not linted
37 SMATCH=off
38
39 ROOTSEC = $(ROOTETC)/security
40 ROOTSECDEV = $(ROOTSEC)/dev
41 ROOTSECLIB = $(ROOTSEC)/lib
42 ROOTSECAUD = $(ROOTSEC)/audio
43 ROOTDIRS = $(ROOTSECDEV) $(ROOTSECLIB) $(ROOTSECAUD)
44
45 ROOTMANIFESTDIR= $(ROOTSVCSYSTEMDEVICE)
46 SVCMETHOD = svc-allocate
47 MANIFEST = allocate.xml
48
49 RTLCKS = audio fd0 sr0 st0 st1
50 CLEANfd = fd_clean
51 CLEANsr = sr_clean
52 CLEANst = st_clean
53 CLEANaudio = audio_clean
54 CLEANdisk = disk_clean
55 CLEAN_SCRIPTS = $(CLEANfd) $(CLEANsr) $(CLEANst) $(CLEANaudio) $(CLEANdisk)
56 WDW_SCRIPTS = wdwmsg wdwwrapper
57 WDW_LINKS = $(CLEANaudio) $(CLEANdisk) $(CLEANst)
58 SCRIPTS = $(CLEAN_SCRIPTS) $(WDW_SCRIPTS)
|