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# lib/libsasl/Makefile.com 8*7c478bd9Sstevel@tonic-gate# 9*7c478bd9Sstevel@tonic-gate 10*7c478bd9Sstevel@tonic-gateLIBRARY= libsasl.a 11*7c478bd9Sstevel@tonic-gateVERS= .1 12*7c478bd9Sstevel@tonic-gate 13*7c478bd9Sstevel@tonic-gateSASLOBJS= auxprop.o canonusr.o checkpw.o client.o \ 14*7c478bd9Sstevel@tonic-gate common.o config.o dlopen.o external.o \ 15*7c478bd9Sstevel@tonic-gate md5.o saslutil.o seterror.o server.o 16*7c478bd9Sstevel@tonic-gate 17*7c478bd9Sstevel@tonic-gateCOMMONOBJS= plugin_common.o 18*7c478bd9Sstevel@tonic-gate 19*7c478bd9Sstevel@tonic-gateOBJECTS= $(SASLOBJS) $(COMMONOBJS) 20*7c478bd9Sstevel@tonic-gate 21*7c478bd9Sstevel@tonic-gateinclude ../../Makefile.lib 22*7c478bd9Sstevel@tonic-gate 23*7c478bd9Sstevel@tonic-gateLIBS= $(DYNLIB) $(LINTLIB) 24*7c478bd9Sstevel@tonic-gateSRCS= $(SASLOBJS:%.o=../lib/%.c) $(COMMONOBJS:%.o=$(PLUGDIR)/%.c) 25*7c478bd9Sstevel@tonic-gate$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC) 26*7c478bd9Sstevel@tonic-gateLDLIBS += -lsocket -lc -lmd5 27*7c478bd9Sstevel@tonic-gateLINTFLAGS += -DPIC 28*7c478bd9Sstevel@tonic-gateLINTFLAGS64 += -DPIC 29*7c478bd9Sstevel@tonic-gate 30*7c478bd9Sstevel@tonic-gateSRCDIR= ../lib 31*7c478bd9Sstevel@tonic-gatePLUGDIR= ../plugin 32*7c478bd9Sstevel@tonic-gateMAPDIR= ../spec/$(TRANSMACH) 33*7c478bd9Sstevel@tonic-gateSPECMAPFILE= $(MAPDIR)/mapfile 34*7c478bd9Sstevel@tonic-gate 35*7c478bd9Sstevel@tonic-gateCFLAGS += $(CCVERBOSE) $(XSTRCONST) 36*7c478bd9Sstevel@tonic-gateCFLAGS64 += $(XSTRCONST) 37*7c478bd9Sstevel@tonic-gateCPPFLAGS += -I../include -I$(PLUGDIR) 38*7c478bd9Sstevel@tonic-gate 39*7c478bd9Sstevel@tonic-gate.KEEP_STATE: 40*7c478bd9Sstevel@tonic-gate 41*7c478bd9Sstevel@tonic-gateall: $(LIBS) 42*7c478bd9Sstevel@tonic-gate 43*7c478bd9Sstevel@tonic-gatelint: lintcheck 44*7c478bd9Sstevel@tonic-gate 45*7c478bd9Sstevel@tonic-gatepics/%.o: $(PLUGDIR)/%.c 46*7c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 47*7c478bd9Sstevel@tonic-gate $(POST_PROCESS_O) 48*7c478bd9Sstevel@tonic-gate 49*7c478bd9Sstevel@tonic-gateinclude ../../Makefile.targ 50