Just running 'make' in a subdirectory will fire the first rule in that
directory's Makefile. When the buildtools rules were added to roken and
crypto, they were put at the start of the file, meaning that they fire
in perference to 'all'
Swap the ordering back so that 'make' does what would be expected
Change-Id: I598a183f42c150a5da724b7403e91f89f74a0109
Reviewed-on: http://gerrit.openafs.org/7009
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
SHLIBOBJ= libafshcrypto.${SHLIB_SUFFIX}.${LIBMAJOR}.${LIBMINOR}
-buildtools: ${HEADERS} ${TOP_LIBDIR}/libafshcrypto.a
-
all: ${HEADERS} ${TOP_LIBDIR}/${SHLIBOBJ} \
${TOP_LIBDIR}/libafshcrypto.a \
${TOP_LIBDIR}/libafshcrypto_lwp.a
+buildtools: ${HEADERS} ${TOP_LIBDIR}/libafshcrypto.a
+
install: libafshcrypto.a ${SHLIBOBJ}
${TOP_OBJDIR}/src/config/shlib-install -d ${DESTDIR}${libdir} \
-l libafshcrypto -M ${LIBMAJOR} -m ${LIBMINOR}
SHLIBOBJ = librokenafs.${SHLIB_SUFFIX}.${LIBMAJOR}.${LIBMINOR}
-buildtools: $(ROKEN_HEADERS) $(HEADERS) $(TOP_LIBDIR)/librokenafs.a
-
all: $(ROKEN_HEADERS) $(HEADERS) \
$(TOP_LIBDIR)/$(SHLIBOBJ) \
$(TOP_LIBDIR)/librokenafs.a
+buildtools: $(ROKEN_HEADERS) $(HEADERS) $(TOP_LIBDIR)/librokenafs.a
+
install: librokenafs.a $(SHLIBOBJ)
$(TOP_OBJDIR)/src/config/shlib-install -d $(DESTDIR)$(libdir) \
-l librokenafs -M $(LIBMAJOR) -m $(LIBMINOR)