Makefile revision 7b840e52d558c34b70cbcde044d8d79852d169d2
715N/A#
715N/A# CDDL HEADER START
715N/A#
715N/A# The contents of this file are subject to the terms of the
715N/A# Common Development and Distribution License (the "License").
715N/A# You may not use this file except in compliance with the License.
715N/A#
715N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
715N/A# or http://www.opensolaris.org/os/licensing.
715N/A# See the License for the specific language governing permissions
715N/A# and limitations under the License.
715N/A#
715N/A# When distributing Covered Code, include this CDDL HEADER in each
715N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
715N/A# If applicable, add the following below this CDDL HEADER, with the
715N/A# fields enclosed by brackets "[]" replaced with your own identifying
715N/A# information: Portions Copyright [yyyy] [name of copyright owner]
715N/A#
715N/A# CDDL HEADER END
715N/A#
1374N/A#
715N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
715N/A# Use is subject to license terms.
715N/A#
715N/A# ident "%Z%%M% %I% %E% SMI"
715N/A#
858N/A
857N/APROG = hald-probe-battery
715N/AOBJS = probe-battery.o logger.o battery.o util_pm.o
715N/ASRCS = probe-battery.c
715N/A
715N/Ainclude ../../../Makefile.cmd
1374N/Ainclude ../../Makefile.hal
715N/A
715N/AROOTCMDDIR = $(ROOTLIB_HAL)
1459N/A
715N/ALDLIBS += -lc -ldbus-1 -lhal -lglib-2.0
1460N/A
715N/ACPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_CONFIG_CPPFLAGS) $(HAL_GLIB_CPPFLAGS)
844N/ACPPFLAGS += -I$(ROOT)/usr/include/hal -I../../utils -I../../hald
1474N/AC99MODE = $(C99_ENABLE)
761N/A
761N/A.KEEP_STATE:
715N/A
803N/Aall: $(PROG)
844N/A
851N/Alogger.o: ../../hald/logger.c
788N/A $(COMPILE.c) -o $@ ../../hald/logger.c
788N/A $(POST_PROCESS_O)
1327N/A
760N/Abattery.o: ../../utils/battery.c
715N/A $(COMPILE.c) -o $@ ../../utils/battery.c
726N/A $(POST_PROCESS_O)
726N/A
726N/Autil_pm.o: ../../hald/util_pm.c
1195N/A $(COMPILE.c) -o $@ ../../hald/util_pm.c
715N/A $(POST_PROCESS_O)
715N/A
715N/A$(PROG): $(OBJS)
1474N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
1474N/A $(POST_PROCESS)
899N/A
899N/Ainstall: all $(ROOTCMD)
717N/A
747N/Aclean:
747N/A $(RM) $(OBJS) $(PROG)
844N/A
844N/AFRC:
747N/A
747N/Ainclude ../../../Makefile.targ
788N/A