For bge_rxeof(), return immediately if no RX descs need to be processed, this
[dragonfly.git] / usr.sbin / praliases / Makefile
CommitLineData
984263bc
MD
1# @(#)Makefile 8.2 (Berkeley) 9/21/96
2# $FreeBSD: src/usr.sbin/praliases/Makefile,v 1.1.6.6 2002/03/25 21:31:46 gshapiro Exp $
73c1d237 3# $DragonFly: src/usr.sbin/praliases/Makefile,v 1.8 2006/08/18 03:07:00 gshapiro Exp $
984263bc 4
73c1d237 5SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail-8.13.8
984263bc
MD
6.PATH: ${SENDMAIL_DIR}/praliases
7
8PROG= praliases
9SRCS= praliases.c
10MAN= praliases.8
3181538d 11CFLAGS+=-I${SENDMAIL_DIR}/sendmail -I${SENDMAIL_DIR}/include -I.
984263bc
MD
12CFLAGS+=-DNEWDB -DNOT_SENDMAIL
13
14.if exists(${.OBJDIR}/../../lib/libsm)
15LIBSMDIR:= ${.OBJDIR}/../../lib/libsm
16.else
17LIBSMDIR!= cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR
18.endif
19LIBSM:= ${LIBSMDIR}/libsm.a
20
21.if exists(${.OBJDIR}/../../lib/libsmdb)
22LIBSMDBDIR:= ${.OBJDIR}/../../lib/libsmdb
23.else
24LIBSMDBDIR!= cd ${.CURDIR}/../../lib/libsmdb; make -V .OBJDIR
25.endif
26LIBSMDB:= ${LIBSMDBDIR}/libsmdb.a
27
28.if exists(${.OBJDIR}/../../lib/libsmutil)
29LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil
30.else
31LIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
32.endif
33LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
34
35DPADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
36LDADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
37
38SRCS+= sm_os.h
39CLEANFILES+=sm_os.h
40
41# User customizations to the sendmail build environment
42CFLAGS+=${SENDMAIL_CFLAGS}
43DPADD+=${SENDMAIL_DPADD}
44LDADD+=${SENDMAIL_LDADD}
45LDFLAGS+=${SENDMAIL_LDFLAGS}
46
47sm_os.h:
3181538d 48 ${LN} -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_dragonfly.h sm_os.h
984263bc
MD
49
50.include <bsd.prog.mk>