Makefile revision bf56214c0556fa6864189c826d39dbe156bb22a0
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# CDDL HEADER START
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# The contents of this file are subject to the terms of the
dde8659175c5798267fb0fdefd7576e4efe271b3Automatic Updater# Common Development and Distribution License (the "License").
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# You may not use this file except in compliance with the License.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# See the License for the specific language governing permissions
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# and limitations under the License.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# If applicable, add the following below this CDDL HEADER, with the
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# CDDL HEADER END
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
cf58feee56bf1afb8c2909f399a6f1e28d0dbf68Jeremy Reed# Use is subject to license terms.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# ident "%Z%%M% %I% %E% SMI"
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# In order to conform with the Solaris 2.6 way of packaging things,
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# we now need to put any deliverable that is specified in the
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# prototype file into a common "proto" area, so that their
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews# packaging scheme knows where to obtain the input binaries.
e17cb80d7cebc23a4de75376155f2231dea193e6Mark AndrewsCPPFLAGS += -I. -I../snmplib -I../../include/netmgt -I${BIN}
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews#######################################################
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews $(CC) -o $(BINPROG) $(LDFLAGS) $(OBJECTS) $(MYLINKLIBS) $(LIBS)
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews $(CC) $(CFLAGS) $(CPPFLAGS) $(DEFINES) $*.c -o $@
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews $(LINT) $(LDFLAGS) $(CPPFLAGS) $(DEFINES) $(SOURCES.c) $(MYLINKLIBS) $(LIBS)
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt $(PURIFY) $(CC) -o $(BINPROG) $(LDFLAGS) $(OBJECTS) $(MYLINKLIBS) $(LIBS)
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt# directories