1# 2# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 3# Use is subject to license terms. 4# 5# ident "%Z%%M% %I% %E% SMI" 6# 7# lib/libsasl/Makefile.com 8# 9 10LIBRARY= libsasl.a 11VERS= .1 12 13SASLOBJS= auxprop.o canonusr.o checkpw.o client.o \ 14 common.o config.o dlopen.o external.o \ 15 md5.o saslutil.o seterror.o server.o 16 17COMMONOBJS= plugin_common.o 18 19OBJECTS= $(SASLOBJS) $(COMMONOBJS) 20 21include ../../Makefile.lib 22 23LIBS= $(DYNLIB) $(LINTLIB) 24SRCS= $(SASLOBJS:%.o=../lib/%.c) $(COMMONOBJS:%.o=$(PLUGDIR)/%.c) 25$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC) 26LDLIBS += -lsocket -lc -lmd 27LINTFLAGS += -DPIC 28LINTFLAGS64 += -DPIC 29 30SRCDIR= ../lib 31PLUGDIR= ../plugin 32MAPDIR= ../spec/$(TRANSMACH) 33SPECMAPFILE= $(MAPDIR)/mapfile 34 35CFLAGS += $(CCVERBOSE) $(XSTRCONST) 36CFLAGS64 += $(XSTRCONST) 37CPPFLAGS += -I../include -I$(PLUGDIR) 38 39.KEEP_STATE: 40 41all: $(LIBS) 42 43lint: lintcheck 44 45pics/%.o: $(PLUGDIR)/%.c 46 $(COMPILE.c) -o $@ $< 47 $(POST_PROCESS_O) 48 49include ../../Makefile.targ 50