118c2affartem#
218c2affartem# CDDL HEADER START
318c2affartem#
418c2affartem# The contents of this file are subject to the terms of the
518c2affartem# Common Development and Distribution License (the "License").
618c2affartem# You may not use this file except in compliance with the License.
718c2affartem#
818c2affartem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
918c2affartem# or http://www.opensolaris.org/os/licensing.
1018c2affartem# See the License for the specific language governing permissions
1118c2affartem# and limitations under the License.
1218c2affartem#
1318c2affartem# When distributing Covered Code, include this CDDL HEADER in each
1418c2affartem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1518c2affartem# If applicable, add the following below this CDDL HEADER, with the
1618c2affartem# fields enclosed by brackets "[]" replaced with your own identifying
1718c2affartem# information: Portions Copyright [yyyy] [name of copyright owner]
1818c2affartem#
1918c2affartem# CDDL HEADER END
2018c2affartem#
2118c2affartem#
22d2ec54fphitran# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
2318c2affartem# Use is subject to license terms.
2418c2affartem#
2518c2affartem
265801b0fToomas SoomeSUBDIR =	sunos
27d2ec54fphitran
2818c2affartemHAL_PROG =	hal-device hal-find-by-capability hal-find-by-property \
2918c2affartem		hal-get-property hal-set-property lshal
3018c2affartem
31d2ec54fphitranHAL_LIB =	hal-is-caller-privileged
32d2ec54fphitran
33d2ec54fphitranSCRIPT_BIN =	hal-fdi-validate
34d2ec54fphitran
35d2ec54fphitranSCRIPT_LIB =	hal-system-lcd-set-brightness  hal-system-lcd-get-brightness \
36d2ec54fphitran		hal-system-power-hibernate hal-system-power-suspend \
37d2ec54fphitran		hal-system-power-reboot hal-system-power-shutdown hal-functions
3818c2affartem
3918c2affartemSTORAGE_METHOD_PROG = hal-storage-closetray hal-storage-eject \
4018c2affartem		hal-storage-mount hal-storage-unmount \
4118c2affartem		hal-storage-zpool-export hal-storage-zpool-import
4218c2affartem
4318c2affartemSTORAGE_PROG =	$(STORAGE_METHOD_PROG) \
4418c2affartem		hal-storage-cleanup-mountpoint \
4518c2affartem		hal-storage-cleanup-all-mountpoints
4618c2affartem
4718c2affartemPROGSRCS =	$(PROG:%=%.c) $(STORAGE_PROG:%=%.c)
4818c2affartem
49a9da330np
5018c2affartemSTORAGE_OBJS =		$(STORAGE_PROG:%=%.o)
51eade8b2npSTORAGE_SHAREDOBJS =	hal-storage-shared.o adt_data.o
52eade8b2npSTORAGE_SHAREDSRCS =	$(STORAGE_SHAREDOBJS:%.o=%.c) $(STORAGE_SHAREDOBJS:%.o=../utils/%.c)
5318c2affartem
5418c2affartemSRCS =		$(PROGSRCS) $(STORAGE_SHAREDSRCS)
5518c2affartem
56d2ec54fphitranCLOBBERFILES += $(HAL_PROG) $(STORAGE_PROG) $(SCRIPT_BIN) $(SCRIPT_LIB) $(HAL_LIB)
57b6805bfGordon RossCLEANFILES += $(STORAGE_SHAREDOBJS) $(STORAGE_OBJS) hal-storage-zpool.o
5818c2affartem
5918c2affarteminclude ../../Makefile.cmd
6018c2affarteminclude ../Makefile.hal
61