File: 0002-automake-fixes.patch

package info (click to toggle)
gross 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,664 kB
  • sloc: sh: 8,835; ansic: 7,330; makefile: 53; xml: 45
file content (33 lines) | stat: -rw-r--r-- 1,424 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Author: Tj
Last-Update: 2025-08-11
Description: Fix automake declarations

diff --git a/Makefile.am b/Makefile.am
index 0deebbb..65ad5d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,5 @@
 # $Id$
+ACLOCAL_AMFLAGS = -I m4
 
 noinst_HEADERS = include/addrutils.h include/bloom.h include/conf.h include/syncmgr.h include/check_blocker.h include/msgqueue.h include/thread_pool.h include/check_dnsbl.h include/proto_sjsms.h include/utils.h include/check_random.h include/sha256.h include/worker.h include/check_spf.h include/srvutils.h include/common.h include/stats.h
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 04257ea..8dea1ff 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -10,11 +10,12 @@ grossd_SOURCES = sha256.c bloom.c utils.c srvutils.c addrutils.c worker.c bloomm
 EXTRA_grossd_SOURCES = check_dnsbl.c worker_milter.c
 grossd_LDFLAGS = @LDFLAGS@ proto_sjsms.o
 grossd_LDADD = @DNSBLSOURCES@ @MILTERSOURCES@
-grossd_DEPENDENCIES = @DNSBLSOURCES@ @MILTERSOURCES@ proto_sjsms.c
+grossd_DEPENDENCIES = @DNSBLSOURCES@ @MILTERSOURCES@
+EXTRA_grossd_DEPENDENCIES = proto_sjsms.lo
 
 gclient_SOURCES = gclient.c utils.c client_postfix.c client_sjsms.c
 gclient_LDFLAGS = @LDFLAGS@ proto_sjsms.o
-gclient_DEPENDENCIES = proto_sjsms.c
+EXTRA_gclient_DEPENDENCIES = proto_sjsms.lo
 
 grosscheck_la_SOURCES = grosscheck.c proto_sjsms.c
 grosscheck_la_LDFLAGS = -module -avoid-version @STATIC_GLIBC_FLAG@