Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / lib / libsm / Makefile
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.2 2003/06/17 04:26:51 dillon Exp $
3
4 MAINTAINER=     gshapiro@FreeBSD.org
5
6 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
7 .PATH:  ${SENDMAIL_DIR}/libsm
8
9 CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
10 CFLAGS+=-DNETINET6 -DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
11
12 # User customizations to the sendmail build environment
13 CFLAGS+=${SENDMAIL_CFLAGS}
14
15 LIB=    sm
16
17 SRCS+=  sm_os.h
18 SRCS+=  assert.c debug.c errstring.c exc.c heap.c match.c rpool.c \
19         strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c \
20         fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c \
21         fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c \
22         fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c \
23         smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c \
24         vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c \
25         vsprintf.c vsscanf.c wbuf.c wsetup.c string.c stringf.c \
26         xtrap.c strto.c test.c path.c strcasecmp.c strrevcmp.c \
27         signal.c clock.c config.c shm.c mbdb.c strexit.c cf.c ldap.c \
28         niprop.c mpeix.c
29 CLEANFILES+=sm_os.h
30
31 INTERNALLIB=            true
32
33 sm_os.h:
34         ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
35
36 .include <bsd.lib.mk>