1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A
1N/A#
1N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1N/A# Use is subject to license terms.
1N/A#
1N/A# ident "%Z%%M% %I% %E% SMI"
1N/A#
1N/A# cmd/sendmail/libsm/Makefile
1N/A#
1N/A
1N/Ainclude ../../Makefile.cmd
1N/Ainclude ../Makefile.cmd
1N/A
1N/AINCPATH= -I. -I../src -I../include
1N/ACPPFLAGS= $(INCPATH) $(DBMDEF) $(CPPFLAGS.sm)
1N/A
1N/AARFLAGS= cq
1N/A
1N/AOBJS= assert.o cf.o clock.o clrerr.o config.o debug.o errstring.o exc.o \
1N/A fclose.o feof.o ferror.o fflush.o fget.o findfp.o flags.o fopen.o \
1N/A fpos.o fprintf.o fpurge.o fput.o fread.o fscanf.o fseek.o fvwrite.o \
1N/A fwalk.o fwrite.o get.o heap.o ldap.o makebuf.o match.o mbdb.o \
1N/A memstat.o niprop.o path.o put.o refill.o rewind.o rpool.o setvbuf.o \
1N/A sem.o shm.o signal.o smstdio.o snprintf.o sscanf.o stdio.o \
1N/A strcasecmp.o strdup.o strerror.o strexit.o string.o stringf.o strio.o \
1N/A strl.o strrevcmp.o strto.o test.o ungetc.o util.o vasprintf.o \
1N/A vfprintf.o vfscanf.o vprintf.o vsnprintf.o wbuf.o wsetup.o xtrap.o
1N/A
1N/ASRCS= $(OBJS:%.o=%.c)
1N/A
1N/ATESTS= t-event t-exc t-rpool t-string t-smstdio t-match t-strio t-heap \
1N/A t-fopen t-strl t-strrevcmp t-path t-float t-scanf t-sem t-shm \
1N/A t-memstat t-qic
1N/A
1N/Alibsm= libsm.a
1N/A
1N/A.KEEP_STATE:
1N/Aall: $(libsm)
1N/A
1N/A.PARALLEL: $(OBJS)
1N/A
1N/A$(libsm): $(OBJS)
1N/A $(RM) $@
1N/A $(AR) $(ARFLAGS) $@ $(OBJS)
1N/A
1N/Aclean:
1N/A $(RM) $(OBJS) $(libsm) $(TESTS) foo t-smstdio.1
1N/A
1N/Adepend obj:
1N/A
1N/Ainstall: all
1N/A
1N/ALDLIBS += -lldap
1N/A
1N/Alint: lint_SRCS
1N/A
1N/Atest: $(TESTS)
1N/A
1N/At-%: t-%.c
1N/A $(LINK.c) $< -o $@ $(libsm) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A ./$@
1N/A
1N/Ainclude ../../Makefile.targ