summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/editmap/Makefile.m4
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2002-02-17 21:56:45 +0000
committergshapiro <gshapiro@FreeBSD.org>2002-02-17 21:56:45 +0000
commit8449595fe97f4474b9b9a7e4edee1ef35dcff393 (patch)
treee7a33b132264d449a512ddf4a8685df097669c1d /contrib/sendmail/editmap/Makefile.m4
parent289b381b31415647269c7520d881017e2dcb27f1 (diff)
downloadFreeBSD-src-8449595fe97f4474b9b9a7e4edee1ef35dcff393.zip
FreeBSD-src-8449595fe97f4474b9b9a7e4edee1ef35dcff393.tar.gz
Import sendmail 8.12.2
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