Skip to content

Commit 0dbca87

Browse files
authored
Fix remove subdir-objects is disabled warnings #4591 (#4593)
Warnings are generated when running autogen. Add AUTOMAKE_OPTIONS = subdir-objects to the top of Makefile.am files following https://darmawan-salihun.blogspot.com/2015/09/makefileam-option-subdir-objects-is.html
1 parent 977580e commit 0dbca87

File tree

14 files changed

+28
-0
lines changed

14 files changed

+28
-0
lines changed

api/examples/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
AUTOMAKE_OPTIONS = subdir-objects
2+
13
# The bits needed for glfsxmp
24
EXTRA_PROGRAMS = glfsxmp
35
glfsxmp_SOURCES = glfsxmp.c

contrib/fuse-util/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
AUTOMAKE_OPTIONS = subdir-objects
2+
13
bin_PROGRAMS = fusermount-glusterfs
24

35
fusermount_glusterfs_SOURCES = fusermount.c mount_util.c $(CONTRIBDIR)/fuse-lib/mount-common.c

libglusterfs/src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
AUTOMAKE_OPTIONS = subdir-objects
2+
13
noinst_PYTHON = generator.py gen-defaults.py $(top_srcdir)/events/eventskeygen.py
24

35
libglusterfs_la_CFLAGS = $(GF_CFLAGS) $(GF_DARWIN_LIBGLUSTERFS_CFLAGS) \

xlators/cluster/afr/src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
AUTOMAKE_OPTIONS = subdir-objects
2+
13
xlator_LTLIBRARIES = afr.la
24
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/cluster
35

xlators/cluster/dht/src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
AUTOMAKE_OPTIONS = subdir-objects
2+
13
xlator_LTLIBRARIES = dht.la nufa.la switch.la
24

35
AM_CFLAGS = -Wall $(GF_CFLAGS)

xlators/cluster/ec/src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
AUTOMAKE_OPTIONS = subdir-objects
2+
13
xlator_LTLIBRARIES = ec.la
24
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/cluster
35

xlators/features/changelog/src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
AUTOMAKE_OPTIONS = subdir-objects
2+
13
xlator_LTLIBRARIES = changelog.la
24

35
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features

xlators/features/cloudsync/src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
AUTOMAKE_OPTIONS = subdir-objects
2+
13
SUBDIRS = cloudsync-plugins
24

35
xlator_LTLIBRARIES = cloudsync.la

xlators/features/cloudsync/src/cloudsync-plugins/src/cloudsyncs3/src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
AUTOMAKE_OPTIONS = subdir-objects
2+
13
csp_LTLIBRARIES = cloudsyncs3.la
24
cspdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/cloudsync-plugins
35

xlators/features/cloudsync/src/cloudsync-plugins/src/cvlt/src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
AUTOMAKE_OPTIONS = subdir-objects
2+
13
csp_LTLIBRARIES = cloudsynccvlt.la
24
cspdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/cloudsync-plugins
35

0 commit comments

Comments
 (0)