df14233e629298598736976c5bfcf4a31873745fab#
df14233e629298598736976c5bfcf4a31873745fab# CDDL HEADER START
df14233e629298598736976c5bfcf4a31873745fab#
df14233e629298598736976c5bfcf4a31873745fab# The contents of this file are subject to the terms of the
df14233e629298598736976c5bfcf4a31873745fab# Common Development and Distribution License, Version 1.0 only
df14233e629298598736976c5bfcf4a31873745fab# (the "License"). You may not use this file except in compliance
df14233e629298598736976c5bfcf4a31873745fab# with the License.
df14233e629298598736976c5bfcf4a31873745fab#
df14233e629298598736976c5bfcf4a31873745fab# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
df14233e629298598736976c5bfcf4a31873745fab# or http://www.opensolaris.org/os/licensing.
df14233e629298598736976c5bfcf4a31873745fab# See the License for the specific language governing permissions
df14233e629298598736976c5bfcf4a31873745fab# and limitations under the License.
df14233e629298598736976c5bfcf4a31873745fab#
df14233e629298598736976c5bfcf4a31873745fab# When distributing Covered Code, include this CDDL HEADER in each
df14233e629298598736976c5bfcf4a31873745fab# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
df14233e629298598736976c5bfcf4a31873745fab# If applicable, add the following below this CDDL HEADER, with the
df14233e629298598736976c5bfcf4a31873745fab# fields enclosed by brackets "[]" replaced with your own identifying
df14233e629298598736976c5bfcf4a31873745fab# information: Portions Copyright [yyyy] [name of copyright owner]
df14233e629298598736976c5bfcf4a31873745fab#
df14233e629298598736976c5bfcf4a31873745fab# CDDL HEADER END
df14233e629298598736976c5bfcf4a31873745fab#
df14233e629298598736976c5bfcf4a31873745fab#
df14233e629298598736976c5bfcf4a31873745fab# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
df14233e629298598736976c5bfcf4a31873745fab# Use is subject to license terms.
df14233e629298598736976c5bfcf4a31873745fab#
df14233e629298598736976c5bfcf4a31873745fab
df14233e629298598736976c5bfcf4a31873745fabPROG= plimit
df14233e629298598736976c5bfcf4a31873745fab
df14233e629298598736976c5bfcf4a31873745fabOBJS= plimit.o
df14233e629298598736976c5bfcf4a31873745fab
SRCS= $(OBJS:%.o=../%.c)
include ../../Makefile.cmd
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-uninitialized
LDLIBS += -lproc
lint := LINTFLAGS = -x
CPPFLAGS += -D_LARGEFILE64_SOURCE=1
.KEEP_STATE:
%.o: ../%.c
$(COMPILE.c) $<
all: $(PROG)
$(PROG): $(OBJS)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
$(POST_PROCESS)
install: all $(ROOTPROG32)
clean:
$(RM) $(OBJS)
lint:
$(LINT.c) $(SRCS) $(LDLIBS)
include ../../Makefile.targ