xref: /onnv-gate/usr/src/cmd/hwdata/Makefile (revision 12998:c0270875939a)
12912Sartem#
22912Sartem# CDDL HEADER START
32912Sartem#
42912Sartem# The contents of this file are subject to the terms of the
52912Sartem# Common Development and Distribution License (the "License").
62912Sartem# You may not use this file except in compliance with the License.
72912Sartem#
82912Sartem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92912Sartem# or http://www.opensolaris.org/os/licensing.
102912Sartem# See the License for the specific language governing permissions
112912Sartem# and limitations under the License.
122912Sartem#
132912Sartem# When distributing Covered Code, include this CDDL HEADER in each
142912Sartem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152912Sartem# If applicable, add the following below this CDDL HEADER, with the
162912Sartem# fields enclosed by brackets "[]" replaced with your own identifying
172912Sartem# information: Portions Copyright [yyyy] [name of copyright owner]
182912Sartem#
192912Sartem# CDDL HEADER END
202912Sartem#
21*12998SMark.J.Nelson@Oracle.COM
222912Sartem#
23*12998SMark.J.Nelson@Oracle.COM# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
242912Sartem#
252912Sartem
262912Sarteminclude ../Makefile.cmd
272912Sartem
282912SartemHWDATA =	pci.ids usb.ids
292912SartemHWDATADIR =	$(ROOT)/usr/share/hwdata
302912SartemROOTHWDATA =	$(HWDATA:%=$(HWDATADIR)/%)
312912Sartem
322912Sartem$(ROOTHWDATA) :=	FILEMODE = 444
332912Sartem
34*12998SMark.J.Nelson@Oracle.COMCLOBBERFILES += THIRDPARTYLICENSE.pciids
35*12998SMark.J.Nelson@Oracle.COM
36*12998SMark.J.Nelson@Oracle.COMall install: THIRDPARTYLICENSE.pciids
37*12998SMark.J.Nelson@Oracle.COM
38*12998SMark.J.Nelson@Oracle.COMTHIRDPARTYLICENSE.pciids: pci.ids THIRDPARTYLICENSE.pciids.tmpl
39*12998SMark.J.Nelson@Oracle.COM	$(RM) $@
40*12998SMark.J.Nelson@Oracle.COM	$(SED) -e '/^$$/,$$ d' < pci.ids > $@
41*12998SMark.J.Nelson@Oracle.COM	$(CAT) THIRDPARTYLICENSE.pciids.tmpl >> $@
422912Sartem
432912Sarteminstall: $(ROOTHWDATA)
442912Sartem
452912Sartem$(HWDATADIR)/%: %
462912Sartem	$(INS.file)
472912Sartem
482912Sartemlint check clean clobber:
492912Sartem
502912SartemFRC:
512912Sartem
52*12998SMark.J.Nelson@Oracle.COMinclude ../Makefile.targ
53