summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail/mailstats/Makefile.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.sbin/sendmail/mailstats/Makefile.m4')
-rw-r--r--gnu/usr.sbin/sendmail/mailstats/Makefile.m420
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/usr.sbin/sendmail/mailstats/Makefile.m4 b/gnu/usr.sbin/sendmail/mailstats/Makefile.m4
new file mode 100644
index 00000000000..5a9259d1318
--- /dev/null
+++ b/gnu/usr.sbin/sendmail/mailstats/Makefile.m4
@@ -0,0 +1,20 @@
+include(confBUILDTOOLSDIR`/M4/switch.m4')
+
+# sendmail dir
+SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
+PREPENDDEF(`confENVDEF', `confMAPDEF')
+PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
+
+bldPRODUCT_START(`executable', `mailstats')
+define(`bldINSTALL_DIR', `S')
+define(`bldSOURCES', `mailstats.c ')
+bldPUSH_SMLIB(`smutil')
+APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
+bldPRODUCT_END
+
+bldPRODUCT_START(`manpage', `mailstats')
+define(`bldSOURCES', `mailstats.8')
+bldPRODUCT_END
+
+bldFINISH
+