Makefile revision 494f7e12a62129ef191a15f9dfde6b7abe3bf510
561N/A#
561N/A# CDDL HEADER START
837N/A#
837N/A# The contents of this file are subject to the terms of the
561N/A# Common Development and Distribution License (the "License").
561N/A# You may not use this file except in compliance with the License.
561N/A#
561N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
561N/A# or http://www.opensolaris.org/os/licensing.
561N/A# See the License for the specific language governing permissions
561N/A# and limitations under the License.
561N/A#
561N/A# When distributing Covered Code, include this CDDL HEADER in each
561N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
561N/A# If applicable, add the following below this CDDL HEADER, with the
561N/A# fields enclosed by brackets "[]" replaced with your own identifying
561N/A# information: Portions Copyright [yyyy] [name of copyright owner]
561N/A#
561N/A# CDDL HEADER END
561N/A#
561N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
561N/A# Use is subject to license terms.
561N/A#
561N/A
561N/APROG = tpmadm
561N/A
561N/AOBJS = main.o \
561N/A admin_cmds.o
561N/A
561N/Ainclude ../../Makefile.cmd
837N/A
561N/ASRCS = $(OBJS:%.o=%.c)
561N/APOFILES = $(OBJS:%.o=%.po)
561N/APOFILE = $(PROG)_msg.po
561N/AMSGFILES=$(SRCS:%.c=%.i)
561N/A
561N/ACPPFLAGS += -xCC
837N/ALINTFLAGS += -XCC -L$(ADJUNCT_PROTO)/usr/lib
837N/ALDLIBS += -ltspi -luuid
837N/A
837N/A.KEEP_STATE:
561N/A
561N/Aall : $(PROG)
837N/A
$(PROG) : $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(DYNFLAGS) $(LDLIBS)
$(POST_PROCESS)
$(POFILE) : $(POFILES)
$(RM) $@; $(CAT) $(POFILES) > $@
install : all $(ROOTPROG)
clean :
$(RM) $(OBJS)
lint : lint_SRCS
include ../../Makefile.targ