Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance: split SUBDIRS in Makefile.am #1888

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,23 @@

AUTOMAKE_OPTIONS = dist-bzip2 1.5 foreign

SUBDIRS = compat contrib doc errors icons
SUBDIRS = \
compat \
contrib \
doc \
errors \
icons

if ENABLE_LOADABLE_MODULES
SUBDIRS += libltdl
endif

SUBDIRS += lib scripts src tools test-suite
SUBDIRS += \
lib \
scripts \
src \
tools \
test-suite

DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
Expand Down
33 changes: 31 additions & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,44 @@ LOADABLE_MODULES_SOURCES = \
LoadableModules.h

# subdir Y that requires a file built in subdir X must appear after X
SUBDIRS = mem time debug base anyp helper dns html ftp parser comm error eui sbuf acl format clients servers fs repl store DiskIO proxyp
SUBDIRS = \
mem \
time \
debug \
base \
anyp \
helper \
dns \
html \
ftp \
parser \
comm \
error \
eui \
sbuf \
acl \
format \
clients \
servers \
fs \
repl \
store \
DiskIO \
proxyp

if ENABLE_AUTH
SUBDIRS += auth
AUTH_LIBS= auth/libauth.la
AUTH_ACL_LIBS= auth/libacls.la
endif

SUBDIRS += http ip icmp log ipc mgr
SUBDIRS += \
http \
ip \
icmp \
log \
ipc \
mgr

SSL_LIBS=
if ENABLE_SSL
Expand Down
6 changes: 5 additions & 1 deletion src/auth/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
include $(top_srcdir)/src/Common.am

SUBDIRS = $(AUTH_MODULES)
DIST_SUBDIRS = basic digest negotiate ntlm
DIST_SUBDIRS = \
basic \
digest \
negotiate \
ntlm

noinst_LTLIBRARIES = libauth.la libacls.la
## not needed? $(AUTH_LIBS_TO_BUILD)
Expand Down
6 changes: 5 additions & 1 deletion src/auth/digest/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@

include $(top_srcdir)/src/Common.am

DIST_SUBDIRS= eDirectory file LDAP
DIST_SUBDIRS = \
eDirectory \
file \
LDAP

SUBDIRS= $(DIGEST_AUTH_HELPERS)
EXTRA_DIST= helpers.m4

Expand Down
5 changes: 4 additions & 1 deletion src/auth/negotiate/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

include $(top_srcdir)/src/Common.am

DIST_SUBDIRS= kerberos SSPI wrapper
DIST_SUBDIRS = \
kerberos \
SSPI \
wrapper
SUBDIRS= $(NEGOTIATE_AUTH_HELPERS)
EXTRA_DIST= helpers.m4

Expand Down
5 changes: 4 additions & 1 deletion src/auth/ntlm/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

include $(top_srcdir)/src/Common.am

DIST_SUBDIRS= fake SMB_LM SSPI
DIST_SUBDIRS = \
fake \
SMB_LM \
SSPI
SUBDIRS= $(NTLM_AUTH_HELPERS)
EXTRA_DIST= helpers.m4

Expand Down
4 changes: 3 additions & 1 deletion src/http/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

include $(top_srcdir)/src/Common.am

SUBDIRS = one url_rewriters
SUBDIRS = \
one \
url_rewriters

noinst_LTLIBRARIES = libhttp.la

Expand Down
4 changes: 3 additions & 1 deletion src/http/url_rewriters/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
## Please see the COPYING and CONTRIBUTORS files for details.
##

DIST_SUBDIRS= fake LFS
DIST_SUBDIRS = \
fake \
LFS
SUBDIRS= $(URL_REWRITE_HELPERS)
4 changes: 3 additions & 1 deletion src/log/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

include $(top_srcdir)/src/Common.am

DIST_SUBDIRS= DB file
DIST_SUBDIRS = \
DB \
file
SUBDIRS= $(LOG_DAEMON_HELPERS)
EXTRA_DIST= helpers.m4

Expand Down
4 changes: 3 additions & 1 deletion src/security/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

include $(top_srcdir)/src/Common.am

SUBDIRS= cert_generators cert_validators
SUBDIRS = \
cert_generators \
cert_validators

noinst_LTLIBRARIES = libsecurity.la

Expand Down
6 changes: 5 additions & 1 deletion tools/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@
## Please see the COPYING and CONTRIBUTORS files for details.
##

SUBDIRS = apparmor helper-mux systemd sysvinit
SUBDIRS = \
apparmor \
helper-mux \
systemd \
sysvinit
EXTRA_DIST = helper-ok-dying.pl helper-ok.pl