Makefile revision 24e7a8c718c4c5c25356940c42d11758255d5078
98N/A#
98N/A# CDDL HEADER START
1276N/A#
98N/A# The contents of this file are subject to the terms of the
1276N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/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#
919N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
98N/A#
98N/A
98N/APROG= libinst.a
98N/A
493N/AOBJS= copyf.o dockdeps.o echo.o eptstat.o \
98N/A finalck.o findscripts.o fixpath.o flex_dev.o \
98N/A isreloc.o lockinst.o mntinfo.o nblk.o \
1276N/A ocfile.o pathdup.o pkgdbmerg.o procmap.o \
98N/A pkgobjmap.o psvr4ck.o ptext.o putparam.o \
911N/A qreason.o qstrdup.o setadmin.o setlist.o \
1276N/A srcpath.o scriptvfy.o stub.o doulimit.o \
1276N/A dryrun.o listmgr.o is_local_host.o cvtpath.o \
1276N/A depchk.o pkgops.o sml.o log.o \
911N/A setup_temporary_directory.o open_package_datastream.o \
98N/A unpack_package_from_stream.o
371N/ASRCS = $(OBJS:.o=.c)
98N/A
98N/Ainclude $(SRC)/cmd/Makefile.cmd
98N/A
98N/A#
970N/A# For messaging catalog
977N/APOFILE = libinst.po
970N/AMSGFILES=$(OBJS:%.o=%.i)
970N/A
970N/ACPPFLAGS += -I$(SRC)/cmd/svr4pkg/hdrs \
970N/A -I$(SRC)/lib/libpkg/common \
970N/A -I$(SRC)/lib/libinstzones/common \
970N/A -D_FILE_OFFSET_BITS=64
98N/A
559N/A# For VERBOSE mode
493N/A#CPPFLAGS += -DVERBOSE
969N/A
98N/A# For stop-in-your-tracks debugging
98N/A#CPPFLAGS += -DBUG_DEBUG
493N/A
98N/A# Lint flags
98N/A#
606N/ALINTFLAGS += -un
98N/A
98N/A.KEEP_STATE:
761N/A
559N/Aall: $(PROG)
559N/A
761N/A$(PROG): $(OBJS)
761N/A $(RM) $@
970N/A $(AR) $(ARFLAGS) $@ $(OBJS)
970N/A $(POST_PROCESS_A)
970N/A
98N/Ainstall: all
@echo "$(PROG) is a static library and will not be installed."
$(POFILE): $(MSGFILES)
$(BUILDPO.msgfiles)
_msg: $(MSGDOMAINPOFILE)
clean:
$(RM) $(OBJS) $(MSGFILES)
clobber: clean
$(RM) $(PROG) $(POFILE)
include $(SRC)/Makefile.msg.targ