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