xref: /illumos-gate/usr/src/cmd/hal/fdi/Makefile (revision ac88567a7a5bb7f01cf22cf366bc9d6203e24d7a)
1#
2# CDDL HEADER START
3#
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.
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# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25
26include ../../Makefile.cmd
27include ../Makefile.hal
28
29DTDS =		fdi.dtd.1
30XMLDIR =	$(ROOT)/usr/share/lib/xml/dtd
31ROOTDTDS =	$(DTDS:%=$(XMLDIR)/%)
32
33$(ROOTDTDS) :=	FILEMODE = 444
34
35FDIS =		information/10freedesktop/10-camera-ptp.fdi \
36		information/10freedesktop/10-cd-dvd-burner.fdi \
37		information/10freedesktop/10-usb-card-readers.fdi \
38		information/10freedesktop/10-usb-music-players.fdi \
39		information/10freedesktop/10-usb-pda.fdi \
40		information/10freedesktop/10-usb-zip-drives.fdi \
41		information/10freedesktop/10-wireless-mice.fdi \
42		policy/10osvendor/10-laptop-panel-mgmt-policy.fdi \
43		policy/10osvendor/10-network-attached.fdi \
44		policy/10osvendor/10-power-mgmt-policy.fdi \
45		policy/10osvendor/10-cpufreq.fdi \
46		policy/10osvendor/10-toshiba-buttons.fdi \
47		policy/10osvendor/20-storage-methods.fdi \
48		policy/10osvendor/20-zfs-methods.fdi \
49		preprobe/10osvendor/10-ide-drives.fdi \
50		preprobe/10osvendor/20-ignore-fixed-storage.fdi \
51		preprobe/10osvendor/20-ignore-lofi.fdi \
52		preprobe/10osvendor/20-printers.fdi
53FDIDIR =	$(ROOT_HAL_FDI)
54ROOTFDIS =	$(FDIS:%=$(FDIDIR)/%)
55
56$(ROOTFDIS) :=	FILEMODE = 444
57
58all:
59
60install: $(ROOTDTDS) $(ROOTFDIS)
61
62$(XMLDIR)/%: %
63	$(INS.file)
64
65$(FDIDIR)/%: %
66	$(INS.file)
67
68clean clobber:
69
70FRC:
71
72