Mercurial > illumos > illumos-gate
comparison usr/src/cmd/hwdata/Makefile @ 13010:c0270875939a
6929502 packages are missing some license files
6930656 license action improvements
author | Mark J. Nelson <Mark.J.Nelson@Oracle.COM> |
---|---|
date | Mon, 02 Aug 2010 16:37:22 -0600 |
parents | 87c40ea3fc4b |
children |
comparison
equal
deleted
inserted
replaced
13009:8a64f7a86f03 | 13010:c0270875939a |
---|---|
16 # fields enclosed by brackets "[]" replaced with your own identifying | 16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] | 17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # | 18 # |
19 # CDDL HEADER END | 19 # CDDL HEADER END |
20 # | 20 # |
21 | |
21 # | 22 # |
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved. | 23 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. |
23 # Use is subject to license terms. | |
24 # | 24 # |
25 | 25 |
26 include ../Makefile.cmd | 26 include ../Makefile.cmd |
27 | 27 |
28 HWDATA = pci.ids usb.ids | 28 HWDATA = pci.ids usb.ids |
29 HWDATADIR = $(ROOT)/usr/share/hwdata | 29 HWDATADIR = $(ROOT)/usr/share/hwdata |
30 ROOTHWDATA = $(HWDATA:%=$(HWDATADIR)/%) | 30 ROOTHWDATA = $(HWDATA:%=$(HWDATADIR)/%) |
31 | 31 |
32 $(ROOTHWDATA) := FILEMODE = 444 | 32 $(ROOTHWDATA) := FILEMODE = 444 |
33 | 33 |
34 all: | 34 CLOBBERFILES += THIRDPARTYLICENSE.pciids |
35 | |
36 all install: THIRDPARTYLICENSE.pciids | |
37 | |
38 THIRDPARTYLICENSE.pciids: pci.ids THIRDPARTYLICENSE.pciids.tmpl | |
39 $(RM) $@ | |
40 $(SED) -e '/^$$/,$$ d' < pci.ids > $@ | |
41 $(CAT) THIRDPARTYLICENSE.pciids.tmpl >> $@ | |
35 | 42 |
36 install: $(ROOTHWDATA) | 43 install: $(ROOTHWDATA) |
37 | 44 |
38 $(HWDATADIR)/%: % | 45 $(HWDATADIR)/%: % |
39 $(INS.file) | 46 $(INS.file) |
40 | 47 |
41 lint check clean clobber: | 48 lint check clean clobber: |
42 | 49 |
43 FRC: | 50 FRC: |
44 | 51 |
52 include ../Makefile.targ |