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