xref: /titanic_41/usr/src/cmd/hal/fdi/Makefile (revision 9113a79cf228b8f7bd509b1328adf88659dfe218)
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 2006 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-keyboard-policy.fdi \
46		policy/10osvendor/10-laptop-panel-mgmt-policy.fdi \
47		policy/10osvendor/10-power-mgmt-policy.fdi \
48		policy/10osvendor/10-toshiba-buttons.fdi \
49		policy/10osvendor/20-storage-methods.fdi \
50		policy/10osvendor/20-zfs-methods.fdi \
51		preprobe/10osvendor/10-ide-drives.fdi \
52		preprobe/10osvendor/20-ignore-fixed-storage.fdi \
53		preprobe/10osvendor/20-ignore-lofi.fdi
54FDIDIR =	$(ROOT_HAL_FDI)
55ROOTFDIS =	$(FDIS:%=$(FDIDIR)/%)
56
57$(ROOTFDIS) :=	FILEMODE = 444
58$(ROOTFDIS) :=	OWNER = root
59$(ROOTFDIS) :=	GROUP = bin
60
61all:
62
63install: $(ROOTDTDS) $(ROOTFDIS)
64
65$(XMLDIR)/%: %
66	$(INS.file)
67
68$(FDIDIR)/%: %
69	$(INS.file)
70
71clean clobber:
72
73FRC:
74
75