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