devfs - Fix broken assertion
[dragonfly.git] / lib / libsm / Makefile
blobb4f9da9094d13db0d612048aee0b1a052e24514e
1 # $FreeBSD: src/lib/libsm/Makefile,v 1.1.2.2 2002/07/19 18:46:26 ru Exp $
2 # $DragonFly: src/lib/libsm/Makefile,v 1.12 2007/04/14 17:43:48 gshapiro Exp $
4 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail-8.14
5 .PATH: ${SENDMAIL_DIR}/libsm
7 CFLAGS+= -I${SENDMAIL_DIR}/sendmail -I${SENDMAIL_DIR}/include -I.
8 CFLAGS+=-DNETINET6 -DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
10 # User customizations to the sendmail build environment
11 CFLAGS+=${SENDMAIL_CFLAGS}
13 LIB= sm
15 SRCS+= sm_os.h
16 SRCS+= assert.c debug.c errstring.c exc.c heap.c match.c rpool.c \
17 strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c \
18 fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c \
19 fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c \
20 fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c \
21 smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c \
22 vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c \
23 wbuf.c wsetup.c string.c stringf.c \
24 xtrap.c strto.c test.c path.c strcasecmp.c strrevcmp.c \
25 signal.c clock.c config.c sem.c shm.c mbdb.c strexit.c cf.c ldap.c \
26 niprop.c mpeix.c memstat.c util.c
27 CLEANFILES+=sm_os.h
29 INTERNALLIB= true
31 sm_os.h:
32 ${LN} -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_dragonfly.h sm_os.h
34 .include <bsd.lib.mk>