summaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2009-11-22 18:13:29 +0000
committerGreg Hudson <ghudson@mit.edu>2009-11-22 18:13:29 +0000
commitee7c901f80fc9057ed6bd1f91d04859d764fb046 (patch)
treed4e0e5e1bc234fe674572b799c5750175af5180c /src/Makefile.in
parentd4afef7bcb12da240ea501aa3d274092569b11dc (diff)
downloadkrb5-ee7c901f80fc9057ed6bd1f91d04859d764fb046.tar.gz
krb5-ee7c901f80fc9057ed6bd1f91d04859d764fb046.tar.xz
krb5-ee7c901f80fc9057ed6bd1f91d04859d764fb046.zip
Consolidate Makefile variables now that we have only a single global
configure script: $(SRCTOP) --> $(top_srcdir) $(srcdir)/$(thisconfigdir) --> $(top_srcdir) $(thisconfigdir) --> $(BUILDTOP) $(myfulldir) --> $(mydir) ticket: 6583 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23308 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 639243e087..26b5833026 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,7 +1,5 @@
datadir=@datadir@
-thisconfigdir=.
-myfulldir=.
mydir=.
# Don't build sample by default, and definitely don't install them
# for production use:
@@ -39,7 +37,7 @@ update-autoconf-h:
##DOS##!if 0
# This makefile doesn't use lib.in, but we still need shlib.conf here.
-config.status: $(SRCTOP)/config/shlib.conf
+config.status: $(top_srcdir)/config/shlib.conf
##DOS##!endif
all-windows:: maybe-awk Makefile-windows
@@ -616,8 +614,8 @@ install-unix::
$(DESTDIR)$(CLIENT_BINDIR)/krb5-config
$(INSTALL_DATA) $(srcdir)/krb5-config.M $(DESTDIR)$(CLIENT_MANDIR)/krb5-config.1
-krb5-config: $(srcdir)/krb5-config.in $(thisconfigdir)/config.status
- cd $(thisconfigdir) && $(SHELL) config.status krb5-config
+krb5-config: $(srcdir)/krb5-config.in config.status
+ $(SHELL) config.status krb5-config
# Test to ensure that krb5-config does not spit out things like
# $(PURE) or $(LDFLAGS) in case someone changes config/shlib.conf
@@ -642,7 +640,7 @@ COV_ANALYSES=
COV_TEMPDIR= cov-temp
# Sources modeling some functions or macros confusing Prevent.
COV_MODELS=\
- $(SRCTOP)/util/coverity-models/threads.c
+ $(top_srcdir)/util/coverity-models/threads.c
# Depend on Makefiles to ensure that (in maintainer mode) the configure
# scripts won't get rerun under cov-build.
@@ -694,7 +692,7 @@ OTHEREXCLUDES = \
EXCLUDES = `for i in $(BSDFILES) $(OTHEREXCLUDES); do echo $$i; done | $(AWK) '{ print "-path", $$1, "-o" }'` -path /dev/null
reindent::
- (cd $(SRCTOP) && \
+ (cd $(top_srcdir) && \
$(FIND) . \
\( -name '*.[ch]' -o -name '*.hin' -o -name '*.[ch].in' \) \
-print0 | $(XARGS) -0 $(EMACS) -q -batch \
@@ -704,12 +702,12 @@ reindent::
mark-cstyle:: mark-cstyle-krb5 mark-cstyle-bsd
mark-cstyle-krb5::
- (cd $(SRCTOP) && \
+ (cd $(top_srcdir) && \
$(FIND) $(INDENTDIRS) \( $(EXCLUDES) \) -prune -o \
-name '*.[ch]' \
-print0 | $(XARGS) -0 $(PYTHON) util/krb5-mark-cstyle.py \
--cstyle=krb5)
mark-cstyle-bsd::
- (cd $(SRCTOP) && $(FIND) $(BSDFILES) -print0 | $(XARGS) -0 \
+ (cd $(top_srcdir) && $(FIND) $(BSDFILES) -print0 | $(XARGS) -0 \
$(PYTHON) util/krb5-mark-cstyle.py --cstyle=bsd)