Makefile revision c1ecd8b9404ee0d96d93f02e82c441b9bb149a3d
124N/A#
124N/A# CDDL HEADER START
124N/A#
124N/A# The contents of this file are subject to the terms of the
124N/A# Common Development and Distribution License (the "License").
124N/A# You may not use this file except in compliance with the License.
124N/A#
124N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
124N/A# or http://www.opensolaris.org/os/licensing.
124N/A# See the License for the specific language governing permissions
124N/A# and limitations under the License.
124N/A#
124N/A# When distributing Covered Code, include this CDDL HEADER in each
124N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
124N/A# If applicable, add the following below this CDDL HEADER, with the
124N/A# fields enclosed by brackets "[]" replaced with your own identifying
124N/A# information: Portions Copyright [yyyy] [name of copyright owner]
124N/A#
124N/A# CDDL HEADER END
124N/A#
5680N/A#
5680N/A# ident "%Z%%M% %I% %E% SMI"
5230N/A#
124N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
5680N/A# Use is subject to license terms.
124N/A#
124N/A# cmd/lp/model/netpr
124N/A#
5871N/A
618N/APROG= netpr
124N/A
844N/Ainclude ../../Makefile.lp
5871N/A
618N/APURIFYOPTS = -logfile=/tmp/errs.%p
124N/APURIFY = purify $(PURIFYOPTS)
5871N/A
2899N/ACPPFLAGS = -I. -I$(LPINC) \
5648N/A $(CPPFLAGS.master)
5648N/A
5648N/AHDRS= \
5648N/A netpr.h \
5648N/A netdebug.h
5648N/A
5648N/ASRCS= \
5680N/A netpr.c \
5680N/A misc.c \
124N/A net.c \
2960N/A tcp_misc.c \
2960N/A bsd_misc.c
2960N/A
2960N/AOBJS= $(SRCS:.c=.o)
124N/A
124N/A
3069N/ALPLIBS = \
3069N/A $(LIBMSG) \
3069N/A $(LIBFRM) \
5935N/A $(LIBREQ) \
5935N/A $(LIBPRT) \
5935N/A $(LIBCLS) \
5935N/A $(LIBACC) \
5680N/A $(LIBFLT) \
5680N/A $(LIBUSR) \
124N/A $(LIBOAM) \
5617N/A $(LIBLP) \
124N/A $(LIBSEC) \
124N/A $(LIBSYS)
124N/A
3878N/ASYSLIBS= -lnsl -lsocket
3878N/A
5935N/ALDLIBS += $(LPLIBS) $(SYSLIBS)
5935N/AROOTLIBLPBIN = $(ROOTLIBLP)/bin
124N/A
765N/AROOTNETPRPROG = $(PROG:%=$(ROOTLIBLPBIN)/%)
765N/A
765N/AFILEMODE= 04511
765N/AOWNER= root
765N/AGROUP= bin
1792N/A
1792N/APOFILE= lp_model_netpr.po
1792N/A
765N/A.KEEP_STATE:
765N/A
765N/Aall: $(PROG)
765N/A
765N/Ainstall: all $(ROOTLIBLPBIN) $(ROOTNETPRPROG)
3817N/A
3817N/A$(ROOTLIBLPBIN):
3817N/A $(INS.dir)
3817N/A
3817N/A$(ROOTLIBLPBIN)/%: %
3817N/A $(INS.file)
3817N/A
3817N/A
5111N/A$(PROG): $(OBJS)
3817N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
3817N/A $(POST_PROCESS)
3817N/A
3817N/A$(PROG).pure: $(OBJS)
3817N/A $(PURIFY) $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
3817N/A $(POST_PROCESS)
3817N/A
3817N/Aclean:
3817N/A $(RM) $(OBJS)
clobber: clean
-$(RM) $(PROG) $(CLOBBERFILES)
strip:
$(STRIP) $(PROG)
cstyle:
cstyle $(SRCS)
LINTFLAGS += -lnsl -lsocket
lint:
$(LINT.c) $(SRCS) $(LDLIBS)
include ../Makefile.msg