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# 2505ede3dbSJohn Levon# Copyright (c) 2018, Joyent, Inc. 267c478bd9Sstevel@tonic-gate 277c478bd9Sstevel@tonic-gateCOMMONOBJS= plugin_common.o 287c478bd9Sstevel@tonic-gateOBJECTS= $(PLUG_OBJS) $(COMMONOBJS) 297c478bd9Sstevel@tonic-gate 307c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.lib 317c478bd9Sstevel@tonic-gate 327c478bd9Sstevel@tonic-gateCPPFLAGS += -I$(SRC)/lib/libsasl/include 337c478bd9Sstevel@tonic-gate 34d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 357014882cSRichard Lowe 3605ede3dbSJohn Levon# not linted 3705ede3dbSJohn LevonSMATCH=off 3805ede3dbSJohn Levon 397c478bd9Sstevel@tonic-gateLIBS = $(DYNLIB) 40f808c858SrafSRCS= $(PLUG_OBJS:%.o=../%.c) \ 41f808c858Sraf $(COMMONOBJS:%.o=$(SRC)/lib/libsasl/plugin/%.c) 427c478bd9Sstevel@tonic-gateLDLIBS += -lsocket -lc $(PLUG_LIBS) 437c478bd9Sstevel@tonic-gate 44f808c858SrafMAPFILES = ../../mapfile-vers 457c478bd9Sstevel@tonic-gate 467c478bd9Sstevel@tonic-gateROOTLIBDIR= $(ROOT)/usr/lib/sasl 477c478bd9Sstevel@tonic-gateROOTLIBDIR64= $(ROOT)/usr/lib/sasl/$(MACH64) 487c478bd9Sstevel@tonic-gate 497c478bd9Sstevel@tonic-gate 50*d17be682SRichard LoweCFLAGS += $(CCVERBOSE) $(ENC_FLAGS) 51*d17be682SRichard LoweCFLAGS64 += $(ENC_FLAGS) 527c478bd9Sstevel@tonic-gate 537c478bd9Sstevel@tonic-gate.KEEP_STATE: 547c478bd9Sstevel@tonic-gate 557c478bd9Sstevel@tonic-gateall: $(LIBS) 567c478bd9Sstevel@tonic-gate 577c478bd9Sstevel@tonic-gate 587c478bd9Sstevel@tonic-gatepics/%.o: $(SRC)/lib/libsasl/plugin/%.c 597c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 607c478bd9Sstevel@tonic-gate $(POST_PROCESS_O) 617c478bd9Sstevel@tonic-gate 627c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.targ 63