1*e71ca95cSGerald Jelinek# 2*e71ca95cSGerald Jelinek# CDDL HEADER START 3*e71ca95cSGerald Jelinek# 4*e71ca95cSGerald Jelinek# The contents of this file are subject to the terms of the 5*e71ca95cSGerald Jelinek# Common Development and Distribution License (the "License"). 6*e71ca95cSGerald Jelinek# You may not use this file except in compliance with the License. 7*e71ca95cSGerald Jelinek# 8*e71ca95cSGerald Jelinek# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*e71ca95cSGerald Jelinek# or http://www.opensolaris.org/os/licensing. 10*e71ca95cSGerald Jelinek# See the License for the specific language governing permissions 11*e71ca95cSGerald Jelinek# and limitations under the License. 12*e71ca95cSGerald Jelinek# 13*e71ca95cSGerald Jelinek# When distributing Covered Code, include this CDDL HEADER in each 14*e71ca95cSGerald Jelinek# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*e71ca95cSGerald Jelinek# If applicable, add the following below this CDDL HEADER, with the 16*e71ca95cSGerald Jelinek# fields enclosed by brackets "[]" replaced with your own identifying 17*e71ca95cSGerald Jelinek# information: Portions Copyright [yyyy] [name of copyright owner] 18*e71ca95cSGerald Jelinek# 19*e71ca95cSGerald Jelinek# CDDL HEADER END 20*e71ca95cSGerald Jelinek# 21*e71ca95cSGerald Jelinek# 22*e71ca95cSGerald Jelinek# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23*e71ca95cSGerald Jelinek# Use is subject to license terms. 24*e71ca95cSGerald Jelinek# 25*e71ca95cSGerald Jelinek 26*e71ca95cSGerald JelinekLIBRARY = s10_npreload.a 27*e71ca95cSGerald JelinekVERS = .1 28*e71ca95cSGerald JelinekCOBJS = s10_npreload.o 29*e71ca95cSGerald Jelinek 30*e71ca95cSGerald JelinekOBJECTS = $(COBJS) 31*e71ca95cSGerald Jelinek 32*e71ca95cSGerald JelinekUTSBASE = $(SRC)/uts 33*e71ca95cSGerald Jelinek 34*e71ca95cSGerald Jelinekinclude ../../Makefile.s10 35*e71ca95cSGerald Jelinekinclude $(SRC)/lib/Makefile.lib 36*e71ca95cSGerald Jelinek 37*e71ca95cSGerald JelinekLIBS = $(DYNLIB) 38*e71ca95cSGerald JelinekCSRCS = $(COBJS:%o=../common/%c) 39*e71ca95cSGerald JelinekSRCS = $(CSRCS) 40*e71ca95cSGerald JelinekSRCDIR = ../common 41*e71ca95cSGerald Jelinek 42*e71ca95cSGerald JelinekCPPFLAGS += -D_REENTRANT -U_ASM -I../sys \ 43*e71ca95cSGerald Jelinek -I$(UTSBASE)/common/brand/solaris10 44*e71ca95cSGerald JelinekCFLAGS += $(CCVERBOSE) 45*e71ca95cSGerald JelinekDYNFLAGS += $(BLOCAL) $(ZNOVERSION) 46*e71ca95cSGerald JelinekLDLIBS += -lc 47*e71ca95cSGerald Jelinek 48*e71ca95cSGerald JelinekCLEANFILES += $(DYNLIB) 49*e71ca95cSGerald Jelinek 50*e71ca95cSGerald Jelinek.KEEP_STATE: 51*e71ca95cSGerald Jelinek 52*e71ca95cSGerald Jelinekall: $(LIBS) 53*e71ca95cSGerald Jelinek 54*e71ca95cSGerald Jelinek 55*e71ca95cSGerald Jelinekinclude $(SRC)/lib/Makefile.targ 56