1*7c478bd9Sstevel@tonic-gate# 2*7c478bd9Sstevel@tonic-gate# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 3*7c478bd9Sstevel@tonic-gate# Use is subject to license terms. 4*7c478bd9Sstevel@tonic-gate# 5*7c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 6*7c478bd9Sstevel@tonic-gate# 7*7c478bd9Sstevel@tonic-gate 8*7c478bd9Sstevel@tonic-gateCOMMONOBJS= plugin_common.o 9*7c478bd9Sstevel@tonic-gateOBJECTS= $(PLUG_OBJS) $(COMMONOBJS) 10*7c478bd9Sstevel@tonic-gate 11*7c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.lib 12*7c478bd9Sstevel@tonic-gate 13*7c478bd9Sstevel@tonic-gateCPPFLAGS += -I$(SRC)/lib/libsasl/include 14*7c478bd9Sstevel@tonic-gate 15*7c478bd9Sstevel@tonic-gateLIBS = $(DYNLIB) 16*7c478bd9Sstevel@tonic-gateSRCS= $(PLUG_OBJS:%.o=../%.c) $(COMMONOBJS:%.o=../../%.c) 17*7c478bd9Sstevel@tonic-gateLDLIBS += -lsocket -lc $(PLUG_LIBS) 18*7c478bd9Sstevel@tonic-gateSRCDIR= .. 19*7c478bd9Sstevel@tonic-gate 20*7c478bd9Sstevel@tonic-gateMAPDIR= ../spec/$(TRANSMACH) 21*7c478bd9Sstevel@tonic-gateSPECMAPFILE= $(MAPDIR)/mapfile 22*7c478bd9Sstevel@tonic-gate 23*7c478bd9Sstevel@tonic-gateROOTLIBDIR= $(ROOT)/usr/lib/sasl 24*7c478bd9Sstevel@tonic-gateROOTLIBDIR64= $(ROOT)/usr/lib/sasl/$(MACH64) 25*7c478bd9Sstevel@tonic-gate 26*7c478bd9Sstevel@tonic-gateLINTFLAGS= $(ENC_FLAGS) 27*7c478bd9Sstevel@tonic-gateLINTFLAGS64= -Xarch=$(MACH64:sparcv9=v9) $(ENC_FLAGS) 28*7c478bd9Sstevel@tonic-gate 29*7c478bd9Sstevel@tonic-gateCFLAGS += $(CCVERBOSE) $(XSTRCONST) $(ENC_FLAGS) 30*7c478bd9Sstevel@tonic-gateCFLAGS64 += $(XSTRCONST) $(ENC_FLAGS) 31*7c478bd9Sstevel@tonic-gate 32*7c478bd9Sstevel@tonic-gate.KEEP_STATE: 33*7c478bd9Sstevel@tonic-gate 34*7c478bd9Sstevel@tonic-gateall: $(LIBS) 35*7c478bd9Sstevel@tonic-gate 36*7c478bd9Sstevel@tonic-gatelint: lintcheck 37*7c478bd9Sstevel@tonic-gate 38*7c478bd9Sstevel@tonic-gatepics/%.o: $(SRC)/lib/libsasl/plugin/%.c 39*7c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 40*7c478bd9Sstevel@tonic-gate $(POST_PROCESS_O) 41*7c478bd9Sstevel@tonic-gate 42*7c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.targ 43