Makefile revision 303975
1# @(#)Makefile 8.4 (Berkeley) 6/10/97 2# $FreeBSD: releng/11.0/usr.sbin/makemap/Makefile 291320 2015-11-25 19:44:43Z 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 16LIBADD= sm smdb smutil 17 18SRCS+= sm_os.h 19CLEANFILES+=sm_os.h 20 21# User customizations to the sendmail build environment 22CFLAGS+=${SENDMAIL_CFLAGS} 23DPADD+=${SENDMAIL_DPADD} 24LDADD+=${SENDMAIL_LDADD} 25LDFLAGS+=${SENDMAIL_LDFLAGS} 26 27sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA 28 ln -sf ${.ALLSRC} ${.TARGET} 29 30.include <bsd.prog.mk> 31