xref: /freebsd/contrib/sendmail/praliases/Makefile.m4 (revision 2aa00a6001d7105eaf0d0288a441fa69f06fa534)
1dnl $Id: Makefile.m4,v 8.36 2006-06-28 21:08:03 ca Exp $
2include(confBUILDTOOLSDIR`/M4/switch.m4')
3
4define(`confREQUIRE_LIBSM', `true')
5define(`confREQUIRE_SM_OS_H', `true')
6# sendmail dir
7SMSRCDIR=	ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
8PREPENDDEF(`confENVDEF', `confMAPDEF')
9PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
10
11bldPRODUCT_START(`executable', `praliases')
12define(`bldINSTALL_DIR', `S')
13define(`bldSOURCES', `praliases.c ')
14bldPUSH_SMLIB(`sm')
15bldPUSH_SMLIB(`smutil')
16bldPUSH_SMLIB(`smdb')
17APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
18bldPRODUCT_END
19
20bldPRODUCT_START(`manpage', `praliases')
21define(`bldSOURCES', `praliases.8')
22bldPRODUCT_END
23
24bldFINISH
25
26