17836SJohn.Forte@Sun.COM# 27836SJohn.Forte@Sun.COM# CDDL HEADER START 37836SJohn.Forte@Sun.COM# 47836SJohn.Forte@Sun.COM# The contents of this file are subject to the terms of the 57836SJohn.Forte@Sun.COM# Common Development and Distribution License (the "License"). 67836SJohn.Forte@Sun.COM# You may not use this file except in compliance with the License. 77836SJohn.Forte@Sun.COM# 87836SJohn.Forte@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97836SJohn.Forte@Sun.COM# or http://www.opensolaris.org/os/licensing. 107836SJohn.Forte@Sun.COM# See the License for the specific language governing permissions 117836SJohn.Forte@Sun.COM# and limitations under the License. 127836SJohn.Forte@Sun.COM# 137836SJohn.Forte@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each 147836SJohn.Forte@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157836SJohn.Forte@Sun.COM# If applicable, add the following below this CDDL HEADER, with the 167836SJohn.Forte@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying 177836SJohn.Forte@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner] 187836SJohn.Forte@Sun.COM# 197836SJohn.Forte@Sun.COM# CDDL HEADER END 207836SJohn.Forte@Sun.COM# 217836SJohn.Forte@Sun.COM# 22*10207SJames.McPherson@Sun.COM# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 237836SJohn.Forte@Sun.COM# Use is subject to license terms. 247836SJohn.Forte@Sun.COM# 257836SJohn.Forte@Sun.COM 267836SJohn.Forte@Sun.COMLIBRARY= libMPAPI.a 277836SJohn.Forte@Sun.COMVERS= .1 287836SJohn.Forte@Sun.COMOBJECTS= mpapi.o mpapi-sun.o 297836SJohn.Forte@Sun.COM 307836SJohn.Forte@Sun.COMinclude ../../../Makefile.lib 317836SJohn.Forte@Sun.COMinclude ../../../Makefile.rootfs 327836SJohn.Forte@Sun.COM 337836SJohn.Forte@Sun.COMSRCDIR = ../common 347836SJohn.Forte@Sun.COM 357836SJohn.Forte@Sun.COMLIBS = $(DYNLIB) $(LINTLIB) 367836SJohn.Forte@Sun.COMLDLIBS += -lc 377836SJohn.Forte@Sun.COM 387836SJohn.Forte@Sun.COM$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) 397836SJohn.Forte@Sun.COM 407836SJohn.Forte@Sun.COMCFLAGS += $(CCVERBOSE) 417836SJohn.Forte@Sun.COMCPPFLAGS += -I$(SRCDIR) -mt -v -D_POSIX_PTHREAD_SEMANTICS 427836SJohn.Forte@Sun.COMCPPFLAGS += -DBUILD_TIME='"Wed Sep 24 12:00:00 2008"' 437836SJohn.Forte@Sun.COMDYNFLAGS += -z finiarray=ExitLibrary 447836SJohn.Forte@Sun.COMDYNFLAGS += -z initarray=InitLibrary 457836SJohn.Forte@Sun.COM 467836SJohn.Forte@Sun.COMROOTETC = $(ROOT)/etc 477836SJohn.Forte@Sun.COMCONFDIR = ../common 487836SJohn.Forte@Sun.COMCONFFILE = $(CONFDIR)/mpapi.conf 497836SJohn.Forte@Sun.COMIETCFILES = $(CONFFILE:$(CONFDIR)/%=$(ROOTETC)/%) 507836SJohn.Forte@Sun.COM$(IETCFILES) := FILEMODE = 0644 517836SJohn.Forte@Sun.COM 527836SJohn.Forte@Sun.COM.KEEP_STATE: 537836SJohn.Forte@Sun.COM 547836SJohn.Forte@Sun.COMall: $(LIBS) $(IETCFILES) 557836SJohn.Forte@Sun.COM 567836SJohn.Forte@Sun.COMlint: 577836SJohn.Forte@Sun.COM 587836SJohn.Forte@Sun.COM$(ROOTETC)/%: $(CONFDIR)/% 597836SJohn.Forte@Sun.COM $(INS.file) 607836SJohn.Forte@Sun.COM 617836SJohn.Forte@Sun.COMinclude ../../../Makefile.targ 62