Makefile revision 267233
1# @(#)Makefile 8.1 (Berkeley) 7/2/95 2# $FreeBSD: head/libexec/smrsh/Makefile 267233 2014-06-08 17:29:31Z bdrewery $ 3 4SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 5.PATH: ${SENDMAIL_DIR}/smrsh 6 7PROG= smrsh 8SRCS= smrsh.c 9MAN= smrsh.8 10CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 11 12NO_PIE= yes 13 14LIBSMDIR= ${.OBJDIR}/../../lib/libsm 15LIBSM= ${LIBSMDIR}/libsm.a 16 17DPADD= ${LIBSM} 18LDADD= ${LIBSM} 19 20WARNS?= 2 21 22SRCS+= sm_os.h 23CLEANFILES+=sm_os.h 24 25# User customizations to the sendmail build environment 26CFLAGS+=${SENDMAIL_CFLAGS} 27DPADD+=${SENDMAIL_DPADD} 28LDADD+=${SENDMAIL_LDADD} 29LDFLAGS+=${SENDMAIL_LDFLAGS} 30 31sm_os.h: 32 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 33 34.include <bsd.prog.mk> 35