Makefile revision e1c679fa4b0ab8c4bcaa6263974ca0c46e5b027f
369N/A#
369N/A# CDDL HEADER START
369N/A#
369N/A# The contents of this file are subject to the terms of the
369N/A# Common Development and Distribution License (the "License").
369N/A# You may not use this file except in compliance with the License.
369N/A#
369N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
369N/A# or http://www.opensolaris.org/os/licensing.
369N/A# See the License for the specific language governing permissions
369N/A# and limitations under the License.
369N/A#
369N/A# When distributing Covered Code, include this CDDL HEADER in each
369N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
369N/A# If applicable, add the following below this CDDL HEADER, with the
369N/A# fields enclosed by brackets "[]" replaced with your own identifying
369N/A# information: Portions Copyright [yyyy] [name of copyright owner]
369N/A#
369N/A# CDDL HEADER END
369N/A#
369N/A
369N/A#
369N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
369N/A# Use is subject to license terms.
369N/A#
369N/A# ident "%Z%%M% %I% %E% SMI"
369N/A#
369N/A
369N/AMODULE = snmp-trapgen
369N/ACLASS = common
369N/ASRCS = snmp.c
369N/ASMASNMPCONFS = fmd-trapgen.conf
369N/A
369N/AROOTSMASNMPDIR = $(ROOT)/etc/sma/snmp
369N/AROOTSMASNMPCONFS = $(SMASNMPCONFS:%=$(ROOTSMASNMPDIR)/%)
369N/A
369N/Ainclude ../../Makefile.plugin
369N/A
369N/ASNMPLIBS = -lnetsnmp -lnetsnmpagent
369N/Alint := SNMPLIBS =
369N/A
369N/ACPPFLAGS += -I/usr/sfw/include
369N/ALDFLAGS += -L/usr/sfw/lib -L$(ROOT)/usr/lib/fm -R/usr/sfw/lib:/usr/lib/fm
369N/ALINTFLAGS += -L$(ROOT)/usr/lib/fm
369N/ALDLIBS += $(SNMPLIBS) -lfmd_msg
369N/A
369N/A$(ROOTSMASNMPCONFS) := FILEMODE = 0600
369N/A
369N/A$(ROOTSMASNMPDIR)/%: %
369N/A $(INS.file)
369N/A
369N/Ainstall: $(ROOTSMASNMPCONFS)
369N/A