Makefile revision 1
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# CDDL HEADER START
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# The contents of this file are subject to the terms of the
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# Common Development and Distribution License (the "License").
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# You may not use this file except in compliance with the License.
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# or http://www.opensolaris.org/os/licensing.
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# See the License for the specific language governing permissions
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# and limitations under the License.
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# When distributing Covered Code, include this CDDL HEADER in each
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# If applicable, add the following below this CDDL HEADER, with the
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# CDDL HEADER END
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# Use is subject to license terms.
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# ident "%Z%%M% %I% %E% SMI"
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncPROG = hald-runner
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncOBJS = main.o runner.o utils.o
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncSRCS = $(OBJS:%.o=%.c)
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
4d98012b3229f47c9fb4eb767563359484284077vboxsyncinclude ../../Makefile.cmd
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncinclude ../Makefile.hal
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncROOTCMDDIR = $(ROOTLIB_HAL)
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncLDLIBS += -lc -ldbus-1 -ldbus-glib-1 -lglib-2.0
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncCPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS) $(HAL_CONFIG_CPPFLAGS)
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncCPPFLAGS += -UDBUS_API_SUBJECT_TO_CHANGE
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncC99MODE = $(C99_ENABLE)
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync.KEEP_STATE:
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncall: $(PROG)
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync$(PROG): $(OBJS)
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync $(POST_PROCESS)
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncinstall: all $(ROOTCMD)
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncclean:
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync $(RM) $(OBJS)
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncFRC:
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncinclude ../../Makefile.targ
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync