16664 Update AMD microcode to 20240710
[illumos-gate.git] / usr / src / lib / cfgadm_plugins / scsi / Makefile.com
blobc54ed950a54ff72f4b63f734f51fa0e9c3bb67e8
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
22 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23 # Use is subject to license terms.
25 # Copyright (c) 2018, Joyent, Inc.
27 LIBRARY= scsi.a
28 VERS= .1
30 OBJECTS= cfga_ctl.o cfga_cvt.o cfga_list.o cfga_scsi.o cfga_utils.o cfga_rcm.o
32 # include library definitions
33 include ../../../Makefile.lib
35 SRCDIR =        ../common
36 ROOTLIBDIR=     $(ROOT)/usr/lib/cfgadm
37 ROOTLIBDIR64=   $(ROOTLIBDIR)/$(MACH64)
39 LIBS=   $(DYNLIB)
41 CFLAGS +=       $(CCVERBOSE)
42 CERRWARN +=     -_gcc=-Wno-parentheses
43 CERRWARN +=     -_gcc=-Wno-char-subscripts
44 CERRWARN +=     $(CNOWARN_UNINIT)
45 CERRWARN +=     -_gcc=-Wno-address
47 # not linted
48 SMATCH=off
50 LDLIBS +=       -lc -ldevice -ldevinfo -lrcm
52 .KEEP_STATE:
54 all:    $(LIBS)
57 # Install rules
59 $(ROOTLIBDIR)/%: % $(ROOTLIBDIR)
60         $(INS.file)
62 $(ROOTLIBDIR64)/%: % $(ROOTLIBDIR64)
63         $(INS.file)
65 $(ROOTLIBDIR) $(ROOTLIBDIR64):
66         $(INS.dir)
68 # include library targets
69 include ../../../Makefile.targ
71 pics/%.o: ../common/%.c
72         $(COMPILE.c) -o $@ $<
73         $(POST_PROCESS_O)