Makefile revision 2225707c7e7edf7c636ed349df2592ef85329cdd
623N/A#
623N/A# CDDL HEADER START
623N/A#
623N/A# The contents of this file are subject to the terms of the
623N/A# Common Development and Distribution License (the "License").
623N/A# You may not use this file except in compliance with the License.
623N/A#
623N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
623N/A# or http://www.opensolaris.org/os/licensing.
623N/A# See the License for the specific language governing permissions
623N/A# and limitations under the License.
623N/A#
623N/A# When distributing Covered Code, include this CDDL HEADER in each
623N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
623N/A# If applicable, add the following below this CDDL HEADER, with the
623N/A# fields enclosed by brackets "[]" replaced with your own identifying
623N/A# information: Portions Copyright [yyyy] [name of copyright owner]
623N/A#
623N/A# CDDL HEADER END
873N/A#
623N/A
623N/A#
623N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
623N/A# Use is subject to license terms.
623N/A#
873N/A
623N/APROG= elfsign
623N/ASHFILES= elfsigncmp
623N/A
623N/ALIBOBJS= elfcertlib.o elfsignlib.o
623N/AOBJS= $(PROG).o $(LIBOBJS)
623N/A
623N/A.PARALLEL: $(OBJS)
623N/A
623N/ACMDDIR= $(SRC)/cmd/cmd-crypto/elfsign
623N/ALIBDIR= $(SRC)/lib/libelfsign/common
623N/ASRCS= $(CMDDIR)/$(PROG).c $(LIBOBJS:%.o=$(LIBDIR)/%.c)
623N/ACLEANFILES= $(PROG) $(OBJS) $(SHFILES)
623N/A
623N/Ainclude ../../../src/tools/Makefile.tools
623N/A
623N/AOWNER= root
623N/AGROUP= bin
623N/ACFLAGS += $(CCVERBOSE)
623N/ACFLAGS += -_gcc=-fasm
623N/A
623N/ACPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS
623N/ACPPFLAGS += -I$(SRC)/lib/libelfsign/common
623N/ACPPFLAGS += -I$(SRC)/uts/common
623N/ACPPFLAGS += -I$(SRC)/lib/libkmf/include
623N/ACPPFLAGS += -I$(SRC)/lib/libcryptoutil/common
623N/ALDFLAGS += -lmd -lelf -lkmf -lcryptoutil -lc
623N/A
623N/A.KEEP_STATE:
623N/A
623N/Aall: $(PROG) $(SHFILES)
623N/A
623N/Ainstall: all .WAIT $(ROOTONBLDMACHPROG) $(ROOTONBLDSHFILES)
623N/A
623N/A$(PROG): $(OBJS)
623N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
623N/A $(POST_PROCESS)
623N/A
623N/A%.o: $(CMDDIR)/%.c
623N/A $(COMPILE.c) -o $@ $<
623N/A
623N/A%.o: $(LIBDIR)/%.c
623N/A $(COMPILE.c) -o $@ $<
623N/A
623N/Alint: lint_SRCS
623N/A
623N/Aclean:
623N/A $(RM) $(CLEANFILES)
623N/A
623N/Ainclude ../../../src/tools/Makefile.targ
623N/A