From 9670404320bb132064dc3c576acb812d9434ce08 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Sun, 4 Aug 2019 15:25:14 -0700 Subject: [PATCH] Plugin builds: Do not include generated -const.c in dist. --- src/blowfish/Makefile.am | 3 ++- src/gdbm/Makefile.am | 3 ++- src/mcrypt/Makefile.am | 3 ++- src/pgsql/Makefile.am | 3 ++- src/x11/Makefile.am | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/blowfish/Makefile.am b/src/blowfish/Makefile.am index 034a2acb4..e5126c1eb 100644 --- a/src/blowfish/Makefile.am +++ b/src/blowfish/Makefile.am @@ -52,7 +52,8 @@ blowfish_shim_la_LIBADD = blowfish-adapter.lo blowfish_shim_la_LDFLAGS = -module -avoid-version -shared noinst_PROGRAMS = blowfish-const$(EXEEXT) -blowfish_const_SOURCES = blowfish-const.c blowfish-shim.h +blowfish_const_SOURCES = blowfish-shim.h +nodist_blowfish_const_SOURCES = blowfish-const.c blowfish-shim.c: stamp-shim blowfish-const.c: stamp-shim diff --git a/src/gdbm/Makefile.am b/src/gdbm/Makefile.am index 40a8edfba..9d597bf1a 100644 --- a/src/gdbm/Makefile.am +++ b/src/gdbm/Makefile.am @@ -52,7 +52,8 @@ gdbm_shim_la_LIBADD = gdbm-adapter.lo gdbm_shim_la_LDFLAGS = -module -avoid-version -shared noinst_PROGRAMS = gdbm-const$(EXEEXT) -gdbm_const_SOURCES = gdbm-const.c gdbm-shim.h +gdbm_const_SOURCES = gdbm-shim.h +nodist_gdbm_const_SOURCES = gdbm-const.c gdbm-shim.c: stamp-shim gdbm-const.c: stamp-shim diff --git a/src/mcrypt/Makefile.am b/src/mcrypt/Makefile.am index ceaa9bdf0..4f3c8ea2d 100644 --- a/src/mcrypt/Makefile.am +++ b/src/mcrypt/Makefile.am @@ -52,7 +52,8 @@ mcrypt_shim_la_LIBADD = mcrypt-adapter.lo mcrypt_shim_la_LDFLAGS = -module -avoid-version -shared noinst_PROGRAMS = mcrypt-const$(EXEEXT) -mcrypt_const_SOURCES = mcrypt-const.c mcrypt-shim.h +mcrypt_const_SOURCES = mcrypt-shim.h +nodist_mcrypt_const_SOURCES = mcrypt-const.c mcrypt-shim.c: stamp-shim mcrypt-const.c: stamp-shim diff --git a/src/pgsql/Makefile.am b/src/pgsql/Makefile.am index 2c956ca18..87eb85c85 100644 --- a/src/pgsql/Makefile.am +++ b/src/pgsql/Makefile.am @@ -52,7 +52,8 @@ AM_LIBS = `pkg-config --libs libpq` pgsql_shim_la_LDFLAGS = -module -avoid-version -shared noinst_PROGRAMS = pgsql-const$(EXEEXT) -pgsql_const_SOURCES = pgsql-const.c pgsql-shim.h +pgsql_const_SOURCES = pgsql-shim.h +nodist_pgsql_const_SOURCES = pgsql-const.c pgsql-shim.c: stamp-shim pgsql-const.c: stamp-shim diff --git a/src/x11/Makefile.am b/src/x11/Makefile.am index 47196fb78..deb175d69 100644 --- a/src/x11/Makefile.am +++ b/src/x11/Makefile.am @@ -54,7 +54,8 @@ x11_shim_la_SOURCES = $(c_sources) x11-shim.c x11_shim_la_LDFLAGS = -module -avoid-version -shared noinst_PROGRAMS = x11-const$(EXEEXT) -x11_const_SOURCES = x11-const.c x11-shim.h x11.h +x11_const_SOURCES = x11-shim.h x11.h +nodist_x11_const_SOURCES = x11-const.c x11-shim.c: stamp-shim x11-const.c: stamp-shim -- 2.25.1