Plugin builds: Add adapter.c to _shim_la_SOURCES, not _LIBADD.
authorMatt Birkholz <matt@birchwood-abbey.net>
Sun, 4 Aug 2019 22:45:58 +0000 (15:45 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Mon, 5 Aug 2019 16:44:04 +0000 (09:44 -0700)
src/blowfish/Makefile.am
src/gdbm/Makefile.am
src/mcrypt/Makefile.am
src/x11/Makefile.am

index e5126c1ebc11059619c026a7b3c54ce24ec8d1c0..e09a52af6052bfdf3a587140a20bf1bb926c9ef2 100644 (file)
@@ -48,7 +48,8 @@ AM_MAKEINFOHTMLFLAGS = --no-split
 AM_CPPFLAGS = -I@MIT_SCHEME_INCLUDEDIR@
 AM_CFLAGS = @MIT_CFLAGS@
 
-blowfish_shim_la_LIBADD = blowfish-adapter.lo
+blowfish_shim_la_SOURCES = blowfish-adapter.c blowfish-shim.h
+nodist_blowfish_shim_la_SOURCES = blowfish-shim.c
 blowfish_shim_la_LDFLAGS = -module -avoid-version -shared
 
 noinst_PROGRAMS = blowfish-const$(EXEEXT)
@@ -92,7 +93,7 @@ tags: tags-am
 
 TAGS_FILES = $(sources) blowfish-adapter.c $(cdecls)
 
-EXTRA_DIST += $(sources) blowfish-adapter.c $(cdecls)
+EXTRA_DIST += $(sources) $(cdecls)
 EXTRA_DIST += compile.sh compile.scm blowfish.pkg
 EXTRA_DIST += blowfish-test.scm blowfish-check.scm blowfish-check.sh
 EXTRA_DIST += make.scm optiondb.scm tags-fix.sh
index 9d597bf1a149ee454af56589aec7975a407ff78d..b7cc901cf5a95c8854d2a2dddae37a59eb735ee6 100644 (file)
@@ -48,7 +48,8 @@ AM_MAKEINFOHTMLFLAGS = --no-split
 AM_CPPFLAGS = -I@MIT_SCHEME_INCLUDEDIR@
 AM_CFLAGS = @MIT_CFLAGS@
 
-gdbm_shim_la_LIBADD = gdbm-adapter.lo
+gdbm_shim_la_SOURCES = gdbm-adapter.c gdbm-shim.h
+nodist_gdbm_shim_la_SOURCES = gdbm-shim.c
 gdbm_shim_la_LDFLAGS = -module -avoid-version -shared
 
 noinst_PROGRAMS = gdbm-const$(EXEEXT)
@@ -92,7 +93,7 @@ tags: tags-am
 
 TAGS_FILES = $(sources) gdbm-adapter.c $(cdecls)
 
-EXTRA_DIST += $(sources) gdbm-adapter.c $(cdecls)
+EXTRA_DIST += $(sources) $(cdecls)
 EXTRA_DIST += compile.sh compile.scm gdbm.pkg
 EXTRA_DIST += gdbm-check.scm gdbm-check.sh
 EXTRA_DIST += make.scm optiondb.scm tags-fix.sh
index 4f3c8ea2d29b230c924df4427e6a7bbb1ed9f60c..5e097d0ea9a750371eb5f80ac8dd72fb779b6ce2 100644 (file)
@@ -48,7 +48,8 @@ scmlib_sub_DATA += make.scm @MIT_SCHEME_PKD@
 AM_CPPFLAGS = -I@MIT_SCHEME_INCLUDEDIR@
 AM_CFLAGS = @MIT_CFLAGS@
 
-mcrypt_shim_la_LIBADD = mcrypt-adapter.lo
+mcrypt_shim_la_SOURCES = mcrypt-adapter.c mcrypt-shim.h
+nodist_mcrypt_shim_la_SOURCES = mcrypt-shim.c
 mcrypt_shim_la_LDFLAGS = -module -avoid-version -shared
 
 noinst_PROGRAMS = mcrypt-const$(EXEEXT)
@@ -92,7 +93,7 @@ tags: tags-am
 
 TAGS_FILES = $(sources) mcrypt-adapter.c $(cdecls)
 
-EXTRA_DIST += $(sources) mcrypt-adapter.c $(cdecls)
+EXTRA_DIST += $(sources) $(cdecls)
 EXTRA_DIST += compile.sh compile.scm mcrypt.pkg
 EXTRA_DIST += mcrypt-check.scm mcrypt-check.sh
 EXTRA_DIST += make.scm optiondb.scm tags-fix.sh
index deb175d69394bd1c0ded3f3d374ca09e8281e71b..b1019cf247278bf419514fc149121ebdbdd25eae 100644 (file)
@@ -48,10 +48,10 @@ scmlib_sub_DATA += make.scm @MIT_SCHEME_PKD@
 AM_CPPFLAGS = -I@MIT_SCHEME_INCLUDEDIR@
 AM_CFLAGS = @MIT_CFLAGS@
 
-x11_shim_la_LIBADD = @MIT_LIBS@
-c_sources = x11base.c x11color.c x11graph.c x11term.c x11-shim.h x11.h
-x11_shim_la_SOURCES = $(c_sources) x11-shim.c
+x11_shim_la_SOURCES = x11base.c x11color.c x11graph.c x11term.c x11-shim.h x11.h
+nodist_x11_shim_la_SOURCES = x11-shim.c
 x11_shim_la_LDFLAGS = -module -avoid-version -shared
+x11_shim_la_LIBADD = @MIT_LIBS@
 
 noinst_PROGRAMS = x11-const$(EXEEXT)
 x11_const_SOURCES = x11-shim.h x11.h