17c478bd9Sstevel@tonic-gate# 2f808c858Sraf# CDDL HEADER START 3f808c858Sraf# 4f808c858Sraf# The contents of this file are subject to the terms of the 5f808c858Sraf# Common Development and Distribution License (the "License"). 6f808c858Sraf# You may not use this file except in compliance with the License. 7f808c858Sraf# 8f808c858Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9f808c858Sraf# or http://www.opensolaris.org/os/licensing. 10f808c858Sraf# See the License for the specific language governing permissions 11f808c858Sraf# and limitations under the License. 12f808c858Sraf# 13f808c858Sraf# When distributing Covered Code, include this CDDL HEADER in each 14f808c858Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15f808c858Sraf# If applicable, add the following below this CDDL HEADER, with the 16f808c858Sraf# fields enclosed by brackets "[]" replaced with your own identifying 17f808c858Sraf# information: Portions Copyright [yyyy] [name of copyright owner] 18f808c858Sraf# 19f808c858Sraf# CDDL HEADER END 20f808c858Sraf# 21f808c858Sraf# 220bb07399SNick Todd# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 257c478bd9Sstevel@tonic-gate 267c478bd9Sstevel@tonic-gateCOMMONOBJS= plugin_common.o 277c478bd9Sstevel@tonic-gateOBJECTS= $(PLUG_OBJS) $(COMMONOBJS) 287c478bd9Sstevel@tonic-gate 297c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.lib 307c478bd9Sstevel@tonic-gate 317c478bd9Sstevel@tonic-gateCPPFLAGS += -I$(SRC)/lib/libsasl/include 327c478bd9Sstevel@tonic-gate 33*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 34*7014882cSRichard Lowe 357c478bd9Sstevel@tonic-gateLIBS = $(DYNLIB) 36f808c858SrafSRCS= $(PLUG_OBJS:%.o=../%.c) \ 37f808c858Sraf $(COMMONOBJS:%.o=$(SRC)/lib/libsasl/plugin/%.c) 387c478bd9Sstevel@tonic-gateLDLIBS += -lsocket -lc $(PLUG_LIBS) 397c478bd9Sstevel@tonic-gate 40f808c858SrafMAPFILES = ../../mapfile-vers 417c478bd9Sstevel@tonic-gate 427c478bd9Sstevel@tonic-gateROOTLIBDIR= $(ROOT)/usr/lib/sasl 437c478bd9Sstevel@tonic-gateROOTLIBDIR64= $(ROOT)/usr/lib/sasl/$(MACH64) 447c478bd9Sstevel@tonic-gate 457c478bd9Sstevel@tonic-gateLINTFLAGS= $(ENC_FLAGS) 460bb07399SNick ToddLINTFLAGS64= -m64 $(ENC_FLAGS) 477c478bd9Sstevel@tonic-gate 487c478bd9Sstevel@tonic-gateCFLAGS += $(CCVERBOSE) $(XSTRCONST) $(ENC_FLAGS) 497c478bd9Sstevel@tonic-gateCFLAGS64 += $(XSTRCONST) $(ENC_FLAGS) 507c478bd9Sstevel@tonic-gate 517c478bd9Sstevel@tonic-gate.KEEP_STATE: 527c478bd9Sstevel@tonic-gate 537c478bd9Sstevel@tonic-gateall: $(LIBS) 547c478bd9Sstevel@tonic-gate 557c478bd9Sstevel@tonic-gatelint: lintcheck 567c478bd9Sstevel@tonic-gate 577c478bd9Sstevel@tonic-gatepics/%.o: $(SRC)/lib/libsasl/plugin/%.c 587c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 597c478bd9Sstevel@tonic-gate $(POST_PROCESS_O) 607c478bd9Sstevel@tonic-gate 617c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.targ 62