]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - lib/libsm/Makefile
MFC: libsm/path.c is about to disappear in the merge of sendmail 8.15.2. It
[FreeBSD/stable/8.git] / lib / libsm / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
6 .PATH:  ${SENDMAIL_DIR}/libsm
7
8 CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
9 CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
10 CFLAGS+=-DHAVE_NANOSLEEP
11
12 .if ${MK_INET6_SUPPORT} != "no"
13 CFLAGS+=-DNETINET6
14 .endif
15
16 # User customizations to the sendmail build environment
17 CFLAGS+=${SENDMAIL_CFLAGS}
18
19 LIB=    sm
20
21 SRCS+=  sm_os.h
22 SRCS+=  assert.c debug.c errstring.c exc.c heap.c match.c rpool.c \
23         strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c \
24         fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c \
25         fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c \
26         fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c \
27         smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c \
28         vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c \
29         wbuf.c wsetup.c string.c stringf.c \
30         xtrap.c strto.c test.c strcasecmp.c strrevcmp.c \
31         signal.c clock.c config.c sem.c shm.c mbdb.c strexit.c cf.c ldap.c \
32         niprop.c mpeix.c memstat.c util.c inet6_ntop.c
33 CLEANFILES+=sm_os.h
34
35 INTERNALLIB=
36
37 sm_os.h:
38         ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
39
40 .include <bsd.lib.mk>