xref: /onnv-gate/usr/src/cmd/hal/hald/solaris/Makefile (revision 8192:1e71c4032126)
12912Sartem#
22912Sartem# CDDL HEADER START
32912Sartem#
42912Sartem# The contents of this file are subject to the terms of the
52912Sartem# Common Development and Distribution License (the "License").
62912Sartem# You may not use this file except in compliance with the License.
72912Sartem#
82912Sartem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92912Sartem# or http://www.opensolaris.org/os/licensing.
102912Sartem# See the License for the specific language governing permissions
112912Sartem# and limitations under the License.
122912Sartem#
132912Sartem# When distributing Covered Code, include this CDDL HEADER in each
142912Sartem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152912Sartem# If applicable, add the following below this CDDL HEADER, with the
162912Sartem# fields enclosed by brackets "[]" replaced with your own identifying
172912Sartem# information: Portions Copyright [yyyy] [name of copyright owner]
182912Sartem#
192912Sartem# CDDL HEADER END
202912Sartem#
212912Sartem#
22*6654Snp146283# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
232912Sartem# Use is subject to license terms.
242912Sartem#
252912Sartem
262912SartemOBJS =		devinfo.o devinfo_ieee1394.o devinfo_misc.o devinfo_pci.o \
274035Sphitran		devinfo_storage.o devinfo_usb.o hotplug.o osspec.o sysevent.o \
28*6654Snp146283		devinfo_acpi.o devinfo_cpu.o
292912Sartem
302912SartemSRCS =		$(OBJS:%.o=%.c)
312912Sartem
322912SartemMANIFEST =	hal.xml
332912SartemSVCMETHOD =	svc-hal
342912Sartem
352912Sarteminclude ../../../Makefile.cmd
362912Sarteminclude ../../Makefile.hal
372912Sartem
382912SartemROOTMANIFESTDIR =	$(ROOTSVCSYSTEM)
392912Sartem$(ROOTMANIFEST) :=	FILEMODE = 444
402912Sartem$(ROOTLIBSVCMETHOD)/svc-hal:= FILEMODE = 555
412912Sartem
422912SartemCPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS) $(HAL_CONFIG_CPPFLAGS)
432912SartemC99MODE =	$(C99_ENABLE)
442912Sartem
452912Sartem.KEEP_STATE:
462912Sartem
472912Sartemall: $(OBJS)
482912Sartem
492912Sarteminstall: all $(ROOTMANIFEST) $(ROOTSVCMETHOD)
502912Sartem
512912Sartemcheck: $(CHKMANIFEST)
522912Sartem
532912Sartemclean:
542912Sartem	$(RM) $(OBJS)
552912Sartem
562912SartemFRC:
572912Sartem
582912Sarteminclude ../../../Makefile.targ
59