Makefile revision 67e3a03ed4a2813074d36330f062ed6e593a4937
486N/A#
486N/A# CDDL HEADER START
486N/A#
486N/A# The contents of this file are subject to the terms of the
486N/A# Common Development and Distribution License (the "License").
486N/A# You may not use this file except in compliance with the License.
486N/A#
486N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
486N/A# or http://www.opensolaris.org/os/licensing.
486N/A# See the License for the specific language governing permissions
486N/A# and limitations under the License.
486N/A#
486N/A# When distributing Covered Code, include this CDDL HEADER in each
486N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
486N/A# If applicable, add the following below this CDDL HEADER, with the
486N/A# fields enclosed by brackets "[]" replaced with your own identifying
486N/A# information: Portions Copyright [yyyy] [name of copyright owner]
486N/A#
486N/A# CDDL HEADER END
486N/A#
486N/A#
486N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
486N/A# Use is subject to license terms.
486N/A#
486N/A# ident "%Z%%M% %I% %E% SMI"
486N/A#
486N/A# Copyright (c) 1990 Mentat Inc.
486N/A#
486N/A# cmd/cmd-inet/usr.bin/netstat/Makefile
486N/A
486N/APROG= netstat
486N/A
486N/ALOCALOBJS= netstat.o unix.o
486N/ACOMMONOBJS= compat.o
486N/AOBJS= $(LOCALOBJS) $(COMMONOBJS)
486N/A
486N/Ainclude ../../../Makefile.cmd
486N/Ainclude ../../Makefile.cmd-inet
486N/A
486N/ALOCALSRCS= $(LOCALOBJS:%.o=%.c)
486N/ACOMMONSRCS= $(CMDINETCOMMONDIR)/$(COMMONOBJS:%.o=%.c)
486N/ASRCS= $(LOCALSRCS) $(COMMONSRCS)
486N/A
486N/ACPPFLAGS += -DNDEBUG -I$(CMDINETCOMMONDIR)
486N/ALDLIBS += -ldhcpagent -lsocket -lnsl -lkstat -ltsnet -ltsol
486N/A
486N/A.KEEP_STATE:
486N/A
486N/Aall: $(PROG) $(NPROG)
486N/A
486N/AROOTPROG= $(PROG:%=$(ROOTBIN)/%)
486N/A
486N/A$(PROG): $(OBJS)
486N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
486N/A $(POST_PROCESS)
486N/A
486N/Ainstall: all $(ROOTPROG)
486N/A
486N/Aclean:
486N/A $(RM) $(OBJS)
486N/A
486N/Alint: lint_SRCS
486N/A
486N/Ainclude ../../../Makefile.targ
486N/A
486N/A