summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/libsmdb/Makefile.m4
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/sendmail/libsmdb/Makefile.m4')
-rw-r--r--contrib/sendmail/libsmdb/Makefile.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/sendmail/libsmdb/Makefile.m4 b/contrib/sendmail/libsmdb/Makefile.m4
new file mode 100644
index 0000000..f24c0a0
--- /dev/null
+++ b/contrib/sendmail/libsmdb/Makefile.m4
@@ -0,0 +1,13 @@
+include(confBUILDTOOLSDIR`/M4/switch.m4')
+
+# sendmail dir
+SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
+PREPENDDEF(`confENVDEF', `confMAPDEF')
+PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
+
+bldPRODUCT_START(`library', `libsmdb')
+define(`bldSOURCES', `smdb.c smdb1.c smdb2.c smndbm.c ')
+APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
+bldPRODUCT_END
+
+bldFINISH
OpenPOWER on IntegriCloud