headers for your configured kernel can be found. See the
system-specific Notes sections below for details.
+ There is an option to control whether or not binaries are stripped
+ of their symbol table information. All binaries, except for the
+ 'fileserver' and 'volserver' executables, are stripped by default.
+
+ To prevent stripping, specify the '--disable-strip-binaries' option on
+ the ./configure command line.
+
+ This option works alongside the existing --enable-debug option to
+ control how binaries are produced. When --enable-debug is specified,
+ binaries will not be stripped. This behavior can be modified by
+ using different combinations of --enable-debug and --enable (or
+ --disable)-strip-binaries. One can, for example, compile binaries for
+ debug and strip them anyway. Alternatively, one can compile without
+ debug and force the binaries to not be stripped. Note that these
+ combinations are not necessarily useful.
+
+ If neither of these options is specified, the default will be to build
+ non-debug binaries that are stripped (with the exceptions noted above,
+ which are never stripped at present). Specifying --enable-debug also
+ turns on --disable-strip-binaries. These are the most useful settings.
+
+ The two binaries noted above, 'fileserver' and 'volserver' will never
+ be stripped, regardless of any options given to configure.
+
There are two modes for directory path handling: "Transarc mode" and "default mode":
- In Transarc mode, we retain compatibility with Transarc/IBM AFS tools
by putting client configuaration files in /usr/vice/etc, and server
AC_ARG_ENABLE(debug,
[ --enable-debug enable compilation of the user space code with debugging information (defaults to disabled)],, enable_debug="no"
)
+AC_ARG_ENABLE(strip-binaries,
+[ --disable-strip-binaries disable stripping of symbol information from binaries (defaults to enabled)],, enable_strip_binaries="maybe"
+)
AC_ARG_ENABLE(optimize,
[ --disable-optimize disable optimization for compilation of the user space code (defaults to enabled)],, enable_optimize="yes"
)
install: afsmonitor
${INSTALL} -d ${DESTDIR}${bindir}
- ${INSTALL} afsmonitor ${DESTDIR}${bindir}/afsmonitor
+ ${INSTALL_PROGRAM} afsmonitor ${DESTDIR}${bindir}/afsmonitor
dest: afsmonitor
${INSTALL} -d ${DEST}/bin
- ${INSTALL} afsmonitor ${DEST}/bin/afsmonitor
+ ${INSTALL_PROGRAM} afsmonitor ${DEST}/bin/afsmonitor
clean:
$(RM) -f *.o afsmonitor AFS_component_version_number.c
DBG=-g
OPTMZ=-O
LWP_DBG=-g
+NO_STRIP_BIN=
LWP_OPTMZ=-O
PAM_DBG=-g
PAM_OPTMZ=
if test "x$enable_debug" = "xno"; then
DBG=
+ NO_STRIP_BIN=-s
fi
if test "x$enable_optimize" = "xno"; then
LWP_OPTMZ=
fi
+if test "x$enable_strip_binaries" != "xno"; then
+ if test "x$enable_strip_binaries" = "xmaybe" -a "x$enable_debug" = "xyes"; then
+ NO_STRIP_BIN=
+ else
+ NO_STRIP_BIN=-s
+ fi
+else
+ NO_STRIP_BIN=
+fi
+
+INSTALL_PROGRAM="${INSTALL_PROGRAM} ${NO_STRIP_BIN}"
+
AC_SUBST(CCXPG2)
AC_SUBST(CCOBJ)
AC_SUBST(AFSD_LIBS)
AC_SUBST(MT_CFLAGS)
AC_SUBST(MT_LIBS)
AC_SUBST(MV)
+AC_SUBST(NO_STRIP_BIN)
AC_SUBST(OPTMZ)
AC_SUBST(PAM_CFLAGS)
AC_SUBST(PAM_LIBS)
MT_CFLAGS = @MT_CFLAGS@
MT_LIBS = @MT_LIBS@
MV = @MV@
+NO_STRIP_BIN = @NO_STRIP_BIN@
OPTMZ = @OPTMZ@
PAM_CFLAGS = @PAM_CFLAGS@
PAM_LIBS = @PAM_LIBS@
${DEST}/etc/afssettings
${DESTDIR}${sbindir}/afssettings: afssettings
- ${INSTALL} -s $? $@
+ ${INSTALL} $? $@
${DEST}/etc/afssettings: afssettings
- ${INSTALL} -s $? $@
+ ${INSTALL} $? $@
clean:
$(RM) -f *.o core afssettings AFS_component_version_number.c
${INSTALL} -d ${DESTDIR}${bindir}
${INSTALL} -d ${DESTDIR}${libdir}/afs
${INSTALL} -d ${DESTDIR}${includedir}/afs
- ${INSTALL} ptserver ${DESTDIR}${afssrvlibexecdir}/ptserver
- ${INSTALL} pts ${DESTDIR}${afssrvbindir}/pts
- ${INSTALL} pts ${DESTDIR}${bindir}/pts
- ${INSTALL} pt_util ${DESTDIR}${afssrvsbindir}/pt_util
- ${INSTALL} db_verify ${DESTDIR}${afssrvsbindir}/prdb_check
+ ${INSTALL_PROGRAM} ptserver ${DESTDIR}${afssrvlibexecdir}/ptserver
+ ${INSTALL_PROGRAM} pts ${DESTDIR}${afssrvbindir}/pts
+ ${INSTALL_PROGRAM} pts ${DESTDIR}${bindir}/pts
+ ${INSTALL_PROGRAM} pt_util ${DESTDIR}${afssrvsbindir}/pt_util
+ ${INSTALL_PROGRAM} db_verify ${DESTDIR}${afssrvsbindir}/prdb_check
${INSTALL_DATA} libprot.a ${DESTDIR}${libdir}/afs/libprot.a
${INSTALL_DATA} ptclient.h ${DESTDIR}${includedir}/afs/prclient.h
${INSTALL_DATA} pterror.h ${DESTDIR}${includedir}/afs/prerror.h
${INSTALL} -d ${DEST}/etc
${INSTALL} -d ${DEST}/lib/afs
${INSTALL} -d ${DEST}/include/afs
- ${INSTALL} ptserver ${DEST}/root.server/usr/afs/bin/ptserver
- ${INSTALL} pts ${DEST}/root.server/usr/afs/bin/pts
- ${INSTALL} pts ${DEST}/bin/pts
- ${INSTALL} pt_util ${DEST}/root.server/usr/afs/bin/pt_util
- ${INSTALL} db_verify ${DEST}/etc/prdb_check
+ ${INSTALL_PROGRAM} ptserver ${DEST}/root.server/usr/afs/bin/ptserver
+ ${INSTALL_PROGRAM} pts ${DEST}/root.server/usr/afs/bin/pts
+ ${INSTALL_PROGRAM} pts ${DEST}/bin/pts
+ ${INSTALL_PROGRAM} pt_util ${DEST}/root.server/usr/afs/bin/pt_util
+ ${INSTALL_PROGRAM} db_verify ${DEST}/etc/prdb_check
${INSTALL_DATA} libprot.a ${DEST}/lib/afs/libprot.a
${INSTALL_DATA} ptclient.h ${DEST}/include/afs/prclient.h
${INSTALL_DATA} pterror.h ${DEST}/include/afs/prerror.h
install: fileserver state_analyzer
${INSTALL} -d ${DESTDIR}${afssrvlibexecdir}
${INSTALL} -d ${DESTDIR}${afssrvsbindir}
- ${INSTALL_PROGRAM} fileserver \
+ ${INSTALL} fileserver \
${DESTDIR}${afssrvlibexecdir}/fileserver
${INSTALL_PROGRAM} state_analyzer \
${DESTDIR}${afssrvsbindir}/state_analyzer
dest: fileserver state_analyzer
${INSTALL} -d ${DEST}/root.server/usr/afs/bin
- ${INSTALL_PROGRAM} fileserver \
+ ${INSTALL} fileserver \
${DEST}/root.server/usr/afs/bin/fileserver
${INSTALL_PROGRAM} state_analyzer \
${DEST}/root.server/usr/afs/bin/state_analyzer
install: volserver
${INSTALL} -d ${DESTDIR}${afssrvlibexecdir}
- ${INSTALL_PROGRAM} volserver ${DESTDIR}${afssrvlibexecdir}/volserver
+ ${INSTALL} volserver ${DESTDIR}${afssrvlibexecdir}/volserver
dest: volserver
${INSTALL} -d ${DEST}/root.server/usr/afs/bin
- ${INSTALL_PROGRAM} volserver ${DEST}/root.server/usr/afs/bin/volserver
+ ${INSTALL} volserver ${DEST}/root.server/usr/afs/bin/volserver
clean:
$(RM) -f *.o volserver core AFS_component_version_number.c
alpha_dux4*|*linux*|rs_aix*|sgi_6*|sun4x*|sunx86*) \
echo "Don't install fileserver for ${SYS_NAME}" ;; \
*_darwin_[1-6][0-9]) \
- echo ${INSTALL_PROGRAM} fileserver ${DESTDIR}${afssrvlibexecdir}/fileserver ; \
- ${INSTALL_PROGRAM} fileserver ${DESTDIR}${afssrvlibexecdir}/fileserver ;; \
+ echo ${INSTALL} fileserver ${DESTDIR}${afssrvlibexecdir}/fileserver ; \
+ ${INSTALL} fileserver ${DESTDIR}${afssrvlibexecdir}/fileserver ;; \
*_darwin_*) \
echo "Don't install fileserver for ${SYS_NAME}" ;; \
*) \
- echo ${INSTALL_PROGRAM} fileserver ${DESTDIR}${afssrvlibexecdir}/fileserver ; \
- ${INSTALL_PROGRAM} fileserver ${DESTDIR}${afssrvlibexecdir}/fileserver ;; \
+ echo ${INSTALL} fileserver ${DESTDIR}${afssrvlibexecdir}/fileserver ; \
+ ${INSTALL} fileserver ${DESTDIR}${afssrvlibexecdir}/fileserver ;; \
esac
dest: fileserver fs_stats.h
alpha_dux4*|*linux*|rs_aix*|sgi_6*|sun4x*|sunx86*) \
echo "Don't install fileserver for ${SYS_NAME}" ;; \
*_darwin_[1-6][0-9]) \
- echo ${INSTALL_PROGRAM} fileserver ${DEST}/root.server/usr/afs/bin/fileserver ; \
- ${INSTALL_PROGRAM} fileserver ${DEST}/root.server/usr/afs/bin/fileserver ;; \
+ echo ${INSTALL} fileserver ${DEST}/root.server/usr/afs/bin/fileserver ; \
+ ${INSTALL} fileserver ${DEST}/root.server/usr/afs/bin/fileserver ;; \
*_darwin_*) \
echo "Don't install fileserver for ${SYS_NAME}" ;; \
*) \
- echo ${INSTALL_PROGRAM} fileserver ${DEST}/root.server/usr/afs/bin/fileserver ; \
- ${INSTALL_PROGRAM} fileserver ${DEST}/root.server/usr/afs/bin/fileserver ;; \
+ echo ${INSTALL} fileserver ${DEST}/root.server/usr/afs/bin/fileserver ; \
+ ${INSTALL} fileserver ${DEST}/root.server/usr/afs/bin/fileserver ;; \
esac
clean:
alpha_dux4*|*linux*|rs_aix*|sgi_6*|sun4x*|sunx86*) \
echo "Don't install volserver for ${SYS_NAME}" ;; \
*_darwin_[1-6][0-9]) \
- echo ${INSTALL_PROGRAM} volserver \
+ echo ${INSTALL} volserver \
${DESTDIR}${afssrvlibexecdir}/volserver ; \
- ${INSTALL_PROGRAM} volserver \
+ ${INSTALL} volserver \
${DESTDIR}${afssrvlibexecdir}/volserver ;; \
*_darwin_*) \
echo "Don't install volserver for ${SYS_NAME}" ;; \
*) \
echo ${INSTALL_PRORAM} volserver \
${DESTDIR}${afssrvlibexecdir}/volserver ; \
- ${INSTALL_PROGRAM} volserver \
+ ${INSTALL} volserver \
${DESTDIR}${afssrvlibexecdir}/volserver ;; \
esac
alpha_dux4*|*linux*|rs_aix*|sgi_6*|sun4x*|sunx86*) \
echo "Don't install volserver for ${SYS_NAME}" ;; \
*_darwin_[1-6][0-9]) \
- echo ${INSTALL_PROGRAM} volserver \
+ echo ${INSTALL} volserver \
${DEST}/root.server/usr/afs/bin/volserver ; \
- ${INSTALL_PROGRAM} -ns volserver \
+ ${INSTALL} -ns volserver \
${DEST}/root.server/usr/afs/bin/volserver ;; \
*_darwin_*) \
echo "Don't install volserver for ${SYS_NAME}" ;; \
*) \
- echo ${INSTALL_PROGRAM} volserver \
+ echo ${INSTALL} volserver \
${DEST}/root.server/usr/afs/bin/volserver ; \
- ${INSTALL_PROGRAM} volserver \
+ ${INSTALL} volserver \
${DEST}/root.server/usr/afs/bin/volserver ;; \
esac