mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
838e1eae1a
junk all of Makefile.${SYS_NAME} in favor of a common makefile built by configure, and use it
26 lines
707 B
Plaintext
26 lines
707 B
Plaintext
AC_INIT(Makefile.common)
|
|
AM_INIT_AUTOMAKE(openafs-libafs,devel)
|
|
AC_CONFIG_HEADER(config/afsconfig.h)
|
|
define(OPENAFS_CONFIGURE_LIBAFS)
|
|
|
|
OPENAFS_CONFIGURE_COMMON
|
|
|
|
TOP_SRCDIR="${SRCDIR_PARENT}"
|
|
TOP_INCDIR="${SRCDIR_PARENT}/include"
|
|
TOP_LIBDIR="${SRCDIR_PARENT}/lib"
|
|
if test "${DEST}x" = "x"; then
|
|
DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
|
|
fi
|
|
|
|
# Check for files involved in porting. Report errors, don't make the
|
|
# user hunt through the configure log after the build fails!
|
|
if test ! -r config/Makefile.${AFS_SYSNAME}.in ; then
|
|
AC_MSG_ERROR(no source file config/Makefile.${AFS_SYSNAME}.in)
|
|
fi
|
|
|
|
AC_OUTPUT( \
|
|
Makefile \
|
|
config/Makefile.config \
|
|
config/Makefile.${AFS_SYSNAME} \
|
|
)
|