Move TOP_INCDIR/des dependency to prelude

Make TOP_INCDIR/des a dependency of the 'prelude' target, not all of the
'dest'-ish targets. Without this, things like 'make tviced' fail since
we never create the TOP_INCDIR/des directory, but 'des' needs to copy
headers into there.

Also, remove the other redundant INCDIR/LIBDIR deps in the 'dest'-y
targets, and put them in 'prelude'.

Change-Id: I1beb1a0c8b93a7bf17af71792ab38590d03c9976
Reviewed-on: http://gerrit.openafs.org/1027
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Andrew Deason 2009-12-24 13:32:14 -05:00 committed by Derrick Brashear
parent 1f23ff72e9
commit 9f1c90a6e0

View File

@ -31,16 +31,16 @@ COMPILE_PART2 = ${COMPILE_PART2A} ${COMPILE_PART2B}
COMPILE_CLEAN = ${COMPILE_PART2A} clean
COMPILE_DEPINSTALL = ${COMPILE_PART2A} depinstall
all: force ${TOP_INCDIR}/afs ${TOP_INCDIR}/rx ${TOP_INCDIR}/des ${TOP_LIBDIR}
all: force
$(MAKE) build
all_nolibafs: force ${TOP_INCDIR}/afs ${TOP_INCDIR}/rx ${TOP_INCDIR}/des ${TOP_LIBDIR}
all_nolibafs: force
$(MAKE) build TARGET=finale_nolibafs
only_libafs: force ${TOP_INCDIR}/afs ${TOP_INCDIR}/rx ${TOP_INCDIR}/des ${TOP_LIBDIR}
only_libafs: force
$(MAKE) build TARGET=libafs
only_libafs_tree: force ${TOP_INCDIR}/afs ${TOP_INCDIR}/rx ${TOP_INCDIR}/des ${TOP_LIBDIR}
only_libafs_tree: force
$(MAKE) build TARGET=libafs_tree
install: all install_dirs
@ -110,7 +110,7 @@ dest_dirs: force
mkdir -p ${DEST}/root.server/etc
mkdir -p ${DEST}/root.server/usr/afs/bin
prelude: ${TOP_INCDIR}/afs ${TOP_INCDIR}/rx ${TOP_LIBDIR}
prelude: ${TOP_INCDIR}/afs ${TOP_INCDIR}/rx ${TOP_INCDIR}/des ${TOP_LIBDIR}
project: cmd comerr