Makefile revision 270168
1# @(#)Makefile 8.4 (Berkeley) 6/10/97 2# $FreeBSD: head/usr.sbin/makemap/Makefile 270168 2014-08-19 15:04:32Z bdrewery $ 3 4SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 5.PATH: ${SENDMAIL_DIR}/makemap 6 7PROG= makemap 8SRCS= makemap.c 9MAN= makemap.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} 33DPADD+=${SENDMAIL_DPADD} 34LDADD+=${SENDMAIL_LDADD} 35LDFLAGS+=${SENDMAIL_LDFLAGS} 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