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-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 \ 54 preprobe/10osvendor/20-printers.fdi 55FDIDIR = $(ROOT_HAL_FDI) 56ROOTFDIS = $(FDIS:%=$(FDIDIR)/%) 57 58$(ROOTFDIS) := FILEMODE = 444 59$(ROOTFDIS) := OWNER = root 60$(ROOTFDIS) := GROUP = bin 61 62all: 63 64install: $(ROOTDTDS) $(ROOTFDIS) 65 66$(XMLDIR)/%: % 67 $(INS.file) 68 69$(FDIDIR)/%: % 70 $(INS.file) 71 72clean clobber: 73 74FRC: 75 76