Makefile revision 4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3
454N/A#
454N/A# CDDL HEADER START
454N/A#
454N/A# The contents of this file are subject to the terms of the
454N/A# Common Development and Distribution License (the "License").
454N/A# You may not use this file except in compliance with the License.
454N/A#
454N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
454N/A# or http://www.opensolaris.org/os/licensing.
454N/A# See the License for the specific language governing permissions
454N/A# and limitations under the License.
454N/A#
454N/A# When distributing Covered Code, include this CDDL HEADER in each
454N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
454N/A# If applicable, add the following below this CDDL HEADER, with the
454N/A# fields enclosed by brackets "[]" replaced with your own identifying
454N/A# information: Portions Copyright [yyyy] [name of copyright owner]
454N/A#
454N/A# CDDL HEADER END
454N/A#
454N/A#
454N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
454N/A# Use is subject to license terms.
454N/A#
454N/A# ident "%Z%%M% %I% %E% SMI"
454N/A#
454N/A
454N/APROG = hald-addon-network-discovery
454N/AOBJS = addon-network-discovery.o probe-snmp.o snmp.o logger.o cache.o common.o printer.o
454N/A
454N/AMANIFEST = network-discovery.xml
454N/ASVCMETHOD = svc-network-discovery
454N/A
454N/Ainclude ../../../Makefile.cmd
454N/Ainclude ../../Makefile.hal
454N/A
454N/AROOTMANIFESTDIR = $(ROOTSVCNETWORK)
454N/A$(ROOTMANIFEST) := FILEMODE = 444
454N/A$(ROOTLIBSVCMETHOD)/$(SVCMETHOD):= FILEMODE = 555
454N/A
454N/AROOTCMDDIR = $(ROOTLIB_HAL)
454N/A
454N/ALDLIBS += -lc -ldbus-1 -lhal -lglib-2.0 -ldbus-glib-1
454N/ALDLIBS += -lnsl -lsocket
454N/ALDLIBS += -L$(SFWLIBDIR) -R$(SFWLIBDIR) $(ZIGNORE) -lnetsnmp
454N/A
454N/ACPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS) $(HAL_CONFIG_CPPFLAGS)
454N/ACPPFLAGS += -I$(ROOT)/usr/include/hal -I../../hald -I../../utils
454N/ACPPFLAGS += -I$(SFWINCDIR)
454N/AC99MODE = $(C99_ENABLE)
454N/A
454N/A.KEEP_STATE:
454N/A
454N/Aall: $(PROG)
454N/A
454N/Aprobe-snmp.o: ../../probing/network-printer/probe-snmp.c
454N/A $(COMPILE.c) -o $@ ../../probing/network-printer/probe-snmp.c
454N/A $(POST_PROCESS_O)
454N/A
454N/Alogger.o: ../../hald/logger.c
454N/A $(COMPILE.c) -o $@ ../../hald/logger.c
454N/A $(POST_PROCESS_O)
454N/A
454N/Aprinter.o: ../../utils/printer.c
454N/A $(COMPILE.c) -o $@ ../../utils/printer.c
454N/A $(POST_PROCESS_O)
454N/A
454N/A$(PROG): $(OBJS)
454N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
454N/A $(POST_PROCESS)
454N/A
454N/Ainstall: all $(ROOTCMD) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
454N/A
454N/Acheck: $(CHKMANIFEST)
454N/A
454N/Aclean:
454N/A $(RM) $(OBJS) $(PROG)
454N/A
454N/AFRC:
454N/A
454N/Ainclude ../../../Makefile.targ
454N/A