Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
2066N/A#
2066N/A# CDDL HEADER START
2066N/A#
2066N/A# The contents of this file are subject to the terms of the
2066N/A# Common Development and Distribution License (the "License").
2066N/A# You may not use this file except in compliance with the License.
2066N/A#
2066N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2066N/A# or http://www.opensolaris.org/os/licensing.
2066N/A# See the License for the specific language governing permissions
2066N/A# and limitations under the License.
2066N/A#
2066N/A# When distributing Covered Code, include this CDDL HEADER in each
2066N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2066N/A# If applicable, add the following below this CDDL HEADER, with the
2066N/A# fields enclosed by brackets "[]" replaced with your own identifying
2066N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2066N/A#
2066N/A# CDDL HEADER END
2066N/A#
2066N/A#
2066N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3954N/A# Use is subject to license terms.
2066N/A#
2066N/A
2066N/APROG= unifdef
2066N/A
2066N/Ainclude ../../../Makefile.cmd
3954N/A
3954N/AOBJS= unifdef.o
3954N/A
3954N/ASRCS= $(OBJS:%.o=../common/%.c)
2066N/A
2066N/ADEFLIST= -DELF_OBJ -DELF
2066N/ACPPFLAGS= $(INCLIST) $(DEFLIST) $(CPPFLAGS.master)
3954N/ACFLAGS += $(CCVERBOSE)
3954N/ACERRWARN += -_gcc=-Wno-char-subscripts
2066N/ACERRWARN += -_gcc=-Wno-parentheses
2066N/AC99MODE= $(C99_ENABLE)
3954N/ALINTFLAGS += $(LDLIBS)
3661N/A
2066N/ACLEANFILES += $(LINTOUT)
2066N/A
2066N/A%.o: ../common/%.c
2066N/A $(COMPILE.c) $<
2066N/A
2066N/A.KEEP_STATE:
2066N/A
2617N/Aall: $(PROG)
2617N/A
2066N/A$(PROG): $(OBJS)
2066N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
2066N/A $(POST_PROCESS)
2066N/A
2066N/Ainstall: all $(ROOTPROG) $(ROOTCCSBINLINK)
2066N/A
2066N/Aclean:
2066N/A $(RM) $(OBJS) $(CLEANFILES)
2066N/A
2066N/Alint: $(LINTOUT)
$(LINTOUT): $(SRCS)
perl ../../tools/lint_hdr.pl $(PROG) > $(LINTOUT)
$(LINT.c) $(SRCS) 2>&1 | tee -a $(LINTOUT)
include ../../../Makefile.targ