From 7994d971798b957fd3dd686f48c71c8725bf703e Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Sun, 14 Nov 2021 15:52:24 +0000 Subject: build: skip sub-directories containing disabled plugins Currently, make enters all sub-directories containing source-code, even if they only contain optional targets which are not configured to be built. Instead, change the Makefiles so that the sub-directories are optional, rather than the targets. Group sub-directory definitions consistently at the top of the Makefiles that contain them. Trim a few leading and trailing blank lines. Signed-off-by: Jeremy Sowden Signed-off-by: Pablo Neira Ayuso --- output/pgsql/Makefile.am | 4 ---- 1 file changed, 4 deletions(-) (limited to 'output/pgsql') diff --git a/output/pgsql/Makefile.am b/output/pgsql/Makefile.am index fbc0d04..9cdf22d 100644 --- a/output/pgsql/Makefile.am +++ b/output/pgsql/Makefile.am @@ -2,12 +2,8 @@ include $(top_srcdir)/Make_global.am AM_CPPFLAGS += -I$(PQINCPATH) -if HAVE_PGSQL - pkglib_LTLIBRARIES = ulogd_output_PGSQL.la ulogd_output_PGSQL_la_SOURCES = ulogd_output_PGSQL.c ../../util/db.c ulogd_output_PGSQL_la_LIBADD = ${PQLIBS} ulogd_output_PGSQL_la_LDFLAGS = -avoid-version -module - -endif -- cgit v1.2.3