Makefile revision 1
124N/A#
124N/A# CDDL HEADER START
124N/A#
124N/A# The contents of this file are subject to the terms of the
124N/A# Common Development and Distribution License (the "License").
124N/A# You may not use this file except in compliance with the License.
124N/A#
124N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
124N/A# or http://www.opensolaris.org/os/licensing.
124N/A# See the License for the specific language governing permissions
124N/A# and limitations under the License.
124N/A#
124N/A# When distributing Covered Code, include this CDDL HEADER in each
124N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
124N/A# If applicable, add the following below this CDDL HEADER, with the
124N/A# fields enclosed by brackets "[]" replaced with your own identifying
124N/A# information: Portions Copyright [yyyy] [name of copyright owner]
124N/A#
124N/A# CDDL HEADER END
124N/A#
669N/A#
124N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
124N/A# Use is subject to license terms.
124N/A#
124N/A# ident "%Z%%M% %I% %E% SMI"
765N/A#
618N/A
124N/AHAL_PROGS = hal-system-lcd-set-brightness-sunos \
124N/A hal-system-lcd-get-brightness-sunos
765N/A
618N/AHAL_SCRIPTS = hal-system-power-reboot-sunos hal-system-power-suspend-sunos \
124N/A hal-system-power-hibernate-sunos hal-system-power-shutdown-sunos
124N/A
124N/AOBJS = $(HAL_PROG:%=%.o)
124N/A
124N/ACLOBBERFILES += $(HAL_PROGS)
124N/A
124N/Ainclude ../../../Makefile.cmd
124N/Ainclude ../../Makefile.hal
124N/A
124N/A$(HAL_PROGS) := LDLIBS += -lc $(ZIGNORE) -lglib-2.0
124N/A
124N/ACPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS) $(HAL_CONFIG_CPPFLAGS)
124N/ACPPFLAGS += -I$(ROOT)/usr/include/hal
124N/ACPPFLAGS += -I$(ROOT)/usr/include/libpolkit
124N/AC99MODE = $(C99_ENABLE)
124N/A
765N/AROOTCMDDIR = $(ROOTLIB_HAL)/sunos
765N/AROOTCMD = $(HAL_PROGS:%=$(ROOTCMDDIR)/%) \
765N/A $(HAL_SCRIPTS:%=$(ROOTCMDDIR)/%)
765N/A
765N/A.KEEP_STATE:
765N/A
765N/Aall: $(HAL_PROGS) $(HAL_SCRIPTS)
765N/A
765N/Ainstall: all $(ROOTCMD)
765N/A
765N/Aclean:
124N/A $(RM) $(OBJS) $(HAL_PROGS) $(HAL_SCRIPTS)
124N/A
124N/Ainclude ../../../Makefile.targ
124N/A