buildtools target

if you wish to cross compile, you want these things. arrange to
be able to build just them

Change-Id: I6bee40b61a16722c402832bba39d2e88dcabec25
Reviewed-on: http://gerrit.openafs.org/2145
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Derrick Brashear 2010-06-13 01:51:30 -04:00
parent d26f5e158c
commit de75d9d8aa
7 changed files with 34 additions and 0 deletions

View File

@ -43,6 +43,9 @@ only_libafs: force
only_libafs_tree: force
$(MAKE) build TARGET=libafs_tree
buildtools: force
$(MAKE) build TARGET=build_tools COMPILE_PART2B=buildtools
install: all install_dirs
$(MAKE) build COMPILE_PART2B=install
@ -614,6 +617,9 @@ jafs: libjafs
jafsadm: libjafsadm
build_tools: config des comerr rxgen
+${COMPILE_PART1} util ${COMPILE_PART2A} buildtools_clean
finale: project cmd comerr afsd butc tbutc tbudb @ENABLE_KERNEL_MODULE@ libuafs audit kauth log \
ptserver tptserver scout bu_utils ubik uss bozo @VFSCK@ volser tvolser tsalvaged \
venus update xstat afsmonitor rxdebug libafsrpc \

View File

@ -13,6 +13,8 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
all: compile_et ${TOP_INCDIR}/afs/com_err.h ${TOP_INCDIR}/afs/error_table.h ${TOP_INCDIR}/afs/mit-sipb-cr.h ${TOP_LIBDIR}/libcom_err.a
buildtools: compile_et
${TOP_INCDIR}/afs/com_err.h: com_err.h
${INSTALL_DATA} $? $@

View File

@ -26,6 +26,13 @@ all: config mkvers \
${TOP_INCDIR}/afs/vioc.h \
${TOP_INCDIR}/afs/debug.h
buildtools: \
config \
mkvers \
${TOP_INCDIR}/afs/param.h \
${TOP_INCDIR}/afs/afs_sysnames.h \
${TOP_INCDIR}/afs/stds.h
Makefile.version: Makefile.version-CML Makefile.version-NOCML
$(RM) -f Makefile.version
if [ -r @TOP_SRCDIR@/CML/state ] ; \

View File

@ -55,6 +55,18 @@ all: \
${TOP_INCDIR}/mit-cpyright.h \
${TOP_INCDIR}/des_odd.h
buildtools: \
make_p \
make_keyperm \
make_s_table \
make_p_table \
make_ip \
make_fp \
make_odd \
${TOP_INCDIR}/des.h \
${TOP_INCDIR}/mit-cpyright.h \
${TOP_INCDIR}/des/stats.h
${TOP_LIBDIR}/libdes.a: libdes.a
${INSTALL_DATA} $? $@

View File

@ -14,6 +14,8 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
all: ${TOP_LIBDIR}/libprocmgmt.a ${TOP_INCDIR}/afs/procmgmt.h
buildtools: ${TOP_INCDIR}/afs/procmgmt.h
${TOP_LIBDIR}/libprocmgmt.a: libprocmgmt.a
${INSTALL_DATA} $? $@

View File

@ -19,6 +19,8 @@ OBJS= rpc_main.o rpc_hout.o rpc_cout.o rpc_parse.o rpc_scan.o rpc_util.o \
all: rxgen ${TOP_INCDIR}/afs/rxgen_consts.h
buildtools: rxgen
${TOP_INCDIR}/afs/rxgen_consts.h: rxgen_consts.h
${INSTALL_DATA} $? $@

View File

@ -45,6 +45,9 @@ all: ${includes} \
${TOP_LIBDIR}/libafsutil.a \
sys
buildtools: ${TOP_LIBDIR}/libafsutil.a ${TOP_INCDIR}/afs/afsutil.h
buildtools_clean: clean
depinstall: ${includes}
${TOP_INCDIR}/afs/dirpath.h: dirpath.h