Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
83aaf46c9feab529aeb9add871c05c3d1177afccaurium#
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# CDDL HEADER START
83aaf46c9feab529aeb9add871c05c3d1177afccaurium#
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# The contents of this file are subject to the terms of the
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# Common Development and Distribution License (the "License").
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# You may not use this file except in compliance with the License.
83aaf46c9feab529aeb9add871c05c3d1177afccaurium#
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# or http://www.opensolaris.org/os/licensing.
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# See the License for the specific language governing permissions
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# and limitations under the License.
83aaf46c9feab529aeb9add871c05c3d1177afccaurium#
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# When distributing Covered Code, include this CDDL HEADER in each
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# If applicable, add the following below this CDDL HEADER, with the
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# fields enclosed by brackets "[]" replaced with your own identifying
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# information: Portions Copyright [yyyy] [name of copyright owner]
83aaf46c9feab529aeb9add871c05c3d1177afccaurium#
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# CDDL HEADER END
83aaf46c9feab529aeb9add871c05c3d1177afccaurium#
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# Use is subject to license terms.
83aaf46c9feab529aeb9add871c05c3d1177afccaurium#
83aaf46c9feab529aeb9add871c05c3d1177afccaurium
83aaf46c9feab529aeb9add871c05c3d1177afccauriumPROG= protolist
83aaf46c9feab529aeb9add871c05c3d1177afccauriumOBJS= $(PROG).o stdusers.o
SRCS= $(PROG).c ../protocmp/stdusers.c
include ../Makefile.tools
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I../protocmp
CLEANFILES += $(OBJS)
.KEEP_STATE:
all: $(PROG)
$(PROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
install: all .WAIT $(ROOTONBLDMACHPROG)
lint: lint_SRCS
clean:
$(RM) $(CLEANFILES)
%.o: ../protocmp/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
include ../Makefile.targ