1# @(#)Makefile 8.2 (Berkeley) 9/21/96 2# $FreeBSD$ 3 4SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail 5.PATH: ${SENDMAIL_DIR}/praliases 6 7PROG= praliases 8SRCS= praliases.c 9MAN= praliases.8 10 11CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 12CFLAGS+= -DNEWDB -DNOT_SENDMAIL 13 14LIBSMDIR= ${.OBJDIR}/../../lib/libsm 15LIBSM= ${LIBSMDIR}/libsm.a 16 17LIBSMDBDIR= ${.OBJDIR}/../../lib/libsmdb 18LIBSMDB= ${LIBSMDBDIR}/libsmdb.a 19 20LIBSMUTILDIR= ${.OBJDIR}/../../lib/libsmutil 21LIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a 22 23DPADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM} 24LDADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM} 25 26SRCS+= sm_os.h 27CLEANFILES+=sm_os.h 28 29# User customizations to the sendmail build environment 30CFLAGS+= ${SENDMAIL_CFLAGS} 31LDFLAGS+=${SENDMAIL_LDFLAGS} 32DPADD+= ${SENDMAIL_DPADD} 33LDADD+= ${SENDMAIL_LDADD} 34 35sm_os.h: 36 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 37 38.include <bsd.prog.mk> 39