summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/editmap/Makefile.m4
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/sendmail/editmap/Makefile.m4')
-rw-r--r--contrib/sendmail/editmap/Makefile.m422
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/sendmail/editmap/Makefile.m4 b/contrib/sendmail/editmap/Makefile.m4
new file mode 100644
index 0000000..906e198
--- /dev/null
+++ b/contrib/sendmail/editmap/Makefile.m4
@@ -0,0 +1,22 @@
+include(confBUILDTOOLSDIR`/M4/switch.m4')
+
+define(`confREQUIRE_LIBSM', `true')
+# sendmail dir
+SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
+PREPENDDEF(`confENVDEF', `confMAPDEF')
+PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
+
+bldPRODUCT_START(`executable', `editmap')
+define(`bldSOURCES', `editmap.c ')
+define(`bldINSTALL_DIR', `S')
+bldPUSH_SMLIB(`sm')
+bldPUSH_SMLIB(`smutil')
+bldPUSH_SMLIB(`smdb')
+APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
+bldPRODUCT_END
+
+bldPRODUCT_START(`manpage', `editmap')
+define(`bldSOURCES', `editmap.8')
+bldPRODUCT_END
+
+bldFINISH
OpenPOWER on IntegriCloud