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 14WARNS?= 2 15 16LIBSMDIR= ${.OBJDIR}/../../lib/libsm 17LIBSM= ${LIBSMDIR}/libsm.a 18 19LIBSMDBDIR= ${.OBJDIR}/../../lib/libsmdb 20LIBSMDB= ${LIBSMDBDIR}/libsmdb.a 21 22LIBSMUTILDIR= ${.OBJDIR}/../../lib/libsmutil 23LIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a 24 25DPADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM} 26LDADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM} 27 28SRCS+= sm_os.h 29CLEANFILES+=sm_os.h 30 31# User customizations to the sendmail build environment 32CFLAGS+= ${SENDMAIL_CFLAGS} 33LDFLAGS+=${SENDMAIL_LDFLAGS} 34DPADD+= ${SENDMAIL_DPADD} 35LDADD+= ${SENDMAIL_LDADD} 36 37sm_os.h: 38 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 39 40.include <bsd.prog.mk> 41