19781SMoriah.Waterland@Sun.COM# 29781SMoriah.Waterland@Sun.COM# CDDL HEADER START 39781SMoriah.Waterland@Sun.COM# 49781SMoriah.Waterland@Sun.COM# The contents of this file are subject to the terms of the 59781SMoriah.Waterland@Sun.COM# Common Development and Distribution License (the "License"). 69781SMoriah.Waterland@Sun.COM# You may not use this file except in compliance with the License. 79781SMoriah.Waterland@Sun.COM# 89781SMoriah.Waterland@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 99781SMoriah.Waterland@Sun.COM# or http://www.opensolaris.org/os/licensing. 109781SMoriah.Waterland@Sun.COM# See the License for the specific language governing permissions 119781SMoriah.Waterland@Sun.COM# and limitations under the License. 129781SMoriah.Waterland@Sun.COM# 139781SMoriah.Waterland@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each 149781SMoriah.Waterland@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 159781SMoriah.Waterland@Sun.COM# If applicable, add the following below this CDDL HEADER, with the 169781SMoriah.Waterland@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying 179781SMoriah.Waterland@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner] 189781SMoriah.Waterland@Sun.COM# 199781SMoriah.Waterland@Sun.COM# CDDL HEADER END 209781SMoriah.Waterland@Sun.COM# 219781SMoriah.Waterland@Sun.COM 229781SMoriah.Waterland@Sun.COM# 239781SMoriah.Waterland@Sun.COM# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 249781SMoriah.Waterland@Sun.COM# Use is subject to license terms. 259781SMoriah.Waterland@Sun.COM# 269781SMoriah.Waterland@Sun.COM 279781SMoriah.Waterland@Sun.COMPROG= libinst.a 289781SMoriah.Waterland@Sun.COM 299781SMoriah.Waterland@Sun.COMOBJS= copyf.o dockdeps.o echo.o eptstat.o \ 309781SMoriah.Waterland@Sun.COM finalck.o findscripts.o fixpath.o flex_dev.o \ 319781SMoriah.Waterland@Sun.COM isreloc.o lockinst.o mntinfo.o nblk.o \ 329781SMoriah.Waterland@Sun.COM ocfile.o pathdup.o pkgdbmerg.o procmap.o \ 339781SMoriah.Waterland@Sun.COM pkgobjmap.o psvr4ck.o ptext.o putparam.o \ 349781SMoriah.Waterland@Sun.COM qreason.o qstrdup.o setadmin.o setlist.o \ 359781SMoriah.Waterland@Sun.COM srcpath.o scriptvfy.o stub.o doulimit.o \ 369781SMoriah.Waterland@Sun.COM dryrun.o listmgr.o is_local_host.o cvtpath.o \ 379781SMoriah.Waterland@Sun.COM depchk.o pkgops.o sml.o log.o \ 389781SMoriah.Waterland@Sun.COM setup_temporary_directory.o open_package_datastream.o \ 399781SMoriah.Waterland@Sun.COM unpack_package_from_stream.o 409781SMoriah.Waterland@Sun.COMSRCS = $(OBJS:.o=.c) 419781SMoriah.Waterland@Sun.COM 429781SMoriah.Waterland@Sun.COMinclude $(SRC)/cmd/Makefile.cmd 439781SMoriah.Waterland@Sun.COM 449781SMoriah.Waterland@Sun.COM# 459781SMoriah.Waterland@Sun.COM# For messaging catalog 469781SMoriah.Waterland@Sun.COMPOFILE = libinst.po 479781SMoriah.Waterland@Sun.COMMSGFILES=$(OBJS:%.o=%.i) 489781SMoriah.Waterland@Sun.COM 499781SMoriah.Waterland@Sun.COMCPPFLAGS += -I$(SRC)/cmd/svr4pkg/hdrs \ 509781SMoriah.Waterland@Sun.COM -I$(SRC)/lib/libpkg/common \ 519781SMoriah.Waterland@Sun.COM -I$(SRC)/lib/libinstzones/common \ 529781SMoriah.Waterland@Sun.COM -D_FILE_OFFSET_BITS=64 539781SMoriah.Waterland@Sun.COM 54*10158SPaul.Wernau@Sun.COM# For VERBOSE mode 55*10158SPaul.Wernau@Sun.COM#CPPFLAGS += -DVERBOSE 56*10158SPaul.Wernau@Sun.COM 57*10158SPaul.Wernau@Sun.COM# For stop-in-your-tracks debugging 58*10158SPaul.Wernau@Sun.COM#CPPFLAGS += -DBUG_DEBUG 59*10158SPaul.Wernau@Sun.COM 609781SMoriah.Waterland@Sun.COM# Lint flags 619781SMoriah.Waterland@Sun.COM# 629781SMoriah.Waterland@Sun.COMLINTFLAGS += -un 639781SMoriah.Waterland@Sun.COM 649781SMoriah.Waterland@Sun.COM.KEEP_STATE: 659781SMoriah.Waterland@Sun.COM 669781SMoriah.Waterland@Sun.COMall: $(PROG) 679781SMoriah.Waterland@Sun.COM 689781SMoriah.Waterland@Sun.COM$(PROG): $(OBJS) 699781SMoriah.Waterland@Sun.COM $(RM) $@ 709781SMoriah.Waterland@Sun.COM $(AR) $(ARFLAGS) $@ $(OBJS) 719781SMoriah.Waterland@Sun.COM $(POST_PROCESS_A) 729781SMoriah.Waterland@Sun.COM 739781SMoriah.Waterland@Sun.COMinstall: all 749781SMoriah.Waterland@Sun.COM @echo "$(PROG) is a static library and will not be installed." 759781SMoriah.Waterland@Sun.COM 769781SMoriah.Waterland@Sun.COM$(POFILE): $(MSGFILES) 779781SMoriah.Waterland@Sun.COM $(BUILDPO.msgfiles) 789781SMoriah.Waterland@Sun.COM 799781SMoriah.Waterland@Sun.COM_msg: $(MSGDOMAINPOFILE) 809781SMoriah.Waterland@Sun.COM 819781SMoriah.Waterland@Sun.COMclean: 829781SMoriah.Waterland@Sun.COM $(RM) $(OBJS) $(MSGFILES) 839781SMoriah.Waterland@Sun.COM 849781SMoriah.Waterland@Sun.COMclobber: clean 859781SMoriah.Waterland@Sun.COM $(RM) $(PROG) $(POFILE) 869781SMoriah.Waterland@Sun.COM 879781SMoriah.Waterland@Sun.COMinclude $(SRC)/Makefile.msg.targ 88