mkdir $d
cd $d
# Makefile is generated
-for f in README cdb.c dbmdb.c dnsdb.c dsearch.c ibase.c json.c ldap.h ldap.c \
+for f in README cdb.c dbmdb.c dnsdb.c dsearch.c ibase.c json.c ldap.c \
lmdb.c lsearch.c mysql.c nis.c nisplus.c oracle.c passwd.c \
pgsql.c readsock.c redis.c spf.c sqlite.c testdb.c whoson.c \
lf_functions.h lf_check_file.c lf_quote.c lf_sqlperform.c
mkdir $d
cd $d
# Makefile is generated
-for f in dmarc.c dmarc.h dmarc_api.h spf.c spf.h spf_api.h
+for f in dmarc.c dmarc.h dmarc_api.h dummy.c spf.c spf.h spf_api.h
do
ln -s ../../src/$d/$f $f
done
# MAGIC-TAG-MODS-OBJ-RULES-GO-HERE
+OBJ += dummy.o
all: miscmods.a $(MODS)
.c.so:; @echo "$(CC) -shared $*.c"
$(FE)$(CC) $(SUPPORT_$*_INCLUDE) $(SUPPORT_$*_LIBS) -DDYNLOOKUP $(CFLAGS_DYNAMIC) $(CFLAGS) $(INCLUDE) $(DLFLAGS) $*.c -o $@
-spf.o spf.so: $(HDRS) spf.h spf.c
dmarc.o dmarc.so: $(HDRS) ../pdkim/pdkim.h dmarc.h dmarc.c
+dummy.o: dummy.c
+spf.o spf.so: $(HDRS) spf.h spf.c
# End
--- /dev/null
+/*************************************************
+* Exim - an Internet mail transport agent *
+*************************************************/
+
+/* Copyright (c) The Exim Maintainers 2024 */
+/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+/* Dummy source just so that miscmods.a is never empty */
+
+int dummy;