Makefile revision 450396635f70344c58b6b1e4db38cf17ff34445c
309N/A#
309N/A# CDDL HEADER START
1408N/A#
309N/A# The contents of this file are subject to the terms of the
1408N/A# Common Development and Distribution License (the "License").
309N/A# You may not use this file except in compliance with the License.
309N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
309N/A#
309N/A# cmd/iscsid/Makefile
309N/A#
309N/A
493N/APROG = aluaadm
309N/A
309N/Ainclude ../../Makefile.cmd
1408N/A
309N/ACOMMONBASE = ../../../common
911N/A
1408N/ADEMOBINFILES = \
1408N/A $(PROG)
1408N/A
911N/AROOTDEMODIR = $(ROOT)/usr/demo/comstar
309N/AROOTDEMOBINDIR = $(ROOTDEMODIR)/bin
1366N/AROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%)
309N/AROOTDEMOBINFILES = $(DEMOBINFILES:%=$(ROOTDEMOBINDIR)/%)
970N/A
970N/ALOCAL_OBJS = aluaadm.o
970N/ALOCAL_SRCS = $(LOCAL_OBJS:%.o=%.c)
970N/ACOMMON_OBJS = cmdparse.o
970N/ACOMMON_SRCS = $(COMMON_OBJS:%.o=$(COMMONBASE)/cmdparse/%.c)
970N/AOBJS = $(LOCAL_OBJS) $(COMMON_OBJS)
970N/ASRCS = $(LOCAL_SRCS) $(COMMON_SRCS)
309N/A
309N/ACPPFLAGS += -I. -I$(COMMONBASE)/cmdparse
1366N/ALDLIBS += -lstmf
493N/A
309N/A.KEEP_STATE:
1124N/A
1124N/Aall: $(PROG)
1124N/A
1124N/A$(PROG): $(OBJS)
970N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
970N/A $(POST_PROCESS)
970N/A
309N/Aclean:
$(RM) $(OBJS)
install: all $(ROOTDEMOBINFILES)
$(ROOTDEMODIR) $(ROOTDEMOBINDIR):
$(INS.dir)
$(ROOTDEMODIR)/% $(ROOTDEMOBINDIR)/% : %
$(INS.file)
$(ROOTDEMOBINFILES): $(ROOTDEMOBINDIR)
cmdparse.o: $(COMMONBASE)/cmdparse/cmdparse.c
$(COMPILE.c) -o $@ $(COMMONBASE)/cmdparse/cmdparse.c
$(POST_PROCESS_O)
lint: lint_SRCS
include ../../Makefile.targ