1# 2# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 3# Use is subject to license terms. 4# 5# ident "%Z%%M% %I% %E% SMI" 6# 7 8COMMONOBJS= plugin_common.o 9OBJECTS= $(PLUG_OBJS) $(COMMONOBJS) 10 11include $(SRC)/lib/Makefile.lib 12 13CPPFLAGS += -I$(SRC)/lib/libsasl/include 14 15LIBS = $(DYNLIB) 16SRCS= $(PLUG_OBJS:%.o=../%.c) $(COMMONOBJS:%.o=../../%.c) 17LDLIBS += -lsocket -lc $(PLUG_LIBS) 18SRCDIR= .. 19 20MAPDIR= ../spec/$(TRANSMACH) 21SPECMAPFILE= $(MAPDIR)/mapfile 22 23ROOTLIBDIR= $(ROOT)/usr/lib/sasl 24ROOTLIBDIR64= $(ROOT)/usr/lib/sasl/$(MACH64) 25 26LINTFLAGS= $(ENC_FLAGS) 27LINTFLAGS64= -Xarch=$(MACH64:sparcv9=v9) $(ENC_FLAGS) 28 29CFLAGS += $(CCVERBOSE) $(XSTRCONST) $(ENC_FLAGS) 30CFLAGS64 += $(XSTRCONST) $(ENC_FLAGS) 31 32.KEEP_STATE: 33 34all: $(LIBS) 35 36lint: lintcheck 37 38pics/%.o: $(SRC)/lib/libsasl/plugin/%.c 39 $(COMPILE.c) -o $@ $< 40 $(POST_PROCESS_O) 41 42include $(SRC)/lib/Makefile.targ 43