xref: /illumos-gate/usr/src/uts/i86pc/Makefile.rules (revision 4ab75253)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5*4ab75253Smrj# Common Development and Distribution License (the "License").
6*4ab75253Smrj# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
21*4ab75253Smrj
227c478bd9Sstevel@tonic-gate#
237c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
247c478bd9Sstevel@tonic-gate# Use is subject to license terms.
257c478bd9Sstevel@tonic-gate#
267c478bd9Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
277c478bd9Sstevel@tonic-gate#
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gate#	This Makefile defines the build rules for the directory uts/i86pc
307c478bd9Sstevel@tonic-gate#	and its children. These are the source files which are i86pc
317c478bd9Sstevel@tonic-gate#	"implementation architecture" dependent.
327c478bd9Sstevel@tonic-gate#
337c478bd9Sstevel@tonic-gate#	The following two-level ordering must be maintained in this file.
347c478bd9Sstevel@tonic-gate#	  Lines are sorted first in order of decreasing specificity based on
357c478bd9Sstevel@tonic-gate#	  the first directory component.  That is, sun4u rules come before
367c478bd9Sstevel@tonic-gate#	  sparc rules come before common rules.
377c478bd9Sstevel@tonic-gate#
387c478bd9Sstevel@tonic-gate#	  Lines whose initial directory components are equal are sorted
397c478bd9Sstevel@tonic-gate#	  alphabetically by the remaining components.
407c478bd9Sstevel@tonic-gate
417c478bd9Sstevel@tonic-gate#
427c478bd9Sstevel@tonic-gate#	Section 1a: C object build rules
437c478bd9Sstevel@tonic-gate#
447c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/conf/%.c
457c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
467c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
477c478bd9Sstevel@tonic-gate
487c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/%.c
497c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
507c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
517c478bd9Sstevel@tonic-gate
527c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/dktp/hba/ncrs/%.c
537c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
547c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
557c478bd9Sstevel@tonic-gate
567c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/iprb/%.c
577c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
587c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
597c478bd9Sstevel@tonic-gate
607c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/bmc/%.c
617c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
627c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
637c478bd9Sstevel@tonic-gate
647c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/pci/%.c
657c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
667c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
677c478bd9Sstevel@tonic-gate
6870025d76Sjohnny$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/pciex/%.c
6970025d76Sjohnny	$(COMPILE.c) -o $@ $<
7070025d76Sjohnny	$(CTFCONVERT_O)
7170025d76Sjohnny
7270025d76Sjohnny$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/pciex/hotplug/pciehpc/%.c
7370025d76Sjohnny	$(COMPILE.c) -o $@ $<
7470025d76Sjohnny	$(CTFCONVERT_O)
7570025d76Sjohnny
767c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/pcplusmp/%.c
777c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
787c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
797c478bd9Sstevel@tonic-gate
807c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/pcplusmp/%.s
817c478bd9Sstevel@tonic-gate	$(COMPILE.s) -o $@ $<
827c478bd9Sstevel@tonic-gate
837c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/psm/%.c
847c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
857c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
867c478bd9Sstevel@tonic-gate
877c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/psm/%.s
887c478bd9Sstevel@tonic-gate	$(COMPILE.s) -o $@ $<
897c478bd9Sstevel@tonic-gate
907c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/rtls/%.c
917c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
927c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
937c478bd9Sstevel@tonic-gate
947c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/spwr/%.c
957c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
967c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
977c478bd9Sstevel@tonic-gate
987c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/ml/%.s
997c478bd9Sstevel@tonic-gate	$(COMPILE.s) -o $@ $<
1007c478bd9Sstevel@tonic-gate
1017c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/os/%.c
1027c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1037c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1047c478bd9Sstevel@tonic-gate
1057c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/vm/%.c
1067c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1077c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1087c478bd9Sstevel@tonic-gate
1097c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/common/io/%.c
1107c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1117c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1127c478bd9Sstevel@tonic-gate
1137c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/common/io/dktp/controller/ata/%.c
1147c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1157c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1167c478bd9Sstevel@tonic-gate
1177c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/common/io/dktp/hba/ghd/%.c
1187c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1197c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1207c478bd9Sstevel@tonic-gate
1217c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/common/io/elxl/%.c
1227c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1237c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1247c478bd9Sstevel@tonic-gate
1257c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/common/os/%.c
1267c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1277c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1287c478bd9Sstevel@tonic-gate
1297c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(SRC)/common/dis/i386/%.c
1307c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1317c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1327c478bd9Sstevel@tonic-gate
1337c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/agpgart/%.c
1347c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1357c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1367c478bd9Sstevel@tonic-gate
137fc1821feSrugrat$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/gfx_private/%.c
138fc1821feSrugrat	$(COMPILE.c) -o $@ $<
139fc1821feSrugrat	$(CTFCONVERT_O)
140fc1821feSrugrat
1417c478bd9Sstevel@tonic-gate# ridiculous contortions ---
1427c478bd9Sstevel@tonic-gateATOMIC_SUBDIR_32	= i386
1437c478bd9Sstevel@tonic-gateATOMIC_SUBDIR_64	= amd64
1447c478bd9Sstevel@tonic-gateATOMIC_SUBDIR		= $(ATOMIC_SUBDIR_$(CLASS))
1457c478bd9Sstevel@tonic-gate
1467c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(SRC)/common/atomic/$(ATOMIC_SUBDIR)/%.s
1477c478bd9Sstevel@tonic-gate	$(COMPILE.s) -o $@ $<
1487c478bd9Sstevel@tonic-gate
149fd358c0dSmyers$(OBJS_DIR)/%.o:		$(UTSBASE)/common/io/power/%.c
150fd358c0dSmyers	$(COMPILE.c) -o $@ $<
151fd358c0dSmyers	$(CTFCONVERT_O)
152fd358c0dSmyers
1537c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpica/%.c
1547c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1557c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1567c478bd9Sstevel@tonic-gate
1577c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpica/%.s
1587c478bd9Sstevel@tonic-gate	$(COMPILE.s) -o $@ $<
1597c478bd9Sstevel@tonic-gate
1607c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpica/debugger/%.c
1617c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1627c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1637c478bd9Sstevel@tonic-gate
1647c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpica/events/%.c
1657c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1667c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1677c478bd9Sstevel@tonic-gate
1687c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpica/hardware/%.c
1697c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1707c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1717c478bd9Sstevel@tonic-gate
1727c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpica/interpreter/dispatcher/%.c
1737c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1747c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1757c478bd9Sstevel@tonic-gate
1767c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpica/interpreter/executer/%.c
1777c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1787c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1797c478bd9Sstevel@tonic-gate
1807c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpica/interpreter/parser/%.c
1817c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1827c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1837c478bd9Sstevel@tonic-gate
1847c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpica/namespace/%.c
1857c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1867c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1877c478bd9Sstevel@tonic-gate
1887c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpica/resources/%.c
1897c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1907c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1917c478bd9Sstevel@tonic-gate
1927c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpica/tables/%.c
1937c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1947c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1957c478bd9Sstevel@tonic-gate
1967c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpica/utilities/%.c
1977c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1987c478bd9Sstevel@tonic-gate	$(CTFCONVERT_O)
1997c478bd9Sstevel@tonic-gate
2007c478bd9Sstevel@tonic-gate$(OBJS_DIR)/dtracestubs.s:	$(UNIX_O) $(LIBS)
2017c478bd9Sstevel@tonic-gate	nm -u $(UNIX_O) $(LIBS) | grep __dtrace_probe_ | sort | uniq | nawk '{ \
2027c478bd9Sstevel@tonic-gate	    printf("\t.globl %s\n\t.type %s,@function\n%s:\n", \
2037c478bd9Sstevel@tonic-gate	    $$1, $$1, $$1); }' > $(OBJS_DIR)/dtracestubs.s
2047c478bd9Sstevel@tonic-gate
2057c478bd9Sstevel@tonic-gate$(DTRACESTUBS):	$(DTRACESTUBS_O)
20602e56f3fSwesolows	$(BUILD.SO) $(DTRACESTUBS_O)
2077c478bd9Sstevel@tonic-gate
2087c478bd9Sstevel@tonic-gate#
2097c478bd9Sstevel@tonic-gate#	Section 1b: Lint `object' build rules
2107c478bd9Sstevel@tonic-gate#
2117c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/conf/%.c
2127c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2137c478bd9Sstevel@tonic-gate
2147c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/%.c
2157c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2167c478bd9Sstevel@tonic-gate
2177c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/dktp/hba/ncrs/%.c
2187c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2197c478bd9Sstevel@tonic-gate
2207c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/iprb/%.c
2217c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2227c478bd9Sstevel@tonic-gate
2237c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/bmc/%.c
2247c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2257c478bd9Sstevel@tonic-gate
2267c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/pci/%.c
2277c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2287c478bd9Sstevel@tonic-gate
22970025d76Sjohnny$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/pciex/%.c
23070025d76Sjohnny	@($(LHEAD) $(LINT.c) $< $(LTAIL))
23170025d76Sjohnny
23270025d76Sjohnny$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/pciex/hotplug/pciehpc/%.c
23370025d76Sjohnny	@($(LHEAD) $(LINT.c) $< $(LTAIL))
23470025d76Sjohnny
2357c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/pcplusmp/%.c
2367c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2377c478bd9Sstevel@tonic-gate
2387c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/pcplusmp/%.s
2397c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.s) $< $(LTAIL))
2407c478bd9Sstevel@tonic-gate
2417c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/psm/%.c
2427c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2437c478bd9Sstevel@tonic-gate
2447c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/psm/%.s
2457c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.s) $< $(LTAIL))
2467c478bd9Sstevel@tonic-gate
2477c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/rtls/%.c
2487c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.s) $< $(LTAIL))
2497c478bd9Sstevel@tonic-gate
2507c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/spwr/%.c
2517c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2527c478bd9Sstevel@tonic-gate
2537c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/ml/%.s
2547c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.s) $< $(LTAIL))
2557c478bd9Sstevel@tonic-gate
2567c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/os/%.c
2577c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2587c478bd9Sstevel@tonic-gate
2597c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/vm/%.c
2607c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2617c478bd9Sstevel@tonic-gate
2627c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/common/io/%.c
2637c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2647c478bd9Sstevel@tonic-gate
2657c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/common/io/dktp/controller/ata/%.c
2667c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2677c478bd9Sstevel@tonic-gate
2687c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/common/io/dktp/hba/ghd/%.c
2697c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2707c478bd9Sstevel@tonic-gate
2717c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/common/io/elxl/%.c
2727c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2737c478bd9Sstevel@tonic-gate
2747c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/common/os/%.c
2757c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2767c478bd9Sstevel@tonic-gate
2777c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(SRC)/common/dis/i386/%.c
2787c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2797c478bd9Sstevel@tonic-gate
2807c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/agpgart/%.c
2817c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2827c478bd9Sstevel@tonic-gate
2837c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(SRC)/common/atomic/%.c
2847c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2857c478bd9Sstevel@tonic-gate
2867c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpica/%.s
2877c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.s) $< $(LTAIL))
2887c478bd9Sstevel@tonic-gate
2897c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpica/%.c
2907c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2917c478bd9Sstevel@tonic-gate
2927c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpica/debugger/%.c
2937c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2947c478bd9Sstevel@tonic-gate
2957c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpica/events/%.c
2967c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
2977c478bd9Sstevel@tonic-gate
2987c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpica/hardware/%.c
2997c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
3007c478bd9Sstevel@tonic-gate
3017c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpica/interpreter/dispatcher/%.c
3027c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
3037c478bd9Sstevel@tonic-gate
3047c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpica/interpreter/executer/%.c
3057c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
3067c478bd9Sstevel@tonic-gate
3077c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpica/interpreter/parser/%.c
3087c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
3097c478bd9Sstevel@tonic-gate
3107c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpica/namespace/%.c
3117c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
3127c478bd9Sstevel@tonic-gate
3137c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpica/resources/%.c
3147c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
3157c478bd9Sstevel@tonic-gate
3167c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpica/tables/%.c
3177c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
3187c478bd9Sstevel@tonic-gate
3197c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpica/utilities/%.c
3207c478bd9Sstevel@tonic-gate	@($(LHEAD) $(LINT.c) $< $(LTAIL))
3217c478bd9Sstevel@tonic-gate
322fc1821feSrugrat$(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/gfx_private/%.c
323fc1821feSrugrat	@($(LHEAD) $(LINT.c) $< $(LTAIL))
324fc1821feSrugrat
325