42a7bded1b1244af097afdc88654381a3d3879f9jacobs#
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# CDDL HEADER START
42a7bded1b1244af097afdc88654381a3d3879f9jacobs#
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# The contents of this file are subject to the terms of the
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# Common Development and Distribution License (the "License").
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# You may not use this file except in compliance with the License.
42a7bded1b1244af097afdc88654381a3d3879f9jacobs#
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# or http://www.opensolaris.org/os/licensing.
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# See the License for the specific language governing permissions
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# and limitations under the License.
42a7bded1b1244af097afdc88654381a3d3879f9jacobs#
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# When distributing Covered Code, include this CDDL HEADER in each
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# If applicable, add the following below this CDDL HEADER, with the
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# fields enclosed by brackets "[]" replaced with your own identifying
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# information: Portions Copyright [yyyy] [name of copyright owner]
42a7bded1b1244af097afdc88654381a3d3879f9jacobs#
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# CDDL HEADER END
42a7bded1b1244af097afdc88654381a3d3879f9jacobs#
42a7bded1b1244af097afdc88654381a3d3879f9jacobs#
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# Use is subject to license terms.
42a7bded1b1244af097afdc88654381a3d3879f9jacobs#
42a7bded1b1244af097afdc88654381a3d3879f9jacobs# ident "%Z%%M% %I% %E% SMI"
42a7bded1b1244af097afdc88654381a3d3879f9jacobs#
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobsPROG = hald-probe-printer
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobsOBJS = probe-printer.o logger.o printer.o
42a7bded1b1244af097afdc88654381a3d3879f9jacobsSRCS = probe-printer.c
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobsinclude ../../../Makefile.cmd
42a7bded1b1244af097afdc88654381a3d3879f9jacobsinclude ../../Makefile.hal
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobsROOTCMDDIR = $(ROOTLIB_HAL)
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobsLDLIBS += -lc -ldbus-1 -lhal
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobsCPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_CONFIG_CPPFLAGS)
42a7bded1b1244af097afdc88654381a3d3879f9jacobsCPPFLAGS += -I$(ROOT)/usr/include/hal -I../../utils -I../../hald
42a7bded1b1244af097afdc88654381a3d3879f9jacobsC99MODE = $(C99_ENABLE)
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobs.KEEP_STATE:
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobsall: $(PROG)
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobslogger.o: ../../hald/logger.c
42a7bded1b1244af097afdc88654381a3d3879f9jacobs $(COMPILE.c) -o $@ ../../hald/logger.c
42a7bded1b1244af097afdc88654381a3d3879f9jacobs $(POST_PROCESS_O)
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobsprinter.o: ../../utils/printer.c
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs $(COMPILE.c) -o $@ ../../utils/printer.c
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs $(POST_PROCESS_O)
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobs$(PROG): $(OBJS)
42a7bded1b1244af097afdc88654381a3d3879f9jacobs $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
42a7bded1b1244af097afdc88654381a3d3879f9jacobs $(POST_PROCESS)
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobsinstall: all $(ROOTCMD)
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobsclean:
42a7bded1b1244af097afdc88654381a3d3879f9jacobs $(RM) $(OBJS)
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobsFRC:
42a7bded1b1244af097afdc88654381a3d3879f9jacobs
42a7bded1b1244af097afdc88654381a3d3879f9jacobsinclude ../../../Makefile.targ