make-install-support-for-transarc-and-prefix-style-universes-20010907

according to jeff:
- Renames the top-level 'install' target to 'build'.  This should be
    transparent, since no one should be using that.

  - Improves on Sam's dirpath patches, by splitting out server binaries
    into separate bin, sbin, and libexec directories in GCS mode (these
    are all /usr/afs/bin in Transarc mode).

  - Updates the top-level 'all' target so that it builds the software
    but does not generate a dest tree.  Top-level 'lib' and 'include'
    directories are generated to hold the intermediate libraries and headers
    used during the build.

  - Adds a new top-level 'install' target, which installs things in the
    appropriate directories under ${DESTDIR}, based on configure's install
    directories plus the extras added by Sam's patch.

  - Adds a new top-level 'dest' target, which creates an old-style dest
    directory under ${DEST}.  The ${DEST} variable defaults to the
    traditional value of ${SRCDIR_PARENT}/${SYS_NAME}/dest.  Note that
    this variable used to be called ${DESTDIR}; it was renamed to avoid
    conflicts with the de facto standard usage of ${DESTDIR}.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

fix missed makefile

====================

update another missed file

====================

eliminate bogus escaping

====================

get rid of another bogus escape

====================

remove unused include directory

====================

get rid of no longer used libdir

====================

remove unused incdir

====================

fix up some problems for make compatibility and missing trailing /

====================

put afs.exp in the right place

====================

remove bogus afssrvdir reference

====================

update dest version of output

====================

update ref to libexecdir

====================

kill refs to afssrvdir

====================


convert missed LIBDIR to TOP_LIBDIR

====================

remove explicit INSTALL and use makefile.@sys value instead

====================

except it's helpful to actually include makefile.@sys

====================

convert LIBDIR to TOP_LIBDIR
This commit is contained in:
Jeffrey Hutzelman 2001-09-10 20:15:57 +00:00 committed by Derrick Brashear
parent ba4498fa9c
commit 80e2c2f8ce
142 changed files with 6143 additions and 2038 deletions

View File

@ -6,10 +6,22 @@
# directory or online at http://www.openafs.org/dl/license10.html
SHELL=/bin/sh
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_SRCDIR=@TOP_SRCDIR@
INSTALL=${SRCDIR}/bin/install
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afskerneldir=@afskerneldir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
# Systype-generic items
SYS_NAME=@AFS_SYSNAME@
@ -29,6 +41,8 @@ WITH_INSECURE=@WITH_INSECURE@
ENABLE_KERNEL_MODULE=@ENABLE_KERNEL_MODULE@
include src/config/Makefile.${SYS_NAME}
# To compile AFS from scratch in the src tree run "make".
# This recursively calls "make install ..." and does not depend on the
# existence of any non-standard programs.
@ -36,25 +50,66 @@ ENABLE_KERNEL_MODULE=@ENABLE_KERNEL_MODULE@
# rxgen, compile_et and others already exist and runs it with
# "-argument kinstall".
COMPILE_PART1=cd src; cd
COMPILE_PART2=; $(MAKE) install
COMPILE_PART3=; $(MAKE) test
COMPILE_CLEAN=; $(MAKE) clean
COMPILE_PART1 = cd src; cd
COMPILE_PART2A = ; $(MAKE)
COMPILE_PART2B = all
COMPILE_PART2 = ${COMPILE_PART2A} ${COMPILE_PART2B}
COMPILE_CLEAN = ${COMPILE_PART2A} clean
all: force ${SYS_NAME}/dest
$(MAKE) install
all: force ${TOP_INCDIR} ${TOP_INCDIR}/afs ${TOP_LIBDIR}
$(MAKE) build
all_nolibafs: ${SYS_NAME}/dest
$(MAKE) install TARGET=finale_nolibafs
all_nolibafs: force ${TOP_INCDIR} ${TOP_INCDIR}/afs ${TOP_LIBDIR}
$(MAKE) build TARGET=finale_nolibafs
only_libafs: ${SYS_NAME}/dest
$(MAKE) install TARGET=libafs
only_libafs: force ${TOP_INCDIR} ${TOP_INCDIR}/afs ${TOP_LIBDIR}
$(MAKE) build TARGET=libafs
only_libafs_tree: ${SYS_NAME}/dest
$(MAKE) install TARGET=libafs_tree
only_libafs_tree: force ${TOP_INCDIR} ${TOP_INCDIR}/afs ${TOP_LIBDIR}
$(MAKE) build TARGET=libafs_tree
${SYS_NAME}/dest:
mkdir -p ${SYS_NAME}/dest
install: all install_dirs
$(MAKE) build COMPILE_PART2B=install
install_nolibafs: all install_dirs
$(MAKE) build TARGET=finale_nolibafs COMPILE_PART2B=install
install_only_libafs: all install_dirs
$(MAKE) build TARGET=libafs COMPILE_PART2B=install
dest: all dest_dirs
$(MAKE) build COMPILE_PART2B=dest
dest_nolibafs: all dest_dirs
$(MAKE) build TARGET=finale_nolibafs COMPILE_PART2B=dest
dest_only_libafs: all dest_dirs
$(MAKE) build TARGET=libafs COMPILE_PART2B=dest
${TOP_INCDIR} ${TOP_INCDIR}/afs ${TOP_LIBDIR}:
mkdir -p $@
install_dirs: force
mkdir -p ${DESTDIR}${bindir}
mkdir -p ${DESTDIR}${sbindir}
mkdir -p ${DESTDIR}${libexecdir}/openafs
mkdir -p ${DESTDIR}${libdir}/afs
mkdir -p ${DESTDIR}${includedir}/afs
mkdir -p ${DESTDIR}${includedir}/rx
mkdir -p ${DESTDIR}${afskerneldir}
mkdir -p ${DESTDIR}${afssrvbindir}
mkdir -p ${DESTDIR}${afssrvsbindir}
mkdir -p ${DESTDIR}${afssrvlibexecdir}
dest_dirs: force
mkdir -p ${DEST}/bin
mkdir -p ${DEST}/etc
mkdir -p ${DEST}/lib/afs
mkdir -p ${DEST}/include/afs
mkdir -p ${DEST}/include/rx
mkdir -p ${DEST}/root.client/usr/vice/etc/C
mkdir -p ${DEST}/root.server/etc
mkdir -p ${DEST}/root.server/usr/afs/bin
project: cmd comerr
@ -77,10 +132,11 @@ comerr: util
${COMPILE_PART1} comerr ${COMPILE_PART2}
cmd: comerr
${COMPILE_PART1} cmd ${COMPILE_PART2}
@case ${SYS_NAME} in \
sgi_6* | sun4x_57 | sun4x_58 | hp_ux11* | sparc64_linux* | alpha_linux* ) \
${COMPILE_PART1} cmd ${COMPILE_PART2} install64 ;; \
${COMPILE_PART1} cmd ${COMPILE_PART2}64 ;; \
*) \
${COMPILE_PART1} cmd ${COMPILE_PART2} ;; \
esac
lwp: project util
@ -103,8 +159,9 @@ rxstat: rx
rxincls: rxobj
${COMPILE_PART1} rx ${COMPILE_PART2}
rxtests: rxobj
${COMPILE_PART1} rx ${COMPILE_PART3}
rxtests: rxdebug
rxdebug: rx
${COMPILE_PART1} rxdebug ${COMPILE_PART2}
fsint: project kfsint
@ -141,8 +198,7 @@ auth: project comerr des lwp rx sys rxkad audit
ubik: project auth
${COMPILE_PART1} ubik ${COMPILE_PART2}
ubiktests: ubik sys
${COMPILE_PART1} ubik ${COMPILE_PART3}
ubiktests: ubik
ptserver: project ubik cmd comerr auth audit
${COMPILE_PART1} ptserver ${COMPILE_PART2}
@ -205,12 +261,12 @@ null: project
gtx: project null auth # kauth rxkad ?
case ${SYS_NAME} in \
rs_aix* | sun4x_5? | sgi_6? | *linux* | ppc_darwin* | *fbsd*) \
$(RM) -f ${DESTDIR}/lib/afs/libtermlib.a; \
ln -s libnull.a ${DESTDIR}/lib/afs/libtermlib.a; \
$(RM) -f ${TOP_LIBDIR}/libtermlib.a; \
ln -s libnull.a ${TOP_LIBDIR}/libtermlib.a; \
${COMPILE_PART1} gtx ${COMPILE_PART2};; \
*) \
$(RM) -f ${DESTDIR}/lib/afs/libtermlib.a; \
ln -s /usr/lib/libtermlib.a ${DESTDIR}/lib/afs/libtermlib.a; \
$(RM) -f ${TOP_LIBDIR}/libtermlib.a; \
ln -s /usr/lib/libtermlib.a ${TOP_LIBDIR}/libtermlib.a; \
${COMPILE_PART1} gtx ${COMPILE_PART2};; \
esac
@ -406,13 +462,13 @@ libadmin: libafsauthent bozo
finale: project cmd comerr afsd allrcmds butc tbutc @ENABLE_KERNEL_MODULE@ libuafs audit kauth log package \
ptserver scout bu_utils ubik uss bozo vfsck volser \
venus update xstat afsmonitor dauth tests libafsrpc \
venus update xstat afsmonitor dauth rxdebug libafsrpc \
libafsauthent libadmin
${COMPILE_PART1} finale ${COMPILE_PART2}
finale_nolibafs: project cmd comerr afsd allrcmds butc tbutc libuafs audit kauth log package \
ptserver scout bu_utils ubik uss bozo vfsck volser \
venus update xstat afsmonitor dauth tests libafsrpc \
venus update xstat afsmonitor dauth rxdebug libafsrpc \
libafsauthent libadmin
${COMPILE_PART1} finale ${COMPILE_PART2}
@ -427,8 +483,8 @@ libuafs_setup: config export
force:
TARGET=finale
install: force
$(MAKE) $(TARGET)
build: force
$(MAKE) $(TARGET) DEST=$(DEST) COMPILE_PART2B=$(COMPILE_PART2B) DESTDIR=$(DESTDIR)
kupdate: updatekdir libafs_setup libuafs_setup
@ -503,6 +559,7 @@ clean2:
-${COMPILE_PART1} bucoord ${COMPILE_CLEAN}
-${COMPILE_PART1} xstat ${COMPILE_CLEAN}
-${COMPILE_PART1} afsmonitor ${COMPILE_CLEAN}
-${COMPILE_PART1} rxdebug ${COMPILE_CLEAN}
-${COMPILE_PART1} libafsrpc ${COMPILE_CLEAN}
-${COMPILE_PART1} libafsauthent ${COMPILE_CLEAN}
-${COMPILE_PART1} libadmin ${COMPILE_CLEAN}
@ -528,6 +585,7 @@ clean2:
-${COMPILE_PART1} libuafs ${COMPILE_CLEAN}
-(cd src/libafs; /bin/rm -rf afs afsint config rx)
-(cd src/libuafs; /bin/rm -rf afs afsint config rx des)
-/bin/rm -rf ${TOP_INCDIR} ${TOP_LIBDIR}
-/bin/rm -rf libafs_tree ${SYS_NAME}
@ -617,6 +675,7 @@ distclean: clean
src/rx/multi.example/Makefile \
src/rx/simple.example/Makefile \
src/rx/test/Makefile \
src/rxdebug/Makefile \
src/rxgen/Makefile \
src/rxkad/Makefile \
src/rxkad/test/Makefile \

View File

@ -379,8 +379,9 @@ fi
SRCDIR_PARENT=`pwd`
TOP_SRCDIR="${SRCDIR_PARENT}/src"
DESTDIR="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
SRCDIR="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
TOP_INCDIR="${SRCDIR_PARENT}/include"
TOP_LIBDIR="${SRCDIR_PARENT}/lib"
DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
dnl checks for header files.
AC_HEADER_STDC
@ -399,34 +400,40 @@ dnl Directory PATH handling
if test "x$enable_transarc_paths" = "xyes" ; then
afsconfdir=${afsconfdir=/usr/afs/etc}
viceetcdir=${viceetcdir=/usr/vice/etc}
afssrvdir=${afssrvdir=/usr/afs/bin}
afskerneldir=${afskerneldir=${viceetcdir}}
afssrvbindir=${afssrvbindir=/usr/afs/bin}
afssrvsbindir=${afssrvsbindir=/usr/afs/bin}
afssrvlibexecdir=${afssrvlibexecdir=/usr/afs/bin}
afsdbdir=${afsdbdir=/usr/afs/db}
afslogsdir=${afslogsdir=/usr/afs/logs}
afslocaldir=${afslocaldir=/usr/afs/local}
afsbackupdir=${afsbackupdir=/usr/afs/backup}
afsbosconfigdir=${afsbosconfigdir=/usr/afs/local}
afsbosserverdir=${afsbosserverdir=/usr/afs/bin}
else
afsconfdir=${afsconfdir=$sysconfdir/openafs/server}
viceetcdir=${viceetcdir=$sysconfdir/openafs}
afssrvdir=${afssrvdir=$libexecdir/openafs}
afskerneldir=${afskerneldir=$libdir/openafs}
afssrvbindir=${afssrvbindir=$bindir}
afssrvsbindir=${afssrvsbindir=$sbindir}
afssrvlibexecdir=${afssrvlibexecdir=$libexecdir/openafs}
afsdbdir=${afsdbdir=$localstatedir/openafs/db}
afslogsdir=${afslogsdir=$localstatedir/openafs/logs}
afslocaldir=${afslocaldir=$localstatedir/openafs}
afsbackupdir=${afsbackupdir=$localstatedir/openafs/backup}
afsbosconfigdir=${afsbosconfigdir=$sysconfdir/openafs}
afsbosserverdir=${afsbosserverdir=$sbindir}
fi
AC_SUBST(afsconfdir)
AC_SUBST(viceetcdir)
AC_SUBST(afssrvdir)
AC_SUBST(afskerneldir)
AC_SUBST(afssrvbindir)
AC_SUBST(afssrvsbindir)
AC_SUBST(afssrvlibexecdir)
AC_SUBST(afsdbdir)
AC_SUBST(afslogsdir)
AC_SUBST(afslocaldir)
AC_SUBST(afsbackupdir)
AC_SUBST(afsbosconfigdir)
AC_SUBST(afsbosserverdir)
if test "x$enable_kernel_module" = "xyes"; then
ENABLE_KERNEL_MODULE=libafs
@ -439,8 +446,9 @@ AC_SUBST(LINUX_KERNEL_PATH)
AC_SUBST(LINUX_VERSION)
AC_SUBST(MKAFS_OSTYPE)
AC_SUBST(TOP_SRCDIR)
AC_SUBST(DESTDIR)
AC_SUBST(SRCDIR)
AC_SUBST(TOP_INCDIR)
AC_SUBST(TOP_LIBDIR)
AC_SUBST(DEST)
AC_SUBST(WITH_OBSOLETE)
AC_SUBST(WITH_INSECURE)
@ -525,6 +533,7 @@ src/rx/bulktest/Makefile \
src/rx/multi.example/Makefile \
src/rx/simple.example/Makefile \
src/rx/test/Makefile \
src/rxdebug/Makefile \
src/rxgen/Makefile \
src/rxkad/Makefile \
src/rxkad/test/Makefile \

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -16,13 +30,23 @@ UKERNELDIR = ../libuafs/
include ../config/Makefile.${SYS_NAME}
all: install
all: kinstall ukinstall ${TOP_INCDIR}/afs/afs.h ${TOP_INCDIR}/afs/osi_inode.h ${TOP_INCDIR}/afs/afs_stats.h ${TOP_INCDIR}/afs/exporter.h ${TOP_INCDIR}/afs/nfsclient.h
case ${SYS_NAME} in \
pmax_ul43 | pmax_ul43a) \
${INSTALL} longc_procs.h ${TOP_INCDIR}/afs ;; \
esac
case ${SYS_NAME} in \
*linux* ) \
${INSTALL} ${AFS_OSTYPE}/osi_vfs.h ${TOP_INCDIR}/afs ;;\
* ) \
echo No vfs headers to install for ${SYS_NAME};; \
esac
# NOTE: linux case uses --new as well to work around bug in some versions of
# gencat.
kinstall: ${KERNELDIR}/afs ${DESTDIR}/root.client/usr/vice/etc/C AFS_component_version_number.c
kinstall: ${KERNELDIR}/afs AFS_component_version_number.c
-chmod 666 ${KERNELDIR}afs/*
${DESTDIR}/bin/compile_et -v 2 afs_trace.et
${COMPILE_ET} -v 2 afs_trace.et
${INSTALL} *.[csh] ${KERNELDIR}afs
${INSTALL} VNOPS/*.[csh] ${KERNELDIR}afs
${INSTALL} ${AFS_OSTYPE}/*.[csh] ${KERNELDIR}afs
@ -41,12 +65,9 @@ kinstall: ${KERNELDIR}/afs ${DESTDIR}/root.client/usr/vice/etc/C AFS_component_v
${KERNELDIR}/afs:
mkdir -p $@
${DESTDIR}/root.client/usr/vice/etc/C:
mkdir -p $@
ukinstall: ${UKERNELDIR}/afs AFS_component_version_number.c
-chmod 666 ${UKERNELDIR}afs/*
${DESTDIR}/bin/compile_et -v 2 afs_trace.et
${COMPILE_ET} -v 2 afs_trace.et
${INSTALL} *.[csh] ${UKERNELDIR}afs
${INSTALL} VNOPS/*.[csh] ${UKERNELDIR}afs
${INSTALL} UKERNEL/*.[csh] ${UKERNELDIR}afs
@ -54,23 +75,14 @@ ukinstall: ${UKERNELDIR}/afs AFS_component_version_number.c
${UKERNELDIR}/afs:
mkdir -p $@
install: kinstall ukinstall
${INSTALL} afs.h ${DESTDIR}/include/afs
${INSTALL} ${AFS_OSTYPE}/osi_inode.h ${DESTDIR}/include/afs
${INSTALL} afs_stats.h exporter.h nfsclient.h ${DESTDIR}/include/afs
install: ${DESTDIR}${includedir}/afs/afs.h ${DESTDIR}${includedir}/afs/osi_inode.h ${DESTDIR}${includedir}/afs/afs_stats.h ${DESTDIR}${includedir}/afs/exporter.h ${DESTDIR}${includedir}/afs/nfsclient.h
case ${SYS_NAME} in \
pmax_ul43 | pmax_ul43a) \
${INSTALL} longc_procs.h ${DESTDIR}/include/afs ;; \
esac
case ${SYS_NAME} in \
next_mach30 | vax_ul43 | ppc_darwin* | i386_fbsd* ) \
echo skipping afszcm.cat install for ${SYS_NAME} ;; \
* ) \
${INSTALL} afszcm.cat ${DESTDIR}/root.client/usr/vice/etc/C ;; \
${INSTALL} longc_procs.h ${DESTDIR}${includedir}/afs ;; \
esac
case ${SYS_NAME} in \
*linux* ) \
${INSTALL} ${AFS_OSTYPE}/osi_vfs.h ${DESTDIR}/include/afs ;;\
${INSTALL} ${AFS_OSTYPE}/osi_vfs.h ${DESTDIR}${includedir}/afs ;;\
* ) \
echo No vfs headers to install for ${SYS_NAME};; \
esac
@ -79,3 +91,75 @@ clean:
-$(RM) -f *.o core AFS_component_version_number.c afs_trace.h afs_trace.msf afszcm.cat
include ../config/Makefile.version
${DEST}/include/afs/afs.h: afs.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/afs.h: afs.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/afs.h: afs.h
${INSTALL} $? $@
${DEST}/include/afs/osi_inode.h: ${AFS_OSTYPE}/osi_inode.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/osi_inode.h: ${AFS_OSTYPE}/osi_inode.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/osi_inode.h: ${AFS_OSTYPE}/osi_inode.h
${INSTALL} $? $@
${DEST}/include/afs/afs_stats.h: afs_stats.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/afs_stats.h: afs_stats.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/afs_stats.h: afs_stats.h
${INSTALL} $? $@
${DEST}/include/afs/exporter.h: exporter.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/exporter.h: exporter.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/exporter.h: exporter.h
${INSTALL} $? $@
${DEST}/include/afs/nfsclient.h: nfsclient.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/nfsclient.h: nfsclient.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/nfsclient.h: nfsclient.h
${INSTALL} $? $@
dest: ${DEST}/include/afs/afs.h ${DEST}/include/afs/osi_inode.h ${DEST}/include/afs/afs_stats.h ${DEST}/include/afs/exporter.h ${DEST}/include/afs/nfsclient.h
case ${SYS_NAME} in \
pmax_ul43 | pmax_ul43a) \
${INSTALL} longc_procs.h ${DEST}/include/afs ;; \
esac
case ${SYS_NAME} in \
next_mach30 | vax_ul43 | ppc_darwin* | i386_fbsd* ) \
echo skipping afszcm.cat install for ${SYS_NAME} ;; \
* ) \
${INSTALL} afszcm.cat ${DEST}/root.client/usr/vice/etc/C ;; \
esac
case ${SYS_NAME} in \
*linux* ) \
${INSTALL} ${AFS_OSTYPE}/osi_vfs.h ${DEST}/include/afs ;;\
* ) \
echo No vfs headers to install for ${SYS_NAME};; \
esac

View File

@ -1,3 +1,4 @@
##XLATE_MANUAL##
# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
#
@ -6,8 +7,22 @@
# directory or online at http://www.openafs.org/dl/license10.html
# afsd makefile
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -15,7 +30,7 @@ SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
CFLAGS = -g -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
CFLAGS=-g -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
LDFLAGS = -g ${XLDFLAGS}
INSTALLex = ${INSTALL} -m 755
@ -29,7 +44,7 @@ all: afsd vsys
# Programs
#
AFSLIBS=${SRCDIR}/lib/afs/libauth.a ${SRCDIR}/lib/afs/libcmd.a ${SRCDIR}/lib/afs/libsys.a ${SRCDIR}/lib/afs/util.a ${SRCDIR}/lib/librx.a ${SRCDIR}/lib/liblwp.a ${SRCDIR}/lib/afs/util.a
AFSLIBS=${TOP_LIBDIR}/libauth.a ${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/libsys.a ${TOP_LIBDIR}/util.a ${TOP_LIBDIR}/librx.a ${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/util.a
afsd: afsd.o $(AFSLIBS)
case ${SYS_NAME} in \
@ -42,7 +57,7 @@ afsd: afsd.o $(AFSLIBS)
esac
vsys: vsys.o
$(CC) -g -o vsys vsys.o ${SRCDIR}/lib/afs/libsys.a $(LDFLAGS) ${XLIBS}
$(CC) -g -o vsys vsys.o ${TOP_LIBDIR}/libsys.a $(LDFLAGS) ${XLIBS}
#
# Objects
@ -56,54 +71,67 @@ clean:
system: install
install: all
${INSTALL} vsys ${DESTDIR}/etc
${INSTALL} afsd ${DESTDIR}/root.client/usr/vice/etc
# XXX-INST: where to put the rc scripts?
install: ${DESTDIR}${sbindir}/afsd ${DESTDIR}${sbindir}/vsys
${DESTDIR}${sbindir}/afsd: afsd
${INSTALL} $? $@
${DESTDIR}${sbindir}/vsys: vsys
${INSTALL} $? $@
dest: ${DEST}/root.client/usr/vice/etc/afsd ${DEST}/etc/vsys
case ${SYS_NAME} in \
rs_aix*) \
${INSTALL} -f rc.afs.rs_aix ${DESTDIR}/root.client/usr/vice/etc/dkload/rc.afs ; \
${INSTALL} -f rc.dkload.client.rs_aix ${DESTDIR}/root.client/usr/vice/etc/dkload/rc.dkload.client ; \
${INSTALL} -f rc.dkload.server.rs_aix ${DESTDIR}/root.client/usr/vice/etc/dkload/rc.dkload.server ;; \
${INSTALL} -f rc.afs.rs_aix ${DEST}/root.client/usr/vice/etc/dkload/rc.afs ; \
${INSTALL} -f rc.dkload.client.rs_aix ${DEST}/root.client/usr/vice/etc/dkload/rc.dkload.client ; \
${INSTALL} -f rc.dkload.server.rs_aix ${DEST}/root.client/usr/vice/etc/dkload/rc.dkload.server ;; \
sgi_65 ) \
${INSTALL} -f afs.rc.sgi_ipnos ${DESTDIR}/root.client/usr/vice/etc/sgiload/afs.rc ;\
${INSTALL} -f afs.rc.sgi_ipnos ${DESTDIR}/root.server/etc/init.d/afs.rc ;;\
${INSTALL} -f afs.rc.sgi_ipnos ${DEST}/root.client/usr/vice/etc/sgiload/afs.rc ;\
${INSTALL} -f afs.rc.sgi_ipnos ${DEST}/root.server/etc/init.d/afs.rc ;;\
sgi_* ) \
${INSTALL} -f afs.rc.sgi ${DESTDIR}/root.client/usr/vice/etc/sgiload/afs.rc ;\
${INSTALL} -f afs.rc.sgi ${DESTDIR}/root.server/etc/init.d/afs.rc ;\
${INSTALL} -f afs.rc.sgi ${DEST}/root.client/usr/vice/etc/sgiload/afs.rc ;\
${INSTALL} -f afs.rc.sgi ${DEST}/root.server/etc/init.d/afs.rc ;\
case ${SYS_NAME} in \
sgi_53 | sgi_61 ) \
${INSTALL} -f afs_rtsymtab.pl.${SYS_NAME} ${DESTDIR}/root.client/usr/vice/etc/sgiload/afs_rtsymtab.pl ;;\
${INSTALL} -f afs_rtsymtab.pl.${SYS_NAME} ${DEST}/root.client/usr/vice/etc/sgiload/afs_rtsymtab.pl ;;\
esac;; \
sun4_52 | sun4_53 | sun4c_52 | sun4c_53 | sun4m_52 | sun4m_53 | sun4m_54 | sun4_54 | sun4c_54 | sunx86_54) \
${INSTALL} -f afs.rc.solaris ${DESTDIR}/root.client/usr/vice/etc/modload/afs.rc ;;\
${INSTALL} -f afs.rc.solaris ${DEST}/root.client/usr/vice/etc/modload/afs.rc ;;\
sun4x_57 ) \
${INSTALL} -f afs.rc.solaris.2.7 ${DESTDIR}/root.client/usr/vice/etc/modload/afs.rc ;;\
${INSTALL} -f afs.rc.solaris.2.7 ${DEST}/root.client/usr/vice/etc/modload/afs.rc ;;\
sun4x_58 ) \
${INSTALL} -f afs.rc.solaris.2.8 ${DESTDIR}/root.client/usr/vice/etc/modload/afs.rc ;;\
${INSTALL} -f afs.rc.solaris.2.8 ${DEST}/root.client/usr/vice/etc/modload/afs.rc ;;\
sun4x_5? ) \
${INSTALL} -f afs.rc.solaris.2_5 ${DESTDIR}/root.client/usr/vice/etc/modload/afs.rc ;;\
${INSTALL} -f afs.rc.solaris.2_5 ${DEST}/root.client/usr/vice/etc/modload/afs.rc ;;\
alpha_osf* ) \
${INSTALL} -f afs.rc.alpha ${DESTDIR}/root.client/usr/vice/etc/dkload/afs.rc ;;\
${INSTALL} -f afs.rc.alpha ${DEST}/root.client/usr/vice/etc/dkload/afs.rc ;;\
hp_ux10? | hp_ux11? ) \
${INSTALL} -f afs.rc.hpux10 ${DESTDIR}/root.client/usr/vice/etc/dkload/afs.rc ;\
${INSTALL} -f afs.hpux102.driver ${DESTDIR}/root.client/usr/vice/etc/afs.driver ;;\
${INSTALL} -f afs.rc.hpux10 ${DEST}/root.client/usr/vice/etc/dkload/afs.rc ;\
${INSTALL} -f afs.hpux102.driver ${DEST}/root.client/usr/vice/etc/afs.driver ;;\
alpha_dux* ) \
${INSTALL} -f afs.rc.alpha_dux40 ${DESTDIR}/root.client/usr/vice/etc/dkload/afs.rc ;;\
${INSTALL} -f afs.rc.alpha_dux40 ${DEST}/root.client/usr/vice/etc/dkload/afs.rc ;;\
hp?00_ux10? ) \
${INSTALL} -f afs.rc.hpux10 ${DESTDIR}/root.client/usr/vice/etc/dkload/afs.rc ;;\
${INSTALL} -f afs.rc.hpux10 ${DEST}/root.client/usr/vice/etc/dkload/afs.rc ;;\
*linux* ) \
${INSTALLex} -f afs.rc.linux ${DESTDIR}/root.client/usr/vice/etc/afs.rc; \
${INSTALL} -f afs.conf.linux ${DESTDIR}/root.client/usr/vice/etc/afs.conf ;; \
${INSTALLex} -f afs.rc.linux ${DEST}/root.client/usr/vice/etc/afs.rc; \
${INSTALL} -f afs.conf.linux ${DEST}/root.client/usr/vice/etc/afs.conf ;; \
ppc_darwin*) \
mkdir -p ${DESTDIR}/root.client/usr/vice/etc/afs.kext/Contents/MacOS ;\
${INSTALL} -f afs.ppc_darwin.plist ${DESTDIR}/root.client/usr/vice/etc/afs.kext/Contents/Info.plist ; \
${INSTALLex} -f afs.rc.darwin ${DESTDIR}/root.client/usr/vice/etc/afs.rc ; \
${INSTALL} -f afs.rc.darwin.plist ${DESTDIR}/root.client/usr/vice/etc/StartupParameters.plist ;; \
mkdir -p ${DEST}/root.client/usr/vice/etc/afs.kext/Contents/MacOS ;\
${INSTALL} -f afs.ppc_darwin.plist ${DEST}/root.client/usr/vice/etc/afs.kext/Contents/Info.plist ; \
${INSTALLex} -f afs.rc.darwin ${DEST}/root.client/usr/vice/etc/afs.rc ; \
${INSTALL} -f afs.rc.darwin.plist ${DEST}/root.client/usr/vice/etc/StartupParameters.plist ;; \
*fbsd*) \
mkdir -p ${DESTDIR}/root.client/usr/vice/etc/afs.rc; \
${INSTALL} -f afs.rc.fbsd ${DESTDIR}/root.client/usr/vice/etc/afs.rc.fbsd ;; \
${INSTALL} -f afs.rc.fbsd ${DEST}/root.client/usr/vice/etc/afs.rc.fbsd ;; \
* ) \
echo No rc scripts installed for ${SYS_NAME} ;; \
esac
${DEST}/root.client/usr/vice/etc/afsd: afsd
${INSTALL} $? $@
${DEST}/etc/vsys: vsys
${INSTALL} $? $@
include ../config/Makefile.version

View File

@ -6,8 +6,22 @@
# directory or online at http://www.openafs.org/dl/license10.html
# Makefile for Afsmonitor, the AFS Performance monitoring tool
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -17,41 +31,40 @@ include ../config/Makefile.${SYS_NAME}
CFLAGS=-g -I. \
-I${TOP_SRCDIR}/config \
-I${SRCDIR}/include \
-I${SRCDIR}/include/afs \
-I${SRCDIR} ${XCFLAGS}
-I${TOP_INCDIR} \
-I${TOP_INCDIR}/afs \
${XCFLAGS}
LDFLAGS = ${XLDFLAGS}
INCLS=${SRCDIR}/include/afs/gtxobjects.h \
${SRCDIR}/include/afs/gtxwindows.h \
${SRCDIR}/include/afs/gtxcurseswin.h \
${SRCDIR}/include/afs/gtxdumbwin.h \
${SRCDIR}/include/afs/gtxX11win.h \
${SRCDIR}/include/afs/gtxobjects.h \
${SRCDIR}/include/afs/gtxlightobj.h \
${SRCDIR}/include/afs/gtxtextobj.h \
${SRCDIR}/include/afs/gtxobjdict.h \
${SRCDIR}/include/afs/keys.h \
${SRCDIR}/include/afs/cellconfig.h \
${SRCDIR}/include/afs/cmd.h \
${SRCDIR}/include/afs/xstat_fs.h \
${SRCDIR}/include/afs/xstat_cm.h \
INCLS=${TOP_INCDIR}/afs/gtxobjects.h \
${TOP_INCDIR}/afs/gtxwindows.h \
${TOP_INCDIR}/afs/gtxcurseswin.h \
${TOP_INCDIR}/afs/gtxdumbwin.h \
${TOP_INCDIR}/afs/gtxX11win.h \
${TOP_INCDIR}/afs/gtxobjects.h \
${TOP_INCDIR}/afs/gtxlightobj.h \
${TOP_INCDIR}/afs/gtxtextobj.h \
${TOP_INCDIR}/afs/gtxobjdict.h \
${TOP_INCDIR}/afs/keys.h \
${TOP_INCDIR}/afs/cellconfig.h \
${TOP_INCDIR}/afs/cmd.h \
${TOP_INCDIR}/afs/xstat_fs.h \
${TOP_INCDIR}/afs/xstat_cm.h \
afsmonitor.h \
afsmon-labels.h
LIBS=${SRCDIR}/lib/afs/libxstat_fs.a \
${SRCDIR}/lib/afs/libxstat_cm.a \
${SRCDIR}/lib/afs/libgtx.a \
${SRCDIR}/lib/afs/libafsint.a \
${SRCDIR}/lib/afs/libcmd.a \
${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/liblwp.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/afs/util.a
LIBS=${TOP_LIBDIR}/libxstat_fs.a \
${TOP_LIBDIR}/libxstat_cm.a \
${TOP_LIBDIR}/libgtx.a \
${TOP_LIBDIR}/libafsint.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/util.a
EXTRA_LIBS= ${TXLIBS} ${SRCDIR}/lib/afs/libtermlib.a ${XLIBS}
EXTRA_LIBS=${TXLIBS} ${TOP_LIBDIR}/libtermlib.a ${XLIBS}
all: afsmonitor
system: install
all: afsmonitor
afsmon-output.o: afsmon-output.c ${INCLS}
afsmon-win.o: afsmon-win.c ${INCLS}
@ -68,10 +81,18 @@ afsmon-parselog: afsmon-parselog.o ${LIBS}
#
# Misc others
#
install: all
${INSTALL} afsmonitor ${DESTDIR}/bin
install: ${DESTDIR}${bindir}/afsmonitor
clean:
$(RM) -f *.o afsmonitor AFS_component_version_number.c
include ../config/Makefile.version
${DEST}/bin/afsmonitor: afsmonitor
${INSTALL} $? $@
${DESTDIR}${bindir}/afsmonitor: afsmonitor
${INSTALL} $? $@
dest: ${DEST}/bin/afsmonitor

View File

@ -5,8 +5,21 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -16,7 +29,7 @@ SHELL=/bin/sh
include ../config/Makefile.${SYS_NAME}
UKERNELDIR=../libuafs/
COMPILE_ET=${SRCDIR}/bin/compile_et
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
UKSRCS=nsafs.h nsafs.c securehash.c
@ -45,81 +58,81 @@ system apache_afs_web_secure:
echo Clean, make, and install the lib for 1.2 ; \
$(MAKE) libclean ; \
$(MAKE) AUX_CFLAGS=-DAIX $(APACHE_AFS_LIB) ; \
${INSTALL} ${APACHE_AFS_LIB} ${DESTDIR}/root.afsweb/lib/apache_1.2 ; \
${INSTALL} ${APACHE_AFS_LIB} ${DEST}/root.afsweb/lib/apache_1.2 ; \
echo Make and install source for 1.2 ; \
/bin/rm -f $(SRC_MODULE) ; \
$(MAKE) $(SRC_MODULE) VERSION_CFLAG=-DAPACHE_1_2 ; \
${INSTALL} $(SRC_MODULE) ${DESTDIR}/root.afsweb/src/apache_1.2 ; \
${INSTALL} $(SRC_MODULE) ${DEST}/root.afsweb/src/apache_1.2 ; \
echo Make and install the lib for 1.3.1 ; \
$(MAKE) libclean ; \
$(MAKE) AUX_CFLAGS=-DAIX $(APACHE_AFS_LIB) VERSION_CFLAG="-DAPACHE_1_3 -DAPACHE_1_3_1" ; \
${INSTALL} $(APACHE_AFS_LIB) ${DESTDIR}/root.afsweb/lib/apache_1.3.1 ; \
${INSTALL} $(APACHE_AFS_LIB) ${DEST}/root.afsweb/lib/apache_1.3.1 ; \
echo Make and install source for 1.3.1 ; \
/bin/rm -f $(SRC_MODULE) ; \
$(MAKE) $(SRC_MODULE) VERSION_CFLAG="-DAPACHE_1_3 -DAPACHE_1_3_1" ; \
${INSTALL} $(SRC_MODULE) ${DESTDIR}/root.afsweb/src/apache_1.3.1 ; \
${INSTALL} $(SRC_MODULE) ${DEST}/root.afsweb/src/apache_1.3.1 ; \
echo Clean, make, and install the lib for 1.3.6 ; \
$(MAKE) libclean ; \
$(MAKE) AUX_CFLAGS=-DAIX $(APACHE_AFS_LIB) VERSION_CFLAG="-DAPACHE_1_3 -DAPACHE_1_3_6"; \
${INSTALL} $(APACHE_AFS_LIB) ${DESTDIR}/root.afsweb/lib/apache_1.3.6 ; \
${INSTALL} $(APACHE_AFS_LIB) ${DEST}/root.afsweb/lib/apache_1.3.6 ; \
/bin/rm -f $(SRC_MODULE) ; \
echo Make and install source for 1.3.1 ; \
$(MAKE) $(SRC_MODULE) VERSION_CFLAG="-DAPACHE_1_3 -DAPACHE_1_3_6" ; \
${INSTALL} $(SRC_MODULE) ${DESTDIR}/root.afsweb/src/apache_1.3.6 ; \
${INSTALL} $(SRC_MODULE) ${DEST}/root.afsweb/src/apache_1.3.6 ; \
echo Do the binaries ; \
$(MAKE) AUX_CFLAGS=-DAIX $(BINARIES) ;; \
sun*) \
$(MAKE) libclean ; \
$(MAKE) AUX_FLAGS=-DSOLARIS $(APACHE_AFS_LIB) ; \
${INSTALL} $(APACHE_AFS_LIB) ${DESTDIR}/root.afsweb/lib/apache_1.2 ; \
${INSTALL} $(APACHE_AFS_LIB) ${DEST}/root.afsweb/lib/apache_1.2 ; \
$(MAKE) libclean ; \
$(MAKE) AUX_FLAGS=-DSOLARIS $(APACHE_AFS_LIB) VERSION_CFLAG="-DAPACHE_1_3 -DAPACHE_1_3_1" ; \
${INSTALL} $(APACHE_AFS_LIB) ${DESTDIR}/root.afsweb/lib/apache_1.3.1 ; \
${INSTALL} $(APACHE_AFS_LIB) ${DEST}/root.afsweb/lib/apache_1.3.1 ; \
$(MAKE) libclean ; \
$(MAKE) AUX_FLAGS=-DSOLARIS $(APACHE_AFS_LIB) VERSION_CFLAG="-DAPACHE_1_3 -DAPACHE_1_3_6" ; \
${INSTALL} $(APACHE_AFS_LIB) ${DESTDIR}/root.afsweb/lib/apache_1.3.6 ; \
${INSTALL} $(APACHE_AFS_LIB) ${DEST}/root.afsweb/lib/apache_1.3.6 ; \
/bin/rm -f $(SRC_MODULE) ; \
$(MAKE) $(SRC_MODULE) VERSION_CFLAG=-DAPACHE_1_2 ; \
${INSTALL} $(SRC_MODULE) ${DESTDIR}/root.afsweb/src/apache_1.2 ; \
${INSTALL} $(SRC_MODULE) ${DEST}/root.afsweb/src/apache_1.2 ; \
/bin/rm -f $(SRC_MODULE) ; \
$(MAKE) $(SRC_MODULE) VERSION_CFLAG="-DAPACHE_1_3 -DAPACHE_1_3_1" ; \
${INSTALL} $(SRC_MODULE) ${DESTDIR}/root.afsweb/src/apache_1.3.1 ; \
${INSTALL} $(SRC_MODULE) ${DEST}/root.afsweb/src/apache_1.3.1 ; \
/bin/rm -f $(SRC_MODULE) ; \
$(MAKE) $(SRC_MODULE) VERSION_CFLAG="-DAPACHE_1_3 -DAPACHE_1_3_6" ; \
${INSTALL} $(SRC_MODULE) ${DESTDIR}/root.afsweb/src/apache_1.3.6 ; \
${INSTALL} $(SRC_MODULE) ${DEST}/root.afsweb/src/apache_1.3.6 ; \
$(MAKE) AUX_CFLAGS=-DSOLARIS "XLIBS=-lsocket -lnsl" $(BINARIES) ;; \
*linux*) \
$(MAKE) libclean ; \
$(MAKE) AUX_FLAGS=-DLINUX $(APACHE_AFS_LIB) ; \
${INSTALL} $(APACHE_AFS_LIB) ${DESTDIR}/root.afsweb/lib/apache_1.2 ; \
${INSTALL} $(APACHE_AFS_LIB) ${DEST}/root.afsweb/lib/apache_1.2 ; \
$(MAKE) libclean ; \
$(MAKE) AUX_FLAGS=-DLINUX $(APACHE_AFS_LIB) VERSION_CFLAG="-DAPACHE_1_3 -DAPACHE_1_3_1" ; \
${INSTALL} $(APACHE_AFS_LIB) ${DESTDIR}/root.afsweb/lib/apache_1.3.1 ; \
${INSTALL} $(APACHE_AFS_LIB) ${DEST}/root.afsweb/lib/apache_1.3.1 ; \
$(MAKE) libclean ; \
$(MAKE) AUX_FLAGS=-DLINUX $(APACHE_AFS_LIB) VERSION_CFLAG="-DAPACHE_1_3 -DAPACHE_1_3_6" ; \
${INSTALL} $(APACHE_AFS_LIB) ${DESTDIR}/root.afsweb/lib/apache_1.3.6 ; \
${INSTALL} $(APACHE_AFS_LIB) ${DEST}/root.afsweb/lib/apache_1.3.6 ; \
/bin/rm -f $(SRC_MODULE) ; \
$(MAKE) $(SRC_MODULE) VERSION_CFLAG=-DAPACHE_1_2 ; \
${INSTALL} $(SRC_MODULE) ${DESTDIR}/root.afsweb/src/apache_1.2 ; \
${INSTALL} $(SRC_MODULE) ${DEST}/root.afsweb/src/apache_1.2 ; \
/bin/rm -f $(SRC_MODULE) ; \
$(MAKE) $(SRC_MODULE) VERSION_CFLAG="-DAPACHE_1_3 -DAPACHE_1_3_1" ; \
${INSTALL} $(SRC_MODULE) ${DESTDIR}/root.afsweb/src/apache_1.3.1 ; \
${INSTALL} $(SRC_MODULE) ${DEST}/root.afsweb/src/apache_1.3.1 ; \
/bin/rm -f $(SRC_MODULE) ; \
$(MAKE) $(SRC_MODULE) VERSION_CFLAG="-DAPACHE_1_3 -DAPACHE_1_3_6" ; \
${INSTALL} $(SRC_MODULE) ${DESTDIR}/root.afsweb/src/apache_1.3.6 ; \
${INSTALL} $(SRC_MODULE) ${DEST}/root.afsweb/src/apache_1.3.6 ; \
$(MAKE) AUX_CFLAGS=-DLINUX "XLIBS=-lnsl" $(BINARIES) ;; \
* ) \
echo "NOT BUILT FOR ${SYS_NAME}"; ;; \
esac
${INSTALL} ${APACHEAFS_DOC} ${DESTDIR}/root.afsweb/doc
${INSTALL} ${APACHE_INSTALL_SCRIPT} ${DESTDIR}/root.afsweb/install
chmod a+x ${DESTDIR}/root.afsweb/install/${APACHE_INSTALL_SCRIPT}
chmod a+w ${DESTDIR}/root.afsweb/install/${APACHE_INSTALL_SCRIPT}
${INSTALL} $(BINARIES) ${DESTDIR}/root.afsweb/bin
${INSTALL} ${APACHEAFS_DOC} ${DEST}/root.afsweb/doc
${INSTALL} ${APACHE_INSTALL_SCRIPT} ${DEST}/root.afsweb/install
chmod a+x ${DEST}/root.afsweb/install/${APACHE_INSTALL_SCRIPT}
chmod a+w ${DEST}/root.afsweb/install/${APACHE_INSTALL_SCRIPT}
${INSTALL} $(BINARIES) ${DEST}/root.afsweb/bin
all:
all: kinstall ukinstall
install: kinstall ukinstall
install:
kinstall:
@echo No $@ source here.
@ -151,29 +164,29 @@ OPTF=
DEBUG_FLAG=
AUX_CFLAGS=
VERSION_CFLAG=
AFS_INCL=-I${SRCDIR}/include -I.. -I../config
AFS_INCL=-I${TOP_INCDIR} -I.. -I../config
CFLAGS=$(OPTF) $(DEFINES) -I. -I.. $(EXTRA_CFLAGS) $(VERSION_CFLAG) $(DEBUG_FLAG)
INCLS=${SRCDIR}/include/ubik.h \
${SRCDIR}/include/lwp.h \
${SRCDIR}/include/lock.h \
${SRCDIR}/include/rx/rx.h \
${SRCDIR}/include/rx/xdr.h \
${SRCDIR}/include/rx/rxkad.h \
${SRCDIR}/include/afs/com_err.h \
INCLS=${TOP_INCDIR}/ubik.h \
${TOP_INCDIR}/lwp.h \
${TOP_INCDIR}/lock.h \
${TOP_INCDIR}/rx/rx.h \
${TOP_INCDIR}/rx/xdr.h \
${TOP_INCDIR}/rx/rxkad.h \
${TOP_INCDIR}/afs/com_err.h \
weblog_errors.h $(DCE_DLOG_INCLUDES)
deslib=${SRCDIR}/lib/libdes.a
rxkadlib=${SRCDIR}/lib/librxkad.a
authlib=${SRCDIR}/lib/afs/libauth.a
cmdlib=${SRCDIR}/lib/afs/libcmd.a
utilib=${SRCDIR}/lib/afs/util.a
auditlib=${SRCDIR}/lib/afs/libaudit.a
kauthlib=${SRCDIR}/lib/afs/libkauth.a
deslib=${TOP_LIBDIR}/libdes.a
rxkadlib=${TOP_LIBDIR}/librxkad.a
authlib=${TOP_LIBDIR}/libauth.a
cmdlib=${TOP_LIBDIR}/libcmd.a
utilib=${TOP_LIBDIR}/util.a
auditlib=${TOP_LIBDIR}/libaudit.a
kauthlib=${TOP_LIBDIR}/libkauth.a
LIBS = ${kauthlib} ${SRCDIR}/lib/libubik.a ${SRCDIR}/lib/afs/libprot.a \
${authlib} ${rxkadlib} ${SRCDIR}/lib/afs/libsys.a ${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/liblwp.a ${deslib} ${cmdlib} \
${SRCDIR}/lib/afs/libcom_err.a ${utilib} \
LIBS=${kauthlib} ${TOP_LIBDIR}/libubik.a ${TOP_LIBDIR}/libprot.a \
${authlib} ${rxkadlib} ${TOP_LIBDIR}/libsys.a ${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/liblwp.a ${deslib} ${cmdlib} \
${TOP_LIBDIR}/libcom_err.a ${utilib} \
$(DBM) $(XLIBS)
AR=ar
@ -239,3 +252,5 @@ libclean:
include ../config/Makefile.version
dest:

View File

@ -12,8 +12,22 @@
# # supported (if not supported, don't show it).
# ######################################################################
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -23,19 +37,12 @@ include ../config/Makefile.${SYS_NAME}
UKERNELDIR = ../libuafs/
CFLAGS = ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
CFLAGS=${OPTMZ} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
all: install
all: ukinstall ${TOP_LIBDIR}/libaudit.a ${TOP_INCDIR}/afs/audit.h
install: ukinstall ${DESTDIR}/lib/afs/libaudit.a ${DESTDIR}/include/afs/audit.h
case ${SYS_NAME} in \
rs_aix*) \
${INSTALL} Audit ${DESTDIR}/root.server/usr/afs/local ; \
${INSTALL} objects.aix.sample ${DESTDIR}/root.server/usr/afs/local/audit/objects.sample ; \
${INSTALL} events.aix.sample ${DESTDIR}/root.server/usr/afs/local/audit/events.sample ; \
${INSTALL} config.aix.sample ${DESTDIR}/root.server/usr/afs/local/audit/config.sample ;; \
*) ;; \
esac ;
# XXX-INST: where to install the AIX audit files?
install: ${DESTDIR}${libdir}/afs/libaudit.a ${DESTDIR}${includedir}/afs/audit.h
ukinstall: ${UKERNELDIR}/afs ${UKERNELDIR}/afs/audit.h
@ -45,10 +52,10 @@ ${UKERNELDIR}/afs:
${UKERNELDIR}/afs/audit.h: audit.h
${INSTALL} $? $@
${DESTDIR}/include/afs/audit.h: audit.h
${DEST}/include/afs/audit.h: audit.h
${INSTALL} $? $@
${DESTDIR}/lib/afs/libaudit.a: libaudit.a
${DEST}/lib/afs/libaudit.a: libaudit.a
${INSTALL} $? $@
libaudit.a: audit.o AFS_component_version_number.o
@ -63,3 +70,25 @@ clean:
$(RM) -f *.a *.o core AFS_component_version_number.c
include ../config/Makefile.version
${DESTDIR}${libdir}/afs/libaudit.a: libaudit.a
${INSTALL} $? $@
${TOP_LIBDIR}/libaudit.a: libaudit.a
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/audit.h: audit.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/audit.h: audit.h
${INSTALL} $? $@
dest: ${DEST}/lib/afs/libaudit.a ${DEST}/include/afs/audit.h
case ${SYS_NAME} in \
rs_aix*) \
${INSTALL} Audit ${DEST}/root.server/usr/afs/local ; \
${INSTALL} objects.aix.sample ${DEST}/root.server/usr/afs/local/audit/objects.sample ; \
${INSTALL} events.aix.sample ${DEST}/root.server/usr/afs/local/audit/events.sample ; \
${INSTALL} config.aix.sample ${DEST}/root.server/usr/afs/local/audit/config.sample ;; \
*) ;; \
esac ;

View File

@ -5,8 +5,21 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -16,26 +29,26 @@ include ../config/Makefile.${SYS_NAME}
KERNELDIR = ../libafs/
UKERNELDIR = ../libuafs/
COMPILE_ET = ${SRCDIR}/bin/compile_et
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
OBJS= cellconfig.o ktc.o userok.o writeconfig.o authcon.o \
acfg_errors.o ktc_errors.o
KOBJS= cellconfig.o ktc.krb.o userok.o writeconfig.o authcon.o \
acfg_errors.o ktc_errors.o
CFLAGS=-g -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
LIBS= libauth.a ${DESTDIR}/lib/afs/libsys.a \
${DESTDIR}/lib/librxkad.a ${DESTDIR}/lib/libdes.a \
${DESTDIR}/lib/librx.a ${DESTDIR}/lib/afs/libsys.a \
${DESTDIR}/lib/liblwp.a ${SRCDIR}/lib/afs/util.a ${XLIBS}
CFLAGS=-g -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
LIBS=libauth.a ${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/librxkad.a ${TOP_LIBDIR}/libdes.a \
${TOP_LIBDIR}/librx.a ${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/util.a ${XLIBS}
INCLS=cellconfig.h auth.h keys.h
KSRCS=auth.h
UKSRCS=${KSRCS} cellconfig.h acfg_errors.c keys.h cellconfig.c \
ktc.c authcon.c ktc_errors.c
all: install
all: kinstall ukinstall ${TOP_LIBDIR}/libauth.a ${TOP_LIBDIR}/libauth.krb.a ${TOP_INCDIR}/afs/keys.h ${TOP_INCDIR}/afs/cellconfig.h ${TOP_INCDIR}/afs/auth.h copyauth setkey
cellconfig.o: cellconfig.c ${INCLS}
ktc.o: ktc.c ${INCLS} ${SRCDIR}/include/afs/vice.h
ktc.o: ktc.c ${INCLS} ${TOP_INCDIR}/afs/vice.h
writeconfig.o: writeconfig.c ${INCLS}
authcon.o: authcon.c ${INCLS}
userok.o: userok.c ${INCLS}
@ -43,7 +56,7 @@ cellconfig.o: cellconfig.c ${INCLS}
copyauth.o: copyauth.c ${INCLS} AFS_component_version_number.o
setkey.o: setkey.c ${INCLS} AFS_component_version_number.o
ktc.krb.o: ktc.c ${INCLS} ${SRCDIR}/include/afs/vice.h
ktc.krb.o: ktc.c ${INCLS} ${TOP_INCDIR}/afs/vice.h
${CC} ${CFLAGS} -DAFS_KERBEROS_ENV -c ktc.c -o ktc.krb.o
libauth.a: $(OBJS) AFS_component_version_number.o
@ -114,31 +127,24 @@ ${UKERNELDIR}/afs/authcon.c: authcon.c
${UKERNELDIR}/afs/ktc_errors.c: ktc_errors.c
${INSTALL} $? $@
install: kinstall ukinstall \
${DESTDIR}/lib/afs/libauth.a \
${DESTDIR}/lib/afs/libauth.krb.a \
${DESTDIR}/include/afs/keys.h \
${DESTDIR}/include/afs/cellconfig.h \
${DESTDIR}/include/afs/auth.h \
${DESTDIR}/etc/copyauth \
setkey
install: ${DESTDIR}${libdir}/afs/libauth.a ${DESTDIR}${libdir}/afs/libauth.krb.a ${DESTDIR}${includedir}/afs/keys.h ${DESTDIR}${includedir}/afs/cellconfig.h ${DESTDIR}${includedir}/afs/auth.h ${DESTDIR}${sbindir}/copyauth
${DESTDIR}/lib/afs/libauth.a: libauth.a
${DEST}/lib/afs/libauth.a: libauth.a
${INSTALL} $? $@
${DESTDIR}/lib/afs/libauth.krb.a: libauth.krb.a
${DEST}/lib/afs/libauth.krb.a: libauth.krb.a
${INSTALL} $? $@
${DESTDIR}/etc/copyauth: copyauth
${DEST}/etc/copyauth: copyauth
${INSTALL} $? $@
${DESTDIR}/include/afs/keys.h: keys.h
${DEST}/include/afs/keys.h: keys.h
${INSTALL} $? $@
${DESTDIR}/include/afs/cellconfig.h: cellconfig.h
${DEST}/include/afs/cellconfig.h: cellconfig.h
${INSTALL} $? $@
${DESTDIR}/include/afs/auth.h: auth.h
${DEST}/include/afs/auth.h: auth.h
${INSTALL} $? $@
#
@ -152,3 +158,38 @@ clean:
AFS_component_version_number.c
include ../config/Makefile.version
${DESTDIR}${libdir}/afs/libauth.a: libauth.a
${INSTALL} $? $@
${TOP_LIBDIR}/libauth.a: libauth.a
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libauth.krb.a: libauth.krb.a
${INSTALL} $? $@
${TOP_LIBDIR}/libauth.krb.a: libauth.krb.a
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/keys.h: keys.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/keys.h: keys.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/cellconfig.h: cellconfig.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/cellconfig.h: cellconfig.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/auth.h: auth.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/auth.h: auth.h
${INSTALL} $? $@
${DESTDIR}${sbindir}/copyauth: copyauth
${INSTALL} $? $@
dest: ${DEST}/lib/afs/libauth.a ${DEST}/lib/afs/libauth.krb.a ${DEST}/include/afs/keys.h ${DEST}/include/afs/cellconfig.h ${DEST}/include/afs/auth.h ${DEST}/etc/copyauth

View File

@ -22,7 +22,7 @@ LIBS= -lauth -lsys -lrx -llwp -lafsutil ${XLIBS}
CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${XCFLAGS}
tests system all: testcellconf ktctest
tests all: testcellconf ktctest
testcellconf: testcellconf.o
$(CC) $(CFLAGS) -o testcellconf testcellconf.o ${LIBS}
@ -32,3 +32,7 @@ ktctest: ktctest.o
clean:
$(RM) -f *.o *.a copyauth testcellconf ktctest setkey auth.h cellconfig.h acfg_errors.c ktc_errors.c core
install:
dest:

View File

@ -5,8 +5,21 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,40 +27,40 @@ SHELL=/bin/sh
include ../config/Makefile.${SYS_NAME}
COMPILE_ET=${SRCDIR}/bin/compile_et
CFLAGS=-g -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
RPCINCLS=${SRCDIR}/include/lwp.h ${SRCDIR}/include/rx/rx.h bosint.h
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
CFLAGS=-g -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
RPCINCLS=${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/rx/rx.h bosint.h
INCLS= bnode.h \
INCLS=bnode.h \
${RPCINCLS} \
${SRCDIR}/include/afs/auth.h \
${SRCDIR}/include/afs/keys.h \
${SRCDIR}/include/afs/cellconfig.h \
${SRCDIR}/include/afs/cmd.h \
${SRCDIR}/include/afs/ktime.h
${TOP_INCDIR}/afs/auth.h \
${TOP_INCDIR}/afs/keys.h \
${TOP_INCDIR}/afs/cellconfig.h \
${TOP_INCDIR}/afs/cmd.h \
${TOP_INCDIR}/afs/ktime.h
# EH 12/18/90 - have to search librx.a twice on Ultrix 4.0
LIBS= ${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/liblwp.a \
${SRCDIR}/lib/afs/libcmd.a \
${SRCDIR}/lib/afs/libkauth.a \
${SRCDIR}/lib/afs/libvolser.a \
${SRCDIR}/lib/afs/libvldb.a \
${SRCDIR}/lib/afs/libauth.a \
${SRCDIR}/lib/librxstat.a \
${SRCDIR}/lib/librxkad.a \
${SRCDIR}/lib/libdes.a \
${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/libubik.a \
${SRCDIR}/lib/afs/libcom_err.a \
${SRCDIR}/lib/afs/util.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/afs/libprocmgmt.a
LIBS=${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libkauth.a \
${TOP_LIBDIR}/libvolser.a \
${TOP_LIBDIR}/libvldb.a \
${TOP_LIBDIR}/libauth.a \
${TOP_LIBDIR}/librxstat.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libdes.a \
${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/libubik.a \
${TOP_LIBDIR}/libcom_err.a \
${TOP_LIBDIR}/util.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/libprocmgmt.a
OBJS=bosserver.o bnode.o ezbnodeops.o fsbnodeops.o bosint.ss.o bosint.xdr.o \
bosoprocs.o cronbnodeops.o
all: install
all: bosserver ${TOP_INCDIR}/afs/bosint.h bos ${TOP_LIBDIR}/libbos.a ${TOP_INCDIR}/afs/bnode.h
$(OBJS) bosint.xdr.o bosint.cs.o boserr.o: $(INCLS)
@ -56,7 +69,7 @@ bosint.xdr.o: bosint.xdr.c ${RPCINCLS}
bosint.cs.o: bosint.cs.c ${RPCINCLS}
bosint.xdr.c bosint.ss.c bosint.cs.c bosint.h: bosint.xg
${SRCDIR}/bin/rxgen -x bosint.xg
${RXGEN} -x bosint.xg
bnode.h boserr.c: bnode.p.h boserr.et
$(RM) -f boserr.c bnode.h; $(COMPILE_ET) boserr -h bnode
@ -84,34 +97,35 @@ libbos.a: bosint.xdr.o bosint.cs.o boserr.o AFS_component_version_number.o
$(RANLIB) $@
bosserver: $(OBJS) $(LIBS)
${CC} $(CFLAGS) -o bosserver $(OBJS) ${SRCDIR}/lib/afs/libaudit.a $(LIBS) ${XLIBS}
${CC} $(CFLAGS) -o bosserver $(OBJS) ${TOP_LIBDIR}/libaudit.a $(LIBS) ${XLIBS}
#
# Install targets
#
install: ${DESTDIR}/root.server/usr/afs/bin/bosserver \
${DESTDIR}/include/afs/bosint.h \
${DESTDIR}/bin/bos \
${DESTDIR}/root.server/usr/afs/bin/bos \
${DESTDIR}/lib/afs/libbos.a \
${DESTDIR}/include/afs/bnode.h
install: \
${DESTDIR}${afssrvsbindir}/bosserver \
${DESTDIR}${includedir}/afs/bosint.h \
${DESTDIR}${bindir}/bos \
${DESTDIR}${afssrvbindir}/bos \
${DESTDIR}${libdir}/afs/libbos.a \
${DESTDIR}${includedir}/afs/bnode.h
${DESTDIR}/root.server/usr/afs/bin/bosserver: bosserver
${DEST}/root.server/usr/afs/bin/bosserver: bosserver
${INSTALL} $? $@
${DESTDIR}/include/afs/bosint.h: bosint.h
${DEST}/include/afs/bosint.h: bosint.h
${INSTALL} $? $@
${DESTDIR}/bin/bos: bos
${DEST}/bin/bos: bos
${INSTALL} $? $@
${DESTDIR}/root.server/usr/afs/bin/bos: bos
${DEST}/root.server/usr/afs/bin/bos: bos
${INSTALL} $? $@
${DESTDIR}/lib/afs/libbos.a: libbos.a
${DEST}/lib/afs/libbos.a: libbos.a
${INSTALL} $? $@
${DESTDIR}/include/afs/bnode.h: bnode.h
${DEST}/include/afs/bnode.h: bnode.h
${INSTALL} $? $@
#
@ -125,3 +139,38 @@ test:
cd test; $(MAKE)
include ../config/Makefile.version
${DESTDIR}${afssrvsbindir}/bosserver: bosserver
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/bosint.h: bosint.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/bosint.h: bosint.h
${INSTALL} $? $@
${DESTDIR}${bindir}/bos: bos
${INSTALL} $? $@
${DESTDIR}${afssrvbindir}/bos: bos
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libbos.a: libbos.a
${INSTALL} $? $@
${TOP_LIBDIR}/libbos.a: libbos.a
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/bnode.h: bnode.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/bnode.h: bnode.h
${INSTALL} $? $@
dest: \
${DEST}/root.server/usr/afs/bin/bosserver \
${DEST}/include/afs/bosint.h \
${DEST}/bin/bos \
${DEST}/root.server/usr/afs/bin/bos \
${DEST}/lib/afs/libbos.a \
${DEST}/include/afs/bnode.h

View File

@ -5,21 +5,35 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
OPTIMIZE=-O
INCDIRS= -I${DESTDIR}/include -I..
LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L..
INCDIRS=-I${TOP_INCDIR} -I..
LDIRS=-L${TOP_LIBDIR} -L${DESTDIR}/lib/afs -L..
CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
all: install
all: testproc smail-notifier
install: testproc smail-notifier
install:
#
# Build targets
@ -36,3 +50,5 @@ smail-notifier: smail-notifier.c
clean:
$(RM) -f *.a *.o testproc smail-notifier core
dest:

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,28 +28,33 @@ SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
CFLAGS= -g -w -I${TOP_SRCDIR}/config -I${SRCDIR}/include -I${SRCDIR}/include/afs ${XCFLAGS}
CFLAGS=-g -w -I${TOP_SRCDIR}/config -I${TOP_INCDIR} -I${TOP_INCDIR}/afs ${XCFLAGS}
LDFLAGS = ${XLDFLAGS}
all: install
all: fms
FMSLIBS=${DESTDIR}/lib/afs/libcmd.a \
FMSLIBS=${TOP_LIBDIR}/libcmd.a \
${TXLIBS} \
${SRCDIR}/lib/afs/libusd.a \
${SRCDIR}/lib/afs/libtermlib.a ${XLIBS} \
${SRCDIR}/lib/afs/util.a
${TOP_LIBDIR}/libusd.a \
${TOP_LIBDIR}/libtermlib.a ${XLIBS} \
${TOP_LIBDIR}/util.a
fms: fms.o
${CC} ${LDFLAGS} -o fms fms.o ${FMSLIBS}
fms.o: fms.c AFS_component_version_number.o
install: ${DESTDIR}/etc/fms
install: ${DESTDIR}${sbindir}/fms
${DESTDIR}/etc/fms: fms
${DEST}/etc/fms: fms
${INSTALL} $? $@
clean:
$(RM) -f *.o fms AFS_component_version_number.c
include ../config/Makefile.version
${DESTDIR}${sbindir}/fms: fms
${INSTALL} $? $@
dest: ${DEST}/etc/fms

View File

@ -5,8 +5,20 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,12 +26,12 @@ SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
RXGEN=${SRCDIR}/bin/rxgen
COMPILE_ET = ${SRCDIR}/bin/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
CFLAGS= ${DBUG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
CFLAGS=${DBUG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
all: install
all: ${TOP_LIBDIR}/libbubasics.a ${TOP_INCDIR}/afs/bumon.h ${TOP_INCDIR}/afs/butc.h ${TOP_INCDIR}/afs/bubasics.h ${TOP_INCDIR}/afs/tcdata.h ${TOP_INCDIR}/afs/butm.h ${TOP_INCDIR}/afs/butx.h
OBJS=butc.ss.o butc.cs.o butc.xdr.o bumon.ss.o bumon.cs.o bumon.xdr.o butc_errs.o butm_errs.o butx_errs.o
@ -49,33 +61,27 @@ butx_errs.c butx.h: butx_errs.et
#
# Installation targets
#
install: ${DESTDIR}/lib/afs/libbubasics.a \
${DESTDIR}/include/afs/bumon.h \
${DESTDIR}/include/afs/butc.h \
${DESTDIR}/include/afs/bubasics.h \
${DESTDIR}/include/afs/tcdata.h \
${DESTDIR}/include/afs/butm.h \
${DESTDIR}/include/afs/butx.h
install: ${DESTDIR}${libdir}/afs/libbubasics.a ${DESTDIR}${includedir}/afs/bumon.h ${DESTDIR}${includedir}/afs/butc.h ${DESTDIR}${includedir}/afs/bubasics.h ${DESTDIR}${includedir}/afs/tcdata.h ${DESTDIR}${includedir}/afs/butm.h ${DESTDIR}${includedir}/afs/butx.h
${DESTDIR}/lib/afs/libbubasics.a: libbubasics.a
${DEST}/lib/afs/libbubasics.a: libbubasics.a
${INSTALL} $? $@
${DESTDIR}/include/afs/bumon.h: bumon.h
${DEST}/include/afs/bumon.h: bumon.h
${INSTALL} $? $@
${DESTDIR}/include/afs/butc.h: butc.h
${DEST}/include/afs/butc.h: butc.h
${INSTALL} $? $@
${DESTDIR}/include/afs/bubasics.h: bubasics.h
${DEST}/include/afs/bubasics.h: bubasics.h
${INSTALL} $? $@
${DESTDIR}/include/afs/tcdata.h: tcdata.h
${DEST}/include/afs/tcdata.h: tcdata.h
${INSTALL} $? $@
${DESTDIR}/include/afs/butm.h: butm.h
${DEST}/include/afs/butm.h: butm.h
${INSTALL} $? $@
${DESTDIR}/include/afs/butx.h: butx.h
${DEST}/include/afs/butx.h: butx.h
${INSTALL} $? $@
#
@ -87,3 +93,47 @@ clean:
butc_errs.c butx_errs.c butm_errs.c core AFS_component_version_number.c
include ../config/Makefile.version
${DESTDIR}${libdir}/afs/libbubasics.a: libbubasics.a
${INSTALL} $? $@
${TOP_LIBDIR}/libbubasics.a: libbubasics.a
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/bumon.h: bumon.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/bumon.h: bumon.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/butc.h: butc.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/butc.h: butc.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/bubasics.h: bubasics.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/bubasics.h: bubasics.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/tcdata.h: tcdata.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/tcdata.h: tcdata.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/butm.h: butm.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/butm.h: butm.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/butx.h: butx.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/butx.h: butx.h
${INSTALL} $? $@
dest: ${DEST}/lib/afs/libbubasics.a ${DEST}/include/afs/bumon.h ${DEST}/include/afs/butc.h ${DEST}/include/afs/bubasics.h ${DEST}/include/afs/tcdata.h ${DEST}/include/afs/butm.h ${DEST}/include/afs/butx.h

View File

@ -5,8 +5,20 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,40 +26,39 @@ SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
COMPILE_ET = ${SRCDIR}/bin/compile_et
RXGEN=${SRCDIR}/bin/rxgen
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
CFLAGS= ${DBUG} -w -I${TOP_SRCDIR}/config \
-I${SRCDIR}/include -I${SRCDIR}/include/afs ${XCFLAGS}
CFLAGS=${DBUG} -w -I${TOP_SRCDIR}/config \
-I${TOP_INCDIR} -I${TOP_INCDIR}/afs ${XCFLAGS}
LIBS=${SRCDIR}/lib/afs/libbudb.a ${SRCDIR}/lib/afs/libbubasics.a \
${SRCDIR}/lib/afs/libbutm.a ${SRCDIR}/lib/afs/libvolser.a \
${SRCDIR}/lib/afs/libvldb.a ${SRCDIR}/lib/afs/vlib.a \
${SRCDIR}/lib/afs/libkauth.a ${SRCDIR}/lib/libubik.a \
${SRCDIR}/lib/afs/libauth.a ${SRCDIR}/lib/librxkad.a \
${SRCDIR}/lib/afs/libsys.a ${SRCDIR}/lib/libdes.a \
${SRCDIR}/lib/librx.a ${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/liblwp.a ${SRCDIR}/lib/afs/libcmd.a \
${SRCDIR}/lib/afs/libcom_err.a ${SRCDIR}/lib/afs/util.a
LIBS=${TOP_LIBDIR}/libbudb.a ${TOP_LIBDIR}/libbubasics.a \
${TOP_LIBDIR}/libbutm.a ${TOP_LIBDIR}/libvolser.a \
${TOP_LIBDIR}/libvldb.a ${TOP_LIBDIR}/vlib.a \
${TOP_LIBDIR}/libkauth.a ${TOP_LIBDIR}/libubik.a \
${TOP_LIBDIR}/libauth.a ${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libsys.a ${TOP_LIBDIR}/libdes.a \
${TOP_LIBDIR}/librx.a ${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libcom_err.a ${TOP_LIBDIR}/util.a
all: install
all: ${TOP_LIBDIR}/libbxdb.a backup
libbxdb.a: dsstub.o ubik_db_if.o status.o dlq.o bucoord_errs.o volstub.o AFS_component_version_number.o
-$(RM) -f $@
$(AR) crv $@ dsstub.o ubik_db_if.o status.o dlq.o bucoord_errs.o volstub.o AFS_component_version_number.o
$(RANLIB) $@
ttest: ttest.o ${SRCDIR}/lib/librx.a ${SRCDIR}/lib/liblwp.a libbxdb.a
ttest: ttest.o ${TOP_LIBDIR}/librx.a ${TOP_LIBDIR}/liblwp.a libbxdb.a
${CC} ${CFLAGS} -o ttest ttest.o libbxdb.a \
${SRCDIR}/lib/afs/libbubasics.a \
${SRCDIR}/lib/librx.a ${SRCDIR}/lib/liblwp.a
${TOP_LIBDIR}/libbubasics.a \
${TOP_LIBDIR}/librx.a ${TOP_LIBDIR}/liblwp.a
ttest.o: AFS_component_version_number.c
btest: btest.o ${SRCDIR}/lib/afs/libbubasics.a ${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/liblwp.a
${CC} ${CFLAGS} -o btest btest.o ${SRCDIR}/lib/afs/libbubasics.a \
${SRCDIR}/lib/librx.a ${SRCDIR}/lib/liblwp.a
btest: btest.o ${TOP_LIBDIR}/libbubasics.a ${TOP_LIBDIR}/librx.a ${TOP_LIBDIR}/liblwp.a
${CC} ${CFLAGS} -o btest btest.o ${TOP_LIBDIR}/libbubasics.a \
${TOP_LIBDIR}/librx.a ${TOP_LIBDIR}/liblwp.a
btest.o: AFS_component_version_number.c
@ -62,7 +73,7 @@ BACKOBJS = main.o config.o dsstub.o volstub.o commands.o regex.o server.o \
main.o: AFS_component_version_number.c
$(BACKOBJS): bc.h ${SRCDIR}/include/afs/butc.h
$(BACKOBJS): bc.h ${TOP_INCDIR}/afs/butc.h
backup: $(BACKOBJS) ${LIBS}
${CC} ${CFLAGS} -o backup $(BACKOBJS) ${LIBS} ${XLIBS}
@ -75,13 +86,12 @@ bucoord_errs.c bc.h: bucoord_errs.et bc.p.h
# Install targets
#
install: ${DESTDIR}/lib/afs/libbxdb.a \
${DESTDIR}/etc/backup
install: ${DESTDIR}${libdir}/afs/libbxdb.a ${DESTDIR}${sbindir}/backup
${DESTDIR}/lib/afs/libbxdb.a: libbxdb.a
${DEST}/lib/afs/libbxdb.a: libbxdb.a
${INSTALL} $? $@
${DESTDIR}/etc/backup: backup
${DEST}/etc/backup: backup
${INSTALL} $? $@
#
@ -92,3 +102,14 @@ clean:
$(RM) -f *.o backup convert *.ss.c *.cs.c *.xdr.c *.a core btest ttest AFS_component_version_number.c bc.h bucoord_errs.c
include ../config/Makefile.version
${DESTDIR}${libdir}/afs/libbxdb.a: libbxdb.a
${INSTALL} $? $@
${TOP_LIBDIR}/libbxdb.a: libbxdb.a
${INSTALL} $? $@
${DESTDIR}${sbindir}/backup: backup
${INSTALL} $? $@
dest: ${DEST}/lib/afs/libbxdb.a ${DEST}/etc/backup

View File

@ -6,8 +6,20 @@
# directory or online at http://www.openafs.org/dl/license10.html
# */
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -15,48 +27,48 @@ SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
COMPILE_ET = ${SRCDIR}/bin/compile_et
RXGEN=${SRCDIR}/bin/rxgen
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
CFLAGS = -g -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
CFLAGS=-g -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
LDFLAGS = -g ${XLDFLAGS}
INCLS= \
${SRCDIR}/include/lock.h \
${SRCDIR}/include/ubik.h \
${SRCDIR}/include/lwp.h \
${SRCDIR}/include/des.h \
${SRCDIR}/include/rx/rx.h \
${SRCDIR}/include/rx/xdr.h \
${SRCDIR}/include/rx/rxkad.h \
${SRCDIR}/include/afs/auth.h \
${SRCDIR}/include/afs/cellconfig.h \
${SRCDIR}/include/afs/com_err.h \
${SRCDIR}/include/afs/bubasics.h \
INCLS=\
${TOP_INCDIR}/lock.h \
${TOP_INCDIR}/ubik.h \
${TOP_INCDIR}/lwp.h \
${TOP_INCDIR}/des.h \
${TOP_INCDIR}/rx/rx.h \
${TOP_INCDIR}/rx/xdr.h \
${TOP_INCDIR}/rx/rxkad.h \
${TOP_INCDIR}/afs/auth.h \
${TOP_INCDIR}/afs/cellconfig.h \
${TOP_INCDIR}/afs/com_err.h \
${TOP_INCDIR}/afs/bubasics.h \
budb.h budb_client.h database.h
# library ordering defined by top level makefile
LIBS= ${SRCDIR}/lib/afs/libbubasics.a \
${SRCDIR}/lib/afs/libaudit.a \
${SRCDIR}/lib/afs/libprot.a \
${SRCDIR}/lib/afs/libkauth.a \
${SRCDIR}/lib/libubik.a \
${SRCDIR}/lib/afs/libauth.a \
${SRCDIR}/lib/librxkad.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/libdes.a \
${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/liblwp.a \
${SRCDIR}/lib/afs/libcmd.a \
${SRCDIR}/lib/afs/libcom_err.a \
${SRCDIR}/lib/afs/util.a
LIBS=${TOP_LIBDIR}/libbubasics.a \
${TOP_LIBDIR}/libaudit.a \
${TOP_LIBDIR}/libprot.a \
${TOP_LIBDIR}/libkauth.a \
${TOP_LIBDIR}/libubik.a \
${TOP_LIBDIR}/libauth.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/libdes.a \
${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libcom_err.a \
${TOP_LIBDIR}/util.a
COMMON_OBJS = database.o db_alloc.o db_dump.o db_hash.o struct_ops.o ol_verify.o
SERVER_OBJS = ${COMMON_OBJS} budb.ss.o budb.xdr.o dbs_dump.o db_lock.o db_text.o \
procs.o server.o budb_errs.o
all: install
all: ${TOP_LIBDIR}/libbudb.a ${TOP_INCDIR}/afs/budb.h ${TOP_INCDIR}/afs/budb_errs.h ${TOP_INCDIR}/afs/budb_client.h budb_server
budb_errs.o: budb_errs.c
@ -91,25 +103,26 @@ libbudb.a: budb_errs.o budb.cs.o budb.xdr.o struct_ops.o AFS_component_version_n
#
# Install targets
#
install: ${DESTDIR}/lib/afs/libbudb.a \
${DESTDIR}/include/afs/budb.h \
${DESTDIR}/include/afs/budb_errs.h \
${DESTDIR}/include/afs/budb_client.h \
${DESTDIR}/root.server/usr/afs/bin/buserver
install: \
${DESTDIR}${libdir}/afs/libbudb.a \
${DESTDIR}${includedir}/afs/budb.h \
${DESTDIR}${includedir}/afs/budb_errs.h \
${DESTDIR}${includedir}/afs/budb_client.h \
${DESTDIR}${afssrvlibexecdir}/buserver
${DESTDIR}/lib/afs/libbudb.a: libbudb.a
${DEST}/lib/afs/libbudb.a: libbudb.a
${INSTALL} $? $@
${DESTDIR}/include/afs/budb.h: budb.h
${DEST}/include/afs/budb.h: budb.h
${INSTALL} $? $@
${DESTDIR}/include/afs/budb_errs.h: budb_errs.h
${DEST}/include/afs/budb_errs.h: budb_errs.h
${INSTALL} $? $@
${DESTDIR}/include/afs/budb_client.h: budb_client.h
${DEST}/include/afs/budb_client.h: budb_client.h
${INSTALL} $? $@
${DESTDIR}/root.server/usr/afs/bin/buserver: budb_server
${DEST}/root.server/usr/afs/bin/buserver: budb_server
${INSTALL} -f $? $@
#
@ -120,3 +133,37 @@ clean:
*.ss.c *.cs.c core budb_server AFS_component_version_number.c
include ../config/Makefile.version
${DESTDIR}${libdir}/afs/libbudb.a: libbudb.a
${INSTALL} $? $@
${TOP_LIBDIR}/libbudb.a: libbudb.a
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/budb.h: budb.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/budb.h: budb.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/budb_errs.h: budb_errs.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/budb_errs.h: budb_errs.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/budb_client.h: budb_client.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/budb_client.h: budb_client.h
${INSTALL} $? $@
${DESTDIR}${afssrvlibexecdir}/buserver: budb_server
${INSTALL} -f $? $@
dest: \
${DEST}/lib/afs/libbudb.a \
${DEST}/include/afs/budb.h \
${DEST}/include/afs/budb_errs.h \
${DEST}/include/afs/budb_client.h \
${DEST}/root.server/usr/afs/bin/buserver

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -16,51 +30,49 @@ include ../config/Makefile.${SYS_NAME}
CFLAGS=-g -w ${INCDIRS} ${XCFLAGS}
INCDIRS= -I${TOP_SRCDIR}/config -I${SRCDIR}/include/afs \
-I${SRCDIR}/include/rx -I${SRCDIR}/include
INCDIRS=-I${TOP_SRCDIR}/config -I${TOP_INCDIR}/afs \
-I${TOP_INCDIR}/rx -I${TOP_INCDIR}
INCLS=${SRCDIR}/include/afs/partition.h ${SRCDIR}/include/afs/volume.h \
${SRCDIR}/include/afs/vlserver.h ${SRCDIR}/include/rx/rx.h \
${SRCDIR}/include/rx/xdr.h ${SRCDIR}/include/afs/keys.h \
${SRCDIR}/include/afs/cellconfig.h ${SRCDIR}/include/ubik.h \
${SRCDIR}/include/afs/cmd.h ${SRCDIR}/include/afs/butc.h \
${SRCDIR}/include/afs/tcdata.h ${SRCDIR}/include/afs/bubasics.h \
${SRCDIR}/include/afs/butm.h
INCLS=${TOP_INCDIR}/afs/partition.h ${TOP_INCDIR}/afs/volume.h \
${TOP_INCDIR}/afs/vlserver.h ${TOP_INCDIR}/rx/rx.h \
${TOP_INCDIR}/rx/xdr.h ${TOP_INCDIR}/afs/keys.h \
${TOP_INCDIR}/afs/cellconfig.h ${TOP_INCDIR}/ubik.h \
${TOP_INCDIR}/afs/cmd.h ${TOP_INCDIR}/afs/butc.h \
${TOP_INCDIR}/afs/tcdata.h ${TOP_INCDIR}/afs/bubasics.h \
${TOP_INCDIR}/afs/butm.h
HACKS=${SRCDIR}/lib/afs/libdir.a
HACKS=${TOP_LIBDIR}/libdir.a
INCLIBS=-L${SRCDIR}/lib/afs -L${SRCDIR}/lib
LIBS=${SRCDIR}/lib/afs/libbudb.a \
$(SRCDIR)/lib/afs/libbxdb.a \
${SRCDIR}/lib/afs/libbubasics.a \
${SRCDIR}/lib/afs/libbutm.a \
${SRCDIR}/lib/afs/libvolser.a \
${SRCDIR}/lib/afs/libvldb.a \
${SRCDIR}/lib/afs/vlib.a \
${SRCDIR}/lib/afs/libacl.a \
${SRCDIR}/lib/afs/libprot.a \
${SRCDIR}/lib/afs/libkauth.a \
${SRCDIR}/lib/libubik.a \
${SRCDIR}/lib/afs/libauth.a \
${SRCDIR}/lib/librxkad.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/libdes.a \
${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/liblwp.a \
${SRCDIR}/lib/afs/libcmd.a \
${SRCDIR}/lib/afs/libcom_err.a \
${SRCDIR}/lib/afs/util.a \
${SRCDIR}/lib/afs/libusd.a \
${SRCDIR}/lib/afs/libprocmgmt.a
LIBS=${TOP_LIBDIR}/libbudb.a \
$(TOP_LIBDIR)/libbxdb.a \
${TOP_LIBDIR}/libbubasics.a \
${TOP_LIBDIR}/libbutm.a \
${TOP_LIBDIR}/libvolser.a \
${TOP_LIBDIR}/libvldb.a \
${TOP_LIBDIR}/vlib.a \
${TOP_LIBDIR}/libacl.a \
${TOP_LIBDIR}/libprot.a \
${TOP_LIBDIR}/libkauth.a \
${TOP_LIBDIR}/libubik.a \
${TOP_LIBDIR}/libauth.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/libdes.a \
${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libcom_err.a \
${TOP_LIBDIR}/util.a \
${TOP_LIBDIR}/libusd.a \
${TOP_LIBDIR}/libprocmgmt.a
TESTOBJS=test.o
SOBJS=dbentries.o tcprocs.o lwps.o tcmain.o list.o recoverDb.o tcudbprocs.o \
dump.o tcstatus.o
all: install
all: butc read_tape
butc_test: ${TESTOBJS} ${LIBS} ${INCLS} ${HACKS}
${CC} ${CFLAGS} ${TESTOBJS} ${LIBS} ${XLIBS} -o butc_test
@ -87,20 +99,30 @@ tcstatus.o: tcstatus.c ${INCLS}
read_tape: read_tape.c
${CC} ${CFLAGS} -o read_tape read_tape.c \
${SRCDIR}/lib/afs/libcmd.a ${SRCDIR}/lib/afs/util.a \
${SRCDIR}/lib/afs/libusd.a
${INSTALL} read_tape ${SRCDIR}/etc
${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/util.a \
${TOP_LIBDIR}/libusd.a
clean:
$(RM) -f butc *.o butc_test core tdump read_tape AFS_component_version_number.c
install: butc read_tape
install:
@case ${SYS_NAME} in \
alpha_dux*|sgi_*|sun4x_*|rs_aix4*|*linux*|hp_ux*) \
echo "Don't install butc for ${SYS_NAME} (will install from tbutc)" ;; \
*) \
echo ${INSTALL} butc ${DESTDIR}/etc/butc ; \
${INSTALL} butc ${DESTDIR}/etc/butc ;; \
echo ${INSTALL} butc ${DESTDIR}${sbindir}/butc ; \
${INSTALL} butc ${DESTDIR}${sbindir}/butc ;; \
esac
${INSTALL} read_tape ${DESTDIR}${sbindir}/read_tape
include ../config/Makefile.version
dest:
@case ${SYS_NAME} in \
alpha_dux*|sgi_*|sun4x_*|rs_aix4*|*linux*|hp_ux*) \
echo "Don't install butc for ${SYS_NAME} (will install from tbutc)" ;; \
*) \
echo ${INSTALL} butc ${DEST}/etc/butc ; \
${INSTALL} butc ${DEST}/etc/butc ;; \
esac
${INSTALL} read_tape ${DEST}/etc/read_tape

View File

@ -5,33 +5,47 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
SHELL = /bin/sh
CFLAGS = -g -w -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
CFLAGS=-g -w -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
LDFLAGS = -g ${XLDFLAGS}
INCLS= ${SRCDIR}/include/afs/com_err.h ${SRCDIR}/include/afs/butm.h
INCLS=${TOP_INCDIR}/afs/com_err.h ${TOP_INCDIR}/afs/butm.h
LIBS=${SRCDIR}/lib/afs/libbubasics.a \
${SRCDIR}/lib/liblwp.a \
${SRCDIR}/lib/afs/libusd.a \
${SRCDIR}/lib/afs/libcom_err.a \
${SRCDIR}/lib/afs/libbutm.a \
${SRCDIR}/lib/afs/libcom_err.a \
${SRCDIR}/lib/afs/util.a \
LIBS=${TOP_LIBDIR}/libbubasics.a \
${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libusd.a \
${TOP_LIBDIR}/libcom_err.a \
${TOP_LIBDIR}/libbutm.a \
${TOP_LIBDIR}/libcom_err.a \
${TOP_LIBDIR}/util.a \
${XLIBS}
include ../config/Makefile.${SYS_NAME}
all: install
all: ${TOP_LIBDIR}/libbutm.a
install: ${DESTDIR}/lib/afs/libbutm.a
install: ${DESTDIR}${libdir}/afs/libbutm.a
${DESTDIR}/lib/afs/libbutm.a: libbutm.a
${DEST}/lib/afs/libbutm.a: libbutm.a
${INSTALL} $? $@
libbutm.a: file_tm.o AFS_component_version_number.o
@ -53,3 +67,11 @@ clean:
$(RM) -f *.o *.a core test_ftm AFS_component_version_number.c
include ../config/Makefile.version
${DESTDIR}${libdir}/afs/libbutm.a: libbutm.a
${INSTALL} $? $@
${TOP_LIBDIR}/libbutm.a: libbutm.a
${INSTALL} $? $@
dest: ${DEST}/lib/afs/libbutm.a

View File

@ -5,8 +5,21 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,14 +27,16 @@ SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
COMPILE_ET = ${SRCDIR}/bin/compile_et
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
LIBOBJS=cmd_errors.o cmd.o
LIB64OBJS=cmd_errors64.o cmd64.o
CFLAGS= ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
CFLAGS=${OPTMZ} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
all: install
all: ${TOP_LIBDIR}/libcmd.a ${TOP_INCDIR}/afs/cmd.h
all64: all ${TOP_LIBDIR}/libcmd64.a
cmd.h cmd_errors.c: cmd_errors.et cmd.p.h
$(RM) -f cmd.h cmd_errors.c
@ -32,10 +47,10 @@ cmd_errors.o: cmd_errors.c
cmd.o: cmd.c cmd.h
cmd_errors64.o: cmd_errors.c
${CC} ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS64} -c -o cmd_errors64.o cmd_errors.c
${CC} ${OPTMZ} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS64} -c -o cmd_errors64.o cmd_errors.c
cmd64.o: cmd.c cmd.h
${CC} ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS64} -c -o cmd64.o cmd.c
${CC} ${OPTMZ} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS64} -c -o cmd64.o cmd.c
libcmd64.a: ${LIB64OBJS} AFS_component_version_number64.o
@ -49,22 +64,22 @@ libcmd.a: ${LIBOBJS} AFS_component_version_number.o
$(RANLIB) $@
AFS_component_version_number64.o: AFS_component_version_number.c
${CC} ${OPTMZ} -I${SRCDIR}/include ${XCFLAGS64} -c -o AFS_component_version_number64.o AFS_component_version_number.c
${CC} ${OPTMZ} -I${TOP_INCDIR} ${XCFLAGS64} -c -o AFS_component_version_number64.o AFS_component_version_number.c
#
# Install targets
#
install: ${DESTDIR}/lib/afs/libcmd.a ${DESTDIR}/include/afs/cmd.h
install: ${DESTDIR}${libdir}/afs/libcmd.a ${DESTDIR}${includedir}/afs/cmd.h
install64: install ${DESTDIR}/lib/afs/libcmd64.a
install64: install ${DESTDIR}${libdir}/afs/libcmd64.a
${DESTDIR}/include/afs/cmd.h: cmd.h
${DEST}/include/afs/cmd.h: cmd.h
${INSTALL} $? $@
${DESTDIR}/lib/afs/libcmd.a: libcmd.a
${DEST}/lib/afs/libcmd.a: libcmd.a
${INSTALL} $? $@
${DESTDIR}/lib/afs/libcmd64.a: libcmd64.a
${DEST}/lib/afs/libcmd64.a: libcmd64.a
${INSTALL} $? $@
#
@ -77,3 +92,24 @@ clean:
$(RM) -f *.a *.o ctest dtest cmd.h cmd_errors.c core AFS_component_version_number.c
include ../config/Makefile.version
${DESTDIR}${libdir}/afs/libcmd.a: libcmd.a
${INSTALL} $? $@
${TOP_LIBDIR}/libcmd.a: libcmd.a
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libcmd64.a: libcmd64.a
${INSTALL} $? $@
${TOP_LIBDIR}/libcmd64.a: libcmd64.a
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/cmd.h: cmd.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/cmd.h: cmd.h
${INSTALL} $? $@
dest: ${DEST}/lib/afs/libcmd.a ${DEST}/include/afs/cmd.h
dest64: dest ${DEST}/lib/afs/libcmd64.a

View File

@ -43,3 +43,5 @@ kinstall:
clean:
$(RM) -f *.a *.o ctest dtest itest core
install:
dest:

View File

@ -4,8 +4,22 @@
# Copyright 1987, 1989 MIT Student Information Processing Board
# For copyright info, see mit-sipb-cr.h.
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -15,9 +29,9 @@ include ../config/Makefile.${SYS_NAME}
UKERNELDIR=../libuafs/
CFLAGS= ${OPTMZ} -I${DESTDIR}/include -I${TOP_SRCDIR}/config ${XCFLAGS}
CFLAGS=${OPTMZ} -I${TOP_INCDIR} -I${TOP_SRCDIR}/config ${XCFLAGS}
all: install
all: ukinstall 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
et_lex.lex.c: et_lex.lex.l
$(RM) -f et_lex.lex.c
@ -26,9 +40,9 @@ et_lex.lex.c: et_lex.lex.l
compile_et: compile_et.o error_table.o
case $(SYS_NAME) in \
*_linux* ) \
${CC} ${CFLAGS} -o compile_et compile_et.o error_table.o -L${DESTDIR}/lib/afs -lafsutil;; \
${CC} ${CFLAGS} -o compile_et compile_et.o error_table.o -L${TOP_LIBDIR} -lafsutil;; \
* ) \
${CC} ${CFLAGS} -o compile_et compile_et.o error_table.o -L${DESTDIR}/lib/afs -lafsutil -ll;; \
${CC} ${CFLAGS} -o compile_et compile_et.o error_table.o -L${TOP_LIBDIR} -lafsutil -ll;; \
esac
libcom_err.a: error_msg.o et_name.o com_err.o AFS_component_version_number.o
@ -48,12 +62,7 @@ ukinstall: \
${UKERNELDIR}/afs/internal.h \
${UKERNELDIR}/afs/et_name.c
install: ukinstall \
${DESTDIR}/bin/compile_et \
${DESTDIR}/include/afs/com_err.h \
${DESTDIR}/include/afs/error_table.h \
${DESTDIR}/include/afs/mit-sipb-cr.h \
${DESTDIR}/lib/afs/libcom_err.a
install: ${DESTDIR}${bindir}/compile_et ${DESTDIR}${includedir}/afs/com_err.h ${DESTDIR}${includedir}/afs/error_table.h ${DESTDIR}${includedir}/afs/mit-sipb-cr.h ${DESTDIR}${libdir}/afs/libcom_err.a
${UKERNELDIR}/afs:
mkdir -p $@
@ -79,19 +88,19 @@ ${UKERNELDIR}/afs/internal.h: internal.h
${UKERNELDIR}/afs/et_name.c: et_name.c
${INSTALL} $? $@
${DESTDIR}/bin/compile_et: compile_et
${DEST}/bin/compile_et: compile_et
${INSTALL} $? $@
${DESTDIR}/include/afs/com_err.h: com_err.h
${DEST}/include/afs/com_err.h: com_err.h
${INSTALL} $? $@
${DESTDIR}/include/afs/error_table.h: error_table.h
${DEST}/include/afs/error_table.h: error_table.h
${INSTALL} $? $@
${DESTDIR}/include/afs/mit-sipb-cr.h: mit-sipb-cr.h
${DEST}/include/afs/mit-sipb-cr.h: mit-sipb-cr.h
${INSTALL} $? $@
${DESTDIR}/lib/afs/libcom_err.a: libcom_err.a
${DEST}/lib/afs/libcom_err.a: libcom_err.a
${INSTALL} $? $@
clean:
@ -108,3 +117,32 @@ compile_et.o: AFS_component_version_number.c
error_table.o: et_lex.lex.c
include ../config/Makefile.version
${DESTDIR}${bindir}/compile_et: compile_et
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/com_err.h: com_err.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/com_err.h: com_err.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/error_table.h: error_table.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/error_table.h: error_table.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/mit-sipb-cr.h: mit-sipb-cr.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/mit-sipb-cr.h: mit-sipb-cr.h
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libcom_err.a: libcom_err.a
${INSTALL} $? $@
${TOP_LIBDIR}/libcom_err.a: libcom_err.a
${INSTALL} $? $@
dest: ${DEST}/bin/compile_et ${DEST}/include/afs/com_err.h ${DEST}/include/afs/error_table.h ${DEST}/include/afs/mit-sipb-cr.h ${DEST}/lib/afs/libcom_err.a

View File

@ -1,18 +1,32 @@
TOP_SRCDIR=@DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
TOP_SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
OPTIMIZE=-O
INCDIRS= -I${DESTDIR}/include -I..
LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L..
INCDIRS=-I${TOP_INCDIR} -I..
LDIRS=-L${TOP_LIBDIR} -L${DESTDIR}/lib/afs -L..
CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} -lcom_err ${XCFLAGS}
all: install
all: test
install: test
install:
#
# Build targets
@ -40,3 +54,5 @@ clean:
test1.h test1.c test2.h test2.c test \
eddep makedep core
dest:

View File

@ -21,8 +21,10 @@ OPTMZ=-O2
DBG=-g3
CSTATIC=-non_shared
RANLIB=/bin/true
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
CP=cp
#this is for the vol package
FS_CONV_OSF40D= $(DESTDIR)root.server/usr/afs/bin/fs_conv_dux40D
FS_CONV_OSF40D = fs_conv_dux40D
install_FS_CONV_OSF40D = $(DESTDIR)${afssrvsbindir}/fs_conv_dux40D
dest_FS_CONV_OSF40D = $(DEST)/root.server/usr/afs/bin/fs_conv_dux40D

View File

@ -22,7 +22,9 @@ DBG=-g3
CP=cp
CSTATIC=-non_shared
RANLIB=/bin/true
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#this is for the vol package
FS_CONV_OSF40D= $(DESTDIR)root.server/usr/afs/bin/fs_conv_dux40D
FS_CONV_OSF40D = fs_conv_dux40D
install_FS_CONV_OSF40D = $(DESTDIR)${afssrvsbindir}/fs_conv_dux40D
dest_FS_CONV_OSF40D = $(DEST)/root.server/usr/afs/bin/fs_conv_dux40D

View File

@ -32,7 +32,7 @@ XLIBS=@LIB_AFSDB@
AR=ar
AS=as
CP=cp
INSTALL=${SRCDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
LD=ld
MT_CC=cc
MV=mv

View File

@ -21,7 +21,7 @@ LWP_OPTMZ=-O
OPTMZ=-O
DBG=-g
RANLIB=ranlib
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
RM=/bin/rm
CP=/bin/cp
AR=/bin/ar

View File

@ -21,7 +21,7 @@ LWP_OPTMZ=-O
OPTMZ=-O
DBG=-g
RANLIB=/usr/bin/ranlib
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
RM=/bin/rm
CP=/bin/cp
AR=/bin/ar

View File

@ -34,7 +34,7 @@ XLIBS=@LIB_AFSDB@ -lcompat
AR=ar
AS=as
CP=cp
INSTALL=${SRCDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
LD=ld
MT_CC=cc
MV=mv

View File

@ -43,7 +43,7 @@ MT_CC=cc
MV=mv
RANLIB=ranlib
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# Other OS specific requirements
#

View File

@ -35,7 +35,7 @@ MT_CC=cc
MV=mv
RANLIB=ranlib
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# Other OS specific requirements
#

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -16,11 +30,18 @@ SHELL=/bin/sh
include Makefile.${SYS_NAME}
CFLAGS=-g -I${DESTDIR}/include ${XCFLAGS}
CFLAGS=-g -I${TOP_INCDIR} ${XCFLAGS}
INST=$(RM) -f $@; $(CP) $? $@
all: install
all: config mkvers ukinstall kinstall \
${TOP_INCDIR}/afs/param.h \
${TOP_INCDIR}/afs/stds.h \
${TOP_INCDIR}/afs/afs_sysnames.h \
${TOP_INCDIR}/afs/afs_args.h \
${TOP_INCDIR}/afs/icl.h \
${TOP_INCDIR}/afs/venus.h \
${TOP_INCDIR}/afs/debug.h
Makefile.version: Makefile.version-CML Makefile.version-NOCML
$(RM) -f Makefile.version
@ -53,12 +74,6 @@ mkvers: mkvers.c
mc.o: mc.c
config.o: config.c AFS_component_version_number.c
${DESTDIR}/bin:
mkdir -p $@
${DESTDIR}/bin/mkvers: mkvers
$(INST)
#
# Include installation targets
#
@ -78,33 +93,28 @@ UKDIRS = ${UKERNELDIR}/afs \
$(UKDIRS):
mkdir -p $@
HDIRS = ${DESTDIR}/include/afs
$(HDIRS):
mkdir -p $@
${KERNELDIR}/afs/param.h ${DESTDIR}/include/afs/param.h: param.${SYS_NAME}.h
${KERNELDIR}/afs/param.h ${DEST}/include/afs/param.h ${DESTDIR}${includedir}/afs/param.h ${TOP_INCDIR}/afs/param.h: param.${SYS_NAME}.h
-$(INST)
${UKERNELDIR}/afs/afs_sysnames.h ${KERNELDIR}/afs/afs_sysnames.h ${DESTDIR}/include/afs/afs_sysnames.h: afs_sysnames.h
${UKERNELDIR}/afs/afs_sysnames.h ${KERNELDIR}/afs/afs_sysnames.h ${DEST}/include/afs/afs_sysnames.h ${DESTDIR}${includedir}/afs/afs_sysnames.h ${TOP_INCDIR}/afs/afs_sysnames.h: afs_sysnames.h
$(INST)
${UKERNELDIR}/afs/stds.h ${KERNELDIR}/afs/stds.h ${DESTDIR}/include/afs/stds.h: stds.h
${UKERNELDIR}/afs/stds.h ${KERNELDIR}/afs/stds.h ${DEST}/include/afs/stds.h ${DESTDIR}${includedir}/afs/stds.h ${TOP_INCDIR}/afs/stds.h: stds.h
$(INST)
${UKERNELDIR}/config/Makefile.${SYS_NAME} ${KERNELDIR}/config/Makefile.${SYS_NAME}: Makefile.${SYS_NAME}
$(INST)
${UKERNELDIR}/afs/icl.h ${KERNELDIR}/afs/icl.h ${DESTDIR}/include/afs/icl.h: icl.h
${UKERNELDIR}/afs/icl.h ${KERNELDIR}/afs/icl.h ${DEST}/include/afs/icl.h ${DESTDIR}${includedir}/afs/icl.h ${TOP_INCDIR}/afs/icl.h: icl.h
$(INST)
${UKERNELDIR}/afs/afs_args.h ${KERNELDIR}/afs/afs_args.h ${DESTDIR}/include/afs/afs_args.h: afs_args.h
${UKERNELDIR}/afs/afs_args.h ${KERNELDIR}/afs/afs_args.h ${DEST}/include/afs/afs_args.h ${DESTDIR}${includedir}/afs/afs_args.h ${TOP_INCDIR}/afs/afs_args.h: afs_args.h
$(INST)
${UKERNELDIR}/afs/venus.h ${DESTDIR}/include/afs/venus.h: venus.h
${UKERNELDIR}/afs/venus.h ${DEST}/include/afs/venus.h ${DESTDIR}${includedir}/afs/venus.h ${TOP_INCDIR}/afs/venus.h: venus.h
$(INST)
${DESTDIR}/include/afs/debug.h: debug.h
${DEST}/include/afs/debug.h ${DESTDIR}${includedir}/afs/debug.h ${TOP_INCDIR}/afs/debug.h: debug.h
$(INST)
${UKERNELDIR}/afs/param.h: param.${SYS_NAME}_usr.h
@ -115,22 +125,13 @@ ${UKERNELDIR}/afs/param.h: param.${SYS_NAME}_usr.h
# kernel include environment. param.h is, well, param.h. The afs_sysnames.h
# file is needed by param.h to create unique identifiers for each SYS_TYPE.
install: config \
$(DESTDIR)/bin \
$(DESTDIR)/bin/mkvers \
hinstall \
ukinstall \
kinstall
hinstall: \
$(HDIRS) \
${DESTDIR}/include/afs/param.h \
${DESTDIR}/include/afs/stds.h \
${DESTDIR}/include/afs/afs_sysnames.h \
${DESTDIR}/include/afs/afs_args.h \
${DESTDIR}/include/afs/icl.h \
${DESTDIR}/include/afs/venus.h \
${DESTDIR}/include/afs/debug.h
install: ${DESTDIR}${includedir}/afs/param.h \
${DESTDIR}${includedir}/afs/stds.h \
${DESTDIR}${includedir}/afs/afs_sysnames.h \
${DESTDIR}${includedir}/afs/afs_args.h \
${DESTDIR}${includedir}/afs/icl.h \
${DESTDIR}${includedir}/afs/venus.h \
${DESTDIR}${includedir}/afs/debug.h
kinstall: \
$(KDIRS) \
@ -154,4 +155,13 @@ ukinstall: \
${UKERNELDIR}/afs/AFS_component_version_number.c
clean:
$(RM) -f *.o config core xprt AFS_component_version_number.c
$(RM) -f *.o config mkvers core xprt AFS_component_version_number.c
dest: ${DEST}/include/afs/param.h \
${DEST}/include/afs/stds.h \
${DEST}/include/afs/afs_sysnames.h \
${DEST}/include/afs/afs_args.h \
${DEST}/include/afs/icl.h \
${DEST}/include/afs/venus.h \
${DEST}/include/afs/debug.h

View File

@ -33,7 +33,7 @@ AR=ar
AS=as
CC=cc
CP=cp
INSTALL=${DESTDIR}/bin/pinstall
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
LEX=lex -l
LD= ld
LORDER = lorder

View File

@ -33,7 +33,7 @@ AR=ar
AS=as
CC=cc
CP=cp
INSTALL=${DESTDIR}/bin/pinstall
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
LEX=lex -l
LD= ld
LORDER = lorder

View File

@ -36,7 +36,7 @@ MV=mv
RANLIB=ranlib
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# Other OS specific requirements
#

View File

@ -34,7 +34,7 @@ LEX=lex
MV=mv
RANLIB=ranlib
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# This is the XBSA make flag and pathname to XBSA header files (xbsa.h)
XBSA_FLAGS=-Dxbsa

View File

@ -40,7 +40,7 @@ MT_CC=gcc
MV=mv
RANLIB=ranlib
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# Other OS specific requirements
#

View File

@ -40,7 +40,7 @@ MT_CC=gcc
MV=mv
RANLIB=ranlib
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# Other OS specific requirements
#

View File

@ -38,7 +38,9 @@ LEX=lex
MV=mv
RANLIB=/bin/true
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# This is for the vol package
XFS_SIZE_CHECK = $(DESTDIR)root.server/usr/afs/bin/xfs_size_check
XFS_SIZE_CHECK = xfs_size_check
install_XFS_SIZE_CHECK = $(DESTDIR)${afssrvsbindir}/xfs_size_check
dest_XFS_SIZE_CHECK = $(DEST)/root.server/usr/afs/bin/xfs_size_check

View File

@ -38,4 +38,4 @@ LEX=lex
MV=mv
RANLIB=/bin/true
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall

View File

@ -39,7 +39,9 @@ LEX=lex
MV=mv
RANLIB=/bin/true
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# This is for the vol package
XFS_SIZE_CHECK = $(DESTDIR)root.server/usr/afs/bin/xfs_size_check
XFS_SIZE_CHECK = xfs_size_check
install_XFS_SIZE_CHECK = $(DESTDIR)${afssrvsbindir}/xfs_size_check
dest_XFS_SIZE_CHECK = $(DEST)/root.server/usr/afs/bin/xfs_size_check

View File

@ -39,7 +39,9 @@ LEX=lex
MV=mv
RANLIB=/bin/true
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# This is for the vol package
XFS_SIZE_CHECK = $(DESTDIR)root.server/usr/afs/bin/xfs_size_check
XFS_SIZE_CHECK = xfs_size_check
install_XFS_SIZE_CHECK = $(DESTDIR)${afssrvsbindir}/xfs_size_check
dest_XFS_SIZE_CHECK = $(DEST)/root.server/usr/afs/bin/xfs_size_check

View File

@ -39,7 +39,7 @@ MT_CC=cc
MV=mv
RANLIB=ranlib
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# Other OS specific requirements
#

View File

@ -39,7 +39,7 @@ MT_CC=cc
MV=mv
RANLIB=ranlib
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# Other OS specific requirements
#

View File

@ -39,7 +39,7 @@ MT_CC=cc
MV=mv
RANLIB=ranlib
RM=rm
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# Other OS specific requirements
#

View File

@ -39,7 +39,9 @@ MV=mv
RANLIB=/bin/true
RM=rm
STRIP= /usr/ccs/bin/strip
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# this is for the vol package
FS_CONV_SOL26= $(DESTDIR)root.server/usr/afs/bin/fs_conv_sol26
FS_CONV_SOL26 = fs_conv_sol26
install_FS_CONV_SOL26 = $(DESTDIR)${afssrvsbindir}/fs_conv_sol26
dest_FS_CONV_SOL26 = $(DEST)/root.server/usr/afs/bin/fs_conv_sol26

View File

@ -43,10 +43,12 @@ MV=mv
RANLIB=/bin/true
RM=rm
STRIP= /usr/ccs/bin/strip
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# this is for the vol package
FS_CONV_SOL26= $(DESTDIR)root.server/usr/afs/bin/fs_conv_sol26
FS_CONV_SOL26 = fs_conv_sol26
install_FS_CONV_SOL26 = $(DESTDIR)${afssrvsbindir}/fs_conv_sol26
dest_FS_CONV_SOL26 = $(DEST)/root.server/usr/afs/bin/fs_conv_sol26
#
# This is the XBSA make flag and pathname to XBSA header files (xbsa.h)
XBSA_FLAGS=-Dxbsa

View File

@ -47,10 +47,12 @@ MV=mv
RANLIB=/bin/true
RM=rm
STRIP= /usr/ccs/bin/strip
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# this is for the vol package
FS_CONV_SOL26= $(DESTDIR)root.server/usr/afs/bin/fs_conv_sol26
FS_CONV_SOL26 = fs_conv_sol26
install_FS_CONV_SOL26 = $(DESTDIR)${afssrvsbindir}/fs_conv_sol26
dest_FS_CONV_SOL26 = $(DEST)/root.server/usr/afs/bin/fs_conv_sol26
#
# This is the XBSA make flag and pathname to XBSA header files (xbsa.h)
XBSA_FLAGS=-Dxbsa

View File

@ -40,10 +40,12 @@ MV=mv
RANLIB=/bin/true
RM=rm
STRIP= /usr/ccs/bin/strip
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall
#
# this is for the vol package
FS_CONV_SOL26= $(DESTDIR)root.server/usr/afs/bin/fs_conv_sol26
FS_CONV_SOL26 = fs_conv_sol26
install_FS_CONV_SOL26 = $(DESTDIR)${afssrvsbindir}/fs_conv_sol26
dest_FS_CONV_SOL26 = $(DEST)/root.server/usr/afs/bin/fs_conv_sol26
#
# This is the XBSA make flag and pathname to XBSA header files (xbsa.h)
XBSA_FLAGS=-Dxbsa

View File

@ -20,4 +20,4 @@ AR = /usr/ccs/bin/ar
LD = /usr/ccs/bin/ld
LORDER = /usr/ccs/bin/lorder
STRIP= /usr/ccs/bin/strip
INSTALL=${DESTDIR}/bin/install
INSTALL=${TOP_SRCDIR}/pinstall/pinstall

View File

@ -12,14 +12,14 @@ $(VERSFILE).o: $(VERSFILE).c
# mkvers checks timestamps
$(VERSFILE).c:
$(DESTDIR)bin/mkvers -o $(VERSFILE).c
$(TOP_SRCDIR)/config/mkvers -o $(VERSFILE).c
# only done for RX in NT
# -c $(CML_PREFIX)
$(VERSFILE).h:
$(DESTDIR)bin/mkvers -o $(VERSFILE).h -v
$(TOP_SRCDIR)/config/mkvers -o $(VERSFILE).h -v
$(VERSFILE).txt:
$(DESTDIR)bin/mkvers -o $(VERSFILE).txt -t
$(TOP_SRCDIR)/config/mkvers -o $(VERSFILE).txt -t
noversion: install

View File

@ -5,8 +5,21 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,33 +27,33 @@ SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
COMPILE_ET = ${SRCDIR}/bin/compile_et
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
OPTMZ= -g
CFLAGS = ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
CFLAGS=${OPTMZ} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
LDFLAGS = ${OPTMZ} ${XLDFLAGS}
INCLS= ${SRCDIR}/include/ubik.h \
${SRCDIR}/include/lwp.h \
${SRCDIR}/include/lock.h \
${SRCDIR}/include/rx/rx.h \
${SRCDIR}/include/rx/xdr.h \
${SRCDIR}/include/afs/com_err.h
INCLS=${TOP_INCDIR}/ubik.h \
${TOP_INCDIR}/lwp.h \
${TOP_INCDIR}/lock.h \
${TOP_INCDIR}/rx/rx.h \
${TOP_INCDIR}/rx/xdr.h \
${TOP_INCDIR}/afs/com_err.h
VERS = AFS_component_version_number.o
OBJS = adkint.cs.o adkint.xdr.o
LIBS = ${SRCDIR}/lib/afs/libkauth.a \
${SRCDIR}/lib/afs/libauth.a \
${SRCDIR}/lib/afs/libcmd.a \
${SRCDIR}/lib/afs/libcom_err.a \
${SRCDIR}/lib/libubik.a \
${SRCDIR}/lib/librxkad.a \
${SRCDIR}/lib/libdes.a \
${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/liblwp.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/afs/util.a
LIBS=${TOP_LIBDIR}/libkauth.a \
${TOP_LIBDIR}/libauth.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libcom_err.a \
${TOP_LIBDIR}/libubik.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libdes.a \
${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/util.a
CELL= `pwd|awk -F/ '{print $$3}'`
USNS= cellname
@ -52,7 +65,7 @@ ukinstall webinstall:
noversion: install
all: dlog dpass
all: dlog dpass
clean:
$(RM) -f adkint.h adkint.cs.c adkint.ss.c adkint.xdr.c *.o dlog dpass AFS_component_version_number.c
@ -60,7 +73,7 @@ clean:
adkint.cs.o: adkint.cs.c
adkint.xdr.o: adkint.xdr.c adkint.h
adkint.cs.c adkint.xdr.c adkint.h: adkint.xg
${SRCDIR}/bin/rxgen adkint.xg
${RXGEN} adkint.xg
dlog: dlog.o $(VERS) $(OBJS) $(LIBS)
$(CC) ${LDFLAGS} -o dlog dlog.o $(VERS) $(OBJS) ${LIBS} \
@ -76,13 +89,19 @@ dlog_test: dlog.c $(OBJS) $(LIBS)
$(CC) $(LDFLAGS) -DDLOG_TEST -o dlog_test dlog.c $(OBJS) \
$(LIBS) ${XLIBS}
system: install
${DESTDIR}/bin/dlog: dlog
${DEST}/bin/dlog: dlog
${INSTALL} $? $@
${DESTDIR}/bin/dpass: dpass
${DEST}/bin/dpass: dpass
${INSTALL} $? $@
install: all ${DESTDIR}/bin/dlog ${DESTDIR}/bin/dpass
install: ${DESTDIR}${bindir}/dlog ${DESTDIR}${bindir}/dpass
${DESTDIR}${bindir}/dlog: dlog
${INSTALL} $? $@
${DESTDIR}${bindir}/dpass: dpass
${INSTALL} $? $@
dest: ${DEST}/bin/dlog ${DEST}/bin/dpass

View File

@ -22,8 +22,22 @@
# target machine for run-time code (may cross-compile),
# override as needed
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -51,13 +65,13 @@ OBJS = \
crypt.o \
util.o
all: install
all: ukinstall ${TOP_LIBDIR}/libdes.a ${TOP_INCDIR}/des.h ${TOP_INCDIR}/des_conf.h ${TOP_INCDIR}/mit-cpyright.h ${TOP_INCDIR}/des_odd.h
#
# Build rules
#
.c.o:
${CC} -c -I. -I${SRCDIR}/include -I${TOP_SRCDIR}/config ${XCFLAGS} $<
${CC} -c -I. -I${TOP_INCDIR} -I${TOP_SRCDIR}/config ${XCFLAGS} $<
libdes.a: ${OBJS} AFS_component_version_number.o
$(RM) -f libdes.a
@ -154,26 +168,21 @@ make_e.o: make_e.c ${INCLS}
#
# Install targets
#
install: ukinstall\
${DESTDIR}/lib/libdes.a \
${DESTDIR}/include/des.h \
${DESTDIR}/include/des_conf.h \
${DESTDIR}/include/mit-cpyright.h \
${DESTDIR}/include/des_odd.h
install: ${DESTDIR}${libdir}/libdes.a ${DESTDIR}${includedir}/des.h ${DESTDIR}${includedir}/des_conf.h ${DESTDIR}${includedir}/mit-cpyright.h ${DESTDIR}${includedir}/des_odd.h
${DESTDIR}/lib/libdes.a: libdes.a
${DEST}/lib/libdes.a: libdes.a
${INSTALL} $? $@
${DESTDIR}/include/des.h: des.h
${DEST}/include/des.h: des.h
${INSTALL} $? $@
${DESTDIR}/include/des_conf.h: des_conf.h
${DEST}/include/des_conf.h: des_conf.h
${INSTALL} $? $@
${DESTDIR}/include/mit-cpyright.h: mit-cpyright.h
${DEST}/include/mit-cpyright.h: mit-cpyright.h
${INSTALL} $? $@
${DESTDIR}/include/des_odd.h: odd.h
${DEST}/include/des_odd.h: odd.h
${INSTALL} $? $@
ukinstall: \
@ -208,3 +217,35 @@ clean:
include ../config/Makefile.version
${DESTDIR}${libdir}/libdes.a: libdes.a
${INSTALL} $? $@
${TOP_LIBDIR}/libdes.a: libdes.a
${INSTALL} $? $@
${DESTDIR}${includedir}/des.h: des.h
${INSTALL} $? $@
${TOP_INCDIR}/des.h: des.h
${INSTALL} $? $@
${DESTDIR}${includedir}/des_conf.h: des_conf.h
${INSTALL} $? $@
${TOP_INCDIR}/des_conf.h: des_conf.h
${INSTALL} $? $@
${DESTDIR}${includedir}/mit-cpyright.h: mit-cpyright.h
${INSTALL} $? $@
${TOP_INCDIR}/mit-cpyright.h: mit-cpyright.h
${INSTALL} $? $@
${DESTDIR}${includedir}/des_odd.h: odd.h
${INSTALL} $? $@
${TOP_INCDIR}/des_odd.h: odd.h
${INSTALL} $? $@
dest: ${DEST}/lib/libdes.a ${DEST}/include/des.h ${DEST}/include/des_conf.h ${DEST}/include/mit-cpyright.h ${DEST}/include/des_odd.h

View File

@ -18,7 +18,7 @@ INCDIRS= -I${TOP_SRCDIR}/config -I${DESTDIR}/include -I..
LIBS=-L.. -ldes
CFLAGS = ${INCDIRS} ${XCFLAGS}
all system test: $(PROGS)
all test: $(PROGS)
clean:
$(RM) -f *.o *.a testit verify key_test core

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -17,17 +31,17 @@ include ../config/Makefile.${SYS_NAME}
KERNELDIR = ../libafs/
UKERNELDIR = ../libuafs/
INCDIRS= -I${TOP_SRCDIR}/config -I${DESTDIR}/include ${XINCLS}
INCDIRS=-I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XINCLS}
CFLAGS = ${OPTMZ} ${INCDIRS} ${XCFLAGS}
OBJS=buffer.o dir.o salvage.o
include ../config/Makefile.version
system noversion: install
noversion: install
cmdall: all test
all: libdir.a
all: kinstall ukinstall ${TOP_LIBDIR}/libdir.a ${TOP_INCDIR}/afs/dir.h
libdir.a: ${OBJS} AFS_component_version_number.o
$(RM) -f libdir.a
@ -45,9 +59,7 @@ ukinstall webinstall: ${UKERNELDIR}/afs
${UKERNELDIR}/afs:
mkdir -p $@
install: all kinstall ukinstall
${INSTALL} libdir.a ${DESTDIR}/lib/afs
${INSTALL} dir.h ${DESTDIR}/include/afs
install: ${DESTDIR}${libdir}/afs/libdir.a ${DESTDIR}${includedir}/afs/dir.h
test:
(cd test; $(MAKE) )
@ -60,3 +72,27 @@ salvage.o: salvage.c dir.h
clean:
$(RM) -f *.o *.a core AFS_component_version_number.c
${DEST}/lib/afs/libdir.a: libdir.a
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libdir.a: libdir.a
${INSTALL} $? $@
${TOP_LIBDIR}/libdir.a: libdir.a
${INSTALL} $? $@
${DEST}/include/afs/dir.h: dir.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/dir.h: dir.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/dir.h: dir.h
${INSTALL} $? $@
dest: ${DEST}/lib/afs/libdir.a ${DEST}/include/afs/dir.h

View File

@ -23,6 +23,8 @@ CFLAGS = ${OPTMZ} ${INCDIRS} ${XCFLAGS}
OBJS=test-salvage.o physio.o dtest.o
all:
install: dtest
clean:

View File

@ -9,8 +9,22 @@
#
# Makefile for EXPORT kernel extension, and friends
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -20,7 +34,7 @@ include ../config/Makefile.${SYS_NAME}
KERNELDIR = ../libafs/
UKERNELDIR = ../libuafs/
DEFS =
INCS = -I${TOP_SRCDIR}/config -I${SRCDIR}/include
INCS = -I${TOP_SRCDIR}/config -I${TOP_INCDIR}
CFLAGS = ${OPTMZ} ${DEFS} ${INCS}
EXPORTS = -bexport:export.exp
IMPORTS = /lib/kernex.exp /lib/syscalls.exp extras.exp
@ -28,23 +42,15 @@ UKERNELDIR = ../libuafs/
include ../config/Makefile.version
all: export.ext export.ext.nonfs cfgexport cfgafs
all: kinstall ukinstall ${TOP_LIBDIR}/export.exp ${TOP_LIBDIR}/extras.exp cfgexport cfgafs
noversion system: install
install: all kinstall ukinstall
${INSTALL} export.ext ${DESTDIR}/root.client/usr/vice/etc/dkload
${INSTALL} export.ext.nonfs ${DESTDIR}/root.client/usr/vice/etc/dkload
${INSTALL} export.exp ${DESTDIR}/lib/afs/export.exp
${INSTALL} extras.exp ${DESTDIR}/lib/afs/extras.exp
${INSTALL} cfgexport ${DESTDIR}/root.client/usr/vice/etc/dkload/cfgexport
${INSTALL} cfgafs ${DESTDIR}/root.client/usr/vice/etc/dkload/cfgafs
install: ${DESTDIR}${libdir}/afs/export.exp ${DESTDIR}${libdir}/afs/extras.exp
kinstall:
${INSTALL} export.h ${DESTDIR}/include
${INSTALL} export.h ../libafs
${INSTALL} export.exp ${DESTDIR}/lib
${INSTALL} export.exp ../libafs
${INSTALL} export.h ${KERNELDIR}
${INSTALL} export.exp ${KERNELDIR}
ukinstall webinstall:
${INSTALL} export.h ${UKERNELDIR}
@ -71,3 +77,38 @@ cfgafs.o: cfgafs.c AFS_component_version_number.c
clean:
$(RM) -f *.o *.Zlst *.map *.out cfgexport cfgafs *.ext AFS_component_version_number.c
${DEST}/root.client/usr/vice/etc/dkload/export.ext: export.ext
${INSTALL} $? $@
${DEST}/root.client/usr/vice/etc/dkload/export.ext.nonfs: export.ext.nonfs
${INSTALL} $? $@
${DEST}/lib/afs/export.exp: export.exp
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/export.exp: export.exp
${INSTALL} $? $@
${TOP_LIBDIR}/export.exp: export.exp
${INSTALL} $? $@
${DEST}/lib/afs/extras.exp: extras.exp
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/extras.exp: extras.exp
${INSTALL} $? $@
${TOP_LIBDIR}/extras.exp: extras.exp
${INSTALL} $? $@
${DEST}/root.client/usr/vice/etc/dkload/cfgexport: cfgexport
${INSTALL} $? $@
${DEST}/root.client/usr/vice/etc/dkload/cfgafs: cfgafs
${INSTALL} $? $@
dest: ${DEST}/root.client/usr/vice/etc/dkload/export.ext ${DEST}/root.client/usr/vice/etc/dkload/export.ext.nonfs ${DEST}/lib/afs/export.exp ${DEST}/lib/afs/extras.exp ${DEST}/root.client/usr/vice/etc/dkload/cfgexport ${DEST}/root.client/usr/vice/etc/dkload/cfgafs

View File

@ -5,49 +5,63 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
CFLAGS = -g -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
CFLAGS=-g -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
LDFLAGS = -g ${XLDFLAGS}
INCLS=${SRCDIR}/include/ubik.h \
${SRCDIR}/include/lwp.h \
${SRCDIR}/include/lock.h \
${SRCDIR}/include/rx/rx.h \
${SRCDIR}/include/rx/xdr.h \
${SRCDIR}/include/rx/rxkad.h \
${SRCDIR}/include/afs/com_err.h \
${SRCDIR}/include/afs/auth.h \
${SRCDIR}/include/afs/cellconfig.h \
${SRCDIR}/include/afs/cmd.h \
${SRCDIR}/include/afs/pterror.h \
${SRCDIR}/include/afs/kautils.h \
${SRCDIR}/include/afs/bnode.h \
${SRCDIR}/include/afs/vlserver.h
INCLS=${TOP_INCDIR}/ubik.h \
${TOP_INCDIR}/lwp.h \
${TOP_INCDIR}/lock.h \
${TOP_INCDIR}/rx/rx.h \
${TOP_INCDIR}/rx/xdr.h \
${TOP_INCDIR}/rx/rxkad.h \
${TOP_INCDIR}/afs/com_err.h \
${TOP_INCDIR}/afs/auth.h \
${TOP_INCDIR}/afs/cellconfig.h \
${TOP_INCDIR}/afs/cmd.h \
${TOP_INCDIR}/afs/pterror.h \
${TOP_INCDIR}/afs/kautils.h \
${TOP_INCDIR}/afs/bnode.h \
${TOP_INCDIR}/afs/vlserver.h
LIBS=${SRCDIR}/lib/libubik.a \
${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/liblwp.a \
${SRCDIR}/lib/afs/libauth.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/librxkad.a \
${SRCDIR}/lib/afs/libcmd.a \
${SRCDIR}/lib/afs/libvldb.a \
${SRCDIR}/lib/afs/libbos.a \
${SRCDIR}/lib/afs/libcom_err.a \
${SRCDIR}/lib/afs/libvolser.a \
${SRCDIR}/lib/afs/util.a \
${SRCDIR}/lib/afs/libkauth.a \
${SRCDIR}/lib/afs/libprot.a \
${SRCDIR}/lib/libdes.a \
LIBS=${TOP_LIBDIR}/libubik.a \
${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libauth.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libvldb.a \
${TOP_LIBDIR}/libbos.a \
${TOP_LIBDIR}/libcom_err.a \
${TOP_LIBDIR}/libvolser.a \
${TOP_LIBDIR}/util.a \
${TOP_LIBDIR}/libkauth.a \
${TOP_LIBDIR}/libprot.a \
${TOP_LIBDIR}/libdes.a \
${XLIBS}
all: install
all: translate_et
translate_et: translate_et.o ${INCLS}
${CC} ${LDFLAGS} -o translate_et translate_et.o ${LIBS}
@ -71,9 +85,9 @@ test: translate_et
#
# Install targets
#
install: ${DESTDIR}/bin/translate_et
install: ${DESTDIR}${bindir}/translate_et
${DESTDIR}/bin/translate_et: translate_et
${DEST}/bin/translate_et: translate_et
${INSTALL} $? $@
#
@ -85,3 +99,8 @@ clean:
include ../config/Makefile.version
${DESTDIR}${bindir}/translate_et: translate_et
${INSTALL} $? $@
dest: ${DEST}/bin/translate_et

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -17,18 +31,18 @@ KERNELDIR = ../libafs/
UKERNELDIR = ../libuafs/
OBJS=afsaux.o afscbint.cs.o afscbint.ss.o afscbint.xdr.o afsint.cs.o afsint.ss.o afsint.xdr.o
CFLAGS=${DBUG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
CFLAGS=${DBUG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
KDSRCS=Kcallback.ss.c Kcallback.h Kvice.cs.c Kvice.h Kvice.xdr.c afscbint.h \
afsint.h
KSRCS=${KDSRCS} afsaux.c
UKSRCS=${KSRCS}
UTILS=$(SRCDIR)/bin/rxgen
UTILS=${RXGEN}
include ../config/Makefile.version
noversion: install
all: libafsint.a $(KSRCS)
all: kinstall ukinstall ${TOP_LIBDIR}/libafsint.a ${TOP_INCDIR}/afs/afsint.h ${TOP_INCDIR}/afs/afscbint.h
libafsint.a: ${OBJS} AFS_component_version_number.o
-$(RM) -f $@
@ -38,58 +52,58 @@ libafsint.a: ${OBJS} AFS_component_version_number.o
afsaux.o: afsaux.c afsint.h
Kcallback.cs.c: common.xg afscbint.xg Kvice.h Kcallback.h $(UTILS)
${SRCDIR}/bin/rxgen -x -k -C -o Kcallback.cs.c afscbint.xg
${RXGEN} -x -k -C -o Kcallback.cs.c afscbint.xg
Kcallback.ss.c: common.xg afscbint.xg Kvice.h Kcallback.h $(UTILS)
${SRCDIR}/bin/rxgen -x -k -S -o Kcallback.ss.c afscbint.xg
${RXGEN} -x -k -S -o Kcallback.ss.c afscbint.xg
Kcallback.xdr.c: common.xg afscbint.xg Kvice.h Kcallback.h $(UTILS)
${SRCDIR}/bin/rxgen -x -k -y -c -o Kcallback.xdr.c afscbint.xg
${RXGEN} -x -k -y -c -o Kcallback.xdr.c afscbint.xg
Kvice.cs.c: common.xg afsint.xg Kvice.h $(UTILS)
${SRCDIR}/bin/rxgen -x -k -C -o Kvice.cs.c afsint.xg
${RXGEN} -x -k -C -o Kvice.cs.c afsint.xg
Kvice.ss.c: common.xg afsint.xg Kvice.h $(UTILS)
${SRCDIR}/bin/rxgen -x -k -S -o Kvice.ss.c afsint.xg
${RXGEN} -x -k -S -o Kvice.ss.c afsint.xg
Kvice.xdr.c: common.xg afsint.xg $(UTILS)
${SRCDIR}/bin/rxgen -x -k -c -o Kvice.xdr.c afsint.xg
${RXGEN} -x -k -c -o Kvice.xdr.c afsint.xg
Kvice.h: common.xg afsint.xg $(UTILS)
${SRCDIR}/bin/rxgen -x -k -h -o Kvice.h afsint.xg
${RXGEN} -x -k -h -o Kvice.h afsint.xg
Kcallback.h: common.xg afscbint.xg $(UTILS)
${SRCDIR}/bin/rxgen -x -k -h -o Kcallback.h afscbint.xg
${RXGEN} -x -k -h -o Kcallback.h afscbint.xg
afscbint.cs.c: common.xg afscbint.xg afsint.h afscbint.h $(UTILS)
${SRCDIR}/bin/rxgen -x -C -o afscbint.cs.c afscbint.xg
${RXGEN} -x -C -o afscbint.cs.c afscbint.xg
afscbint.ss.c: common.xg afscbint.xg afsint.h afscbint.h $(UTILS)
${SRCDIR}/bin/rxgen -x -S -o afscbint.ss.c afscbint.xg
${RXGEN} -x -S -o afscbint.ss.c afscbint.xg
afscbint.xdr.c: common.xg afscbint.xg afsint.h afscbint.h $(UTILS)
${SRCDIR}/bin/rxgen -x -y -c -o afscbint.xdr.c afscbint.xg
${RXGEN} -x -y -c -o afscbint.xdr.c afscbint.xg
afsint.cs.c: common.xg afsint.xg afsint.h $(UTILS)
${SRCDIR}/bin/rxgen -x -C -o afsint.cs.c afsint.xg
${RXGEN} -x -C -o afsint.cs.c afsint.xg
afsint.ss.c: common.xg afsint.xg afsint.h $(UTILS)
${SRCDIR}/bin/rxgen -x -S -o afsint.ss.c afsint.xg
${RXGEN} -x -S -o afsint.ss.c afsint.xg
afsint.xdr.c: common.xg afsint.xg $(UTILS)
${SRCDIR}/bin/rxgen -x -c -o afsint.xdr.c afsint.xg
${RXGEN} -x -c -o afsint.xdr.c afsint.xg
afsint.h: common.xg afsint.xg $(UTILS)
${SRCDIR}/bin/rxgen -x -h -o afsint.h afsint.xg
${RXGEN} -x -h -o afsint.h afsint.xg
afscbint.h: common.xg afscbint.xg $(UTILS)
${SRCDIR}/bin/rxgen -x -h -o afscbint.h afscbint.xg
${RXGEN} -x -h -o afscbint.h afscbint.xg
system: install
kinstall: ${KSRCS} ${KERNELDIR}/afsint
${INSTALL} $(KSRCS) ${KERNELDIR}/afsint
${INSTALL} ${SRCDIR}/include/afs/rxgen_consts.h ${KERNELDIR}/afsint
${INSTALL} ${TOP_INCDIR}/afs/rxgen_consts.h ${KERNELDIR}/afsint
-${INSTALL} ${KERNELDIR}/rx/rx.h ${KERNELDIR}/afsint/rx.h
${INSTALL} afscbint.h ${KERNELDIR}/afs
@ -98,17 +112,49 @@ ${KERNELDIR}/afsint:
ukinstall webinstall: ${UKERNELDIR}/afsint ${UKSRCS}
${INSTALL} $(UKSRCS) ${UKERNELDIR}/afsint
${INSTALL} ${SRCDIR}/include/afs/rxgen_consts.h ${UKERNELDIR}/afsint
${INSTALL} ${TOP_INCDIR}/afs/rxgen_consts.h ${UKERNELDIR}/afsint
-${INSTALL} ${UKERNELDIR}/rx/rx.h ${UKERNELDIR}/afsint/rx.h
${INSTALL} afscbint.h ${UKERNELDIR}/afs
${UKERNELDIR}/afsint:
mkdir -p $@
install: all kinstall ukinstall
${INSTALL} libafsint.a ${DESTDIR}/lib/afs
${INSTALL} afsint.h ${DESTDIR}/include/afs
${INSTALL} afscbint.h ${DESTDIR}/include/afs
install: ${DESTDIR}${libdir}/afs/libafsint.a ${DESTDIR}${includedir}/afs/afsint.h ${DESTDIR}${includedir}/afs/afscbint.h
clean:
$(RM) -f *.o *.cs.c *.ss.c *.er.c afsint.h afsint.xdr.c libafsint.a $(KDSRCS) core AFS_component_version_number.c afscbint.xdr.c
${DEST}/lib/afs/libafsint.a: libafsint.a
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libafsint.a: libafsint.a
${INSTALL} $? $@
${TOP_LIBDIR}/libafsint.a: libafsint.a
${INSTALL} $? $@
${DEST}/include/afs/afsint.h: afsint.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/afsint.h: afsint.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/afsint.h: afsint.h
${INSTALL} $? $@
${DEST}/include/afs/afscbint.h: afscbint.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/afscbint.h: afscbint.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/afscbint.h: afscbint.h
${INSTALL} $? $@
dest: ${DEST}/lib/afs/libafsint.a ${DEST}/include/afs/afsint.h ${DEST}/include/afs/afscbint.h

View File

@ -8,8 +8,22 @@
# Makefile for fsprobe and its test program, all part of the AFS
# navigation and monitoring tool (gator).
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -19,29 +33,29 @@ include ../config/Makefile.${SYS_NAME}
CFLAGS=-g -I. \
-I${TOP_SRCDIR}/config \
-I${SRCDIR}/include \
-I${SRCDIR}/include/afs \
-I${TOP_INCDIR} \
-I${TOP_INCDIR}/afs \
-I${SRCDIR} \
-I/usr/include ${XCFLAGS}
RPCINCLS=${SRCDIR}/include/lwp.h ${SRCDIR}/include/rx/rx.h
RPCINCLS=${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/rx/rx.h
INCLS=fsprobe.h ${RPCINCLS}
LIBS= ${SRCDIR}/lib/afs/libvolser.a ${SRCDIR}/lib/afs/vlib.a ${SRCDIR}/lib/afs/libacl.a \
${SRCDIR}/lib/afs/libsys.a ${SRCDIR}/lib/afs/libvldb.a \
${SRCDIR}/lib/libubik.a \
${SRCDIR}/lib/afs/libauth.a ${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/afs/libcmd.a ${SRCDIR}/lib/librxkad.a ${SRCDIR}/lib/libdes.a \
${SRCDIR}/lib/afs/libcom_err.a ${SRCDIR}/lib/afs/libkauth.a \
${SRCDIR}/lib/afs/libaudit.a \
${SRCDIR}/lib/afs/libafsint.a \
${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/liblwp.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/afs/util.a
LIBS=${TOP_LIBDIR}/libvolser.a ${TOP_LIBDIR}/vlib.a ${TOP_LIBDIR}/libacl.a \
${TOP_LIBDIR}/libsys.a ${TOP_LIBDIR}/libvldb.a \
${TOP_LIBDIR}/libubik.a \
${TOP_LIBDIR}/libauth.a ${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/librxkad.a ${TOP_LIBDIR}/libdes.a \
${TOP_LIBDIR}/libcom_err.a ${TOP_LIBDIR}/libkauth.a \
${TOP_LIBDIR}/libaudit.a \
${TOP_LIBDIR}/libafsint.a \
${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/util.a
all: install
all: ${TOP_INCDIR}/afs/fsprobe.h ${TOP_LIBDIR}/libfsprobe.a fsprobe_test
#
# Build targets
@ -62,14 +76,12 @@ fsprobe_test: fsprobe_test.o libfsprobe.a ${LIBS}
#
# Install targets
#
install: ${DESTDIR}/include/afs/fsprobe.h \
${DESTDIR}/lib/afs/libfsprobe.a \
fsprobe_test
install: ${DESTDIR}${includedir}/afs/fsprobe.h ${DESTDIR}${libdir}/afs/libfsprobe.a
${DESTDIR}/include/afs/fsprobe.h: fsprobe.h
${DEST}/include/afs/fsprobe.h: fsprobe.h
${INSTALL} $? $@
${DESTDIR}/lib/afs/libfsprobe.a: libfsprobe.a
${DEST}/lib/afs/libfsprobe.a: libfsprobe.a
${INSTALL} $? $@
#
@ -80,3 +92,17 @@ clean:
include ../config/Makefile.version
${DESTDIR}${includedir}/afs/fsprobe.h: fsprobe.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/fsprobe.h: fsprobe.h
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libfsprobe.a: libfsprobe.a
${INSTALL} $? $@
${TOP_LIBDIR}/libfsprobe.a: libfsprobe.a
${INSTALL} $? $@
dest: ${DEST}/include/afs/fsprobe.h ${DEST}/lib/afs/libfsprobe.a

View File

@ -16,8 +16,22 @@
#
# @(#)Makefile 5.8 (Berkeley) 9/22/88
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -25,15 +39,14 @@ SYS_NAME=@AFS_SYSNAME@
include ../config/Makefile.version
include ../config/Makefile.${SYS_NAME}
LIBDIR = ${DESTDIR}/lib/
AFSLIBS = ${LIBDIR}/afs/libkauth.a ${LIBDIR}/afs/libprot.a ${LIBDIR}/libubik.a \
${LIBDIR}/afs/libauth.a ${DESTDIR}/lib/librxkad.a ${LIBDIR}/afs/libsys.a \
${DESTDIR}/lib/libdes.a ${LIBDIR}/librx.a ${LIBDIR}/liblwp.a \
${LIBDIR}/afs/libcmd.a ${LIBDIR}/afs/libcom_err.a ${LIBDIR}/afs/util.a \
${LIBDIR}/afs/libaudit.a
AFSLIBS=${TOP_LIBDIR}/libkauth.a ${TOP_LIBDIR}/libprot.a ${TOP_LIBDIR}/libubik.a \
${TOP_LIBDIR}/libauth.a ${TOP_LIBDIR}/librxkad.a ${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/libdes.a ${TOP_LIBDIR}/librx.a ${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/libcom_err.a ${TOP_LIBDIR}/util.a \
${TOP_LIBDIR}/libaudit.a
LIBS = ${AFSLIBS}
CFLAGS= ${OPTMZ} -I${DESTDIR}/include ${XCFLAGS}
CFLAGS=${OPTMZ} -I${TOP_INCDIR} ${XCFLAGS}
LIBC= /lib/libc.a
SRCS= ftpd.c ftpcmd.c getusershell.c glob.c logwtmp.c popen.c vers.c
OBJS= ftpd.o ftpcmd.o getusershell.o glob.o logwtmp.o popen.o vers.o
@ -42,9 +55,7 @@ MAN= ftpd.8
noversion: install
all: ftpd
system: install
all: ${MAN}
ftpd: ${OBJS} ${LIBS}
case ${SYS_NAME} in \
@ -58,8 +69,8 @@ ftpd: ${OBJS} ${LIBS}
ftpd.o: ftpd.c AFS_component_version_number.c
vers.o: ftpd.c ftpcmd.y
# sh newvers.sh
${CC} ${CFLAGS} -c vers.c
# sh newvers.sh
clean:
$(RM) -f ${OBJS} ftpd core ftpcmd.c AFS_component_version_number.c
@ -70,5 +81,14 @@ cleandir: clean
depend: ${SRCS}
mkdep ${CFLAGS} ${SRCS}
install: ${MAN} all
${INSTALL} -s -m 755 ftpd ${DESTDIR}/etc/ftpd
install: ${DESTDIR}${sbindir}/ftpd
${DEST}/etc/ftpd: ftpd
${INSTALL} $? $@
${DESTDIR}${sbindir}/ftpd: ftpd
${INSTALL} $? $@
dest: ${DEST}/etc/ftpd

View File

@ -7,8 +7,21 @@
# Makefile for gtx, a display-independent, object-oriented window toolkit.
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -16,9 +29,9 @@ SHELL=/bin/sh
include ../config/Makefile.${SYS_NAME}
COMPILE_ET=${SRCDIR}/bin/compile_et
CFLAGS= ${DBUG} -I. -I${TOP_SRCDIR}/config \
-I${SRCDIR}/include -I${SRCDIR}/include/afs ${XCFLAGS}
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
CFLAGS=${DBUG} -I. -I${TOP_SRCDIR}/config \
-I${TOP_INCDIR} -I${TOP_INCDIR}/afs ${XCFLAGS}
LDFLAGS = ${XLDFLAGS}
#RPCINCLS=${SRCDIR}/include/lwp.h ${SRCDIR}/include/rx/rx.h bosint.h
RPCINCLS=
@ -35,23 +48,23 @@ INCLS=gtxobjects.h \
gtxframe.h \
gtxobjdict.h \
${RPCINCLS} \
${SRCDIR}/include/afs/keys.h \
${SRCDIR}/include/afs/cellconfig.h \
${SRCDIR}/include/afs/cmd.h
${TOP_INCDIR}/afs/keys.h \
${TOP_INCDIR}/afs/cellconfig.h \
${TOP_INCDIR}/afs/cmd.h
LIBS= \
${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/liblwp.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/afs/libcmd.a \
${SRCDIR}/lib/afs/libkauth.a \
${SRCDIR}/lib/afs/libauth.a \
${SRCDIR}/lib/librxkad.a \
${SRCDIR}/lib/libdes.a \
${SRCDIR}/lib/afs/libcom_err.a \
${SRCDIR}/lib/afs/util.a
LIBS=\
${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libkauth.a \
${TOP_LIBDIR}/libauth.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libdes.a \
${TOP_LIBDIR}/libcom_err.a \
${TOP_LIBDIR}/util.a
EXTRA_LIBS= ${TXLIBS} ${SRCDIR}/lib/afs/libtermlib.a ${XLIBS}
EXTRA_LIBS=${TXLIBS} ${TOP_LIBDIR}/libtermlib.a ${XLIBS}
KEYMAP_SRCS=keymap.c input.c frame.c
@ -90,6 +103,8 @@ include ../config/Makefile.version
noversion: install
all: libgtx.a gtxtest
${INSTALL} gtx*.h ${TOP_INCDIR}/afs
${INSTALL} libgtx.a ${TOP_LIBDIR}
tests: object_test screen_test curses_test cb_test gtxtest
@ -156,16 +171,19 @@ object_test: object_test.o ${WINDOW_OBJS} ${DICT_OBJS} ${OBJECT_OBJS} ${CB_OBJS}
#
# Misc others
#
system: install
libgtx.a: ${LIBOBJS} AFS_component_version_number.o
-$(RM) -f $@
ar rv $@ ${LIBOBJS} AFS_component_version_number.o
${RANLIB} $@
install: all
${INSTALL} gtx*.h ${DESTDIR}/include/afs
${INSTALL} libgtx.a ${DESTDIR}/lib/afs
install: libgtx.a
${INSTALL} gtx*.h ${DESTDIR}${includedir}/afs
${INSTALL} libgtx.a ${DESTDIR}${libdir}/afs
clean:
$(RM) -f *.o *.a *.ln object_test screen_test curses_test err.c core cb_test gtxtest AFS_component_version_number.c
dest: libgtx.a
${INSTALL} gtx*.h ${DEST}/include/afs
${INSTALL} libgtx.a ${DEST}/lib/afs

View File

@ -1,6 +1,18 @@
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -8,16 +20,15 @@ SHELL=/bin/sh
include ../config/Makefile.${SYS_NAME}
INCLUDES = -I${TOP_SRCDIR}/config -I${DESTDIR}/include
INCLUDES = -I${TOP_SRCDIR}/config -I${TOP_INCDIR}
DEFINES = ${INCLUDES}
LIBDIR = ${DESTDIR}/lib/
AFSLIBS = ${LIBDIR}/afs/libkauth.a ${LIBDIR}/libubik.a\
${LIBDIR}/afs/libauth.a ${LIBDIR}/afs/libsys.a \
${LIBDIR}/librx.a \
${LIBDIR}/afs/libsys.a \
${LIBDIR}/liblwp.a ${DESTDIR}/lib/librxkad.a\
${DESTDIR}/lib/libdes.a ${LIBDIR}/afs/libcmd.a \
${LIBDIR}/afs/libcom_err.a ${LIBDIR}/afs/util.a
AFSLIBS = ${TOP_LIBDIR}/libkauth.a ${TOP_LIBDIR}/libubik.a\
${TOP_LIBDIR}/libauth.a ${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/librxkad.a\
${TOP_LIBDIR}/libdes.a ${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libcom_err.a ${TOP_LIBDIR}/util.a
LIBRES =
LIBS = ${AFSLIBS} ${LIBRES} ${XLIBS}
OBJS = inetd.o setenv.o getenv.o
@ -30,8 +41,6 @@ noversion: install
# ta-rauth.o is used by rlogin, rsh, rcp, rlogind
all : inetd ta-rauth.o
system: install
inetd: ${OBJS}
set -x; \
case "${SYS_NAME}" in \
@ -49,16 +58,23 @@ ta-rauth.o: ta-rauth.c
clean:
$(RM) -f inetd *.o *.BAK *~ core AFS_component_version_number.c
install: all
${INSTALL} -s -m 755 inetd ${DESTDIR}/etc/inetd
install: ${DESTDIR}${sbindir}/inetd
dest: ${DEST}/etc/inetd
set -x; \
case "${SYS_NAME}" in \
sun4* ) \
${INSTALL} -m 644 -f inetd.conf.solaris ${DESTDIR}/etc/inetd.conf ;; \
${INSTALL} -m 644 -f inetd.conf.solaris ${DEST}/etc/inetd.conf ;; \
sgi_* ) \
${INSTALL} -m 644 -f inetd.conf.sgi ${DESTDIR}/etc/inetd.conf ;; \
${INSTALL} -m 644 -f inetd.conf.sgi ${DEST}/etc/inetd.conf ;; \
alpha_dux?? ) \
${INSTALL} -m 644 -f inetd.conf.dux40 ${DESTDIR}/etc/inetd.conf ;; \
${INSTALL} -m 644 -f inetd.conf.dux40 ${DEST}/etc/inetd.conf ;; \
* ) \
${INSTALL} -m 644 inetd.conf ${DESTDIR}/etc/inetd.conf ;; \
${INSTALL} -m 644 inetd.conf ${DEST}/etc/inetd.conf ;; \
esac
${DESTDIR}${sbindir}/inetd: inetd
${INSTALL} $? $@
${DEST}/etc/inetd: inetd
${INSTALL} $? $@

View File

@ -5,9 +5,21 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
# */
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -16,49 +28,49 @@ SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
UKERNELDIR = ../libuafs/
COMPILE_ET = ${SRCDIR}/bin/compile_et
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
CFLAGS = ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
CFLAGS=${OPTMZ} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
LDFLAGS = ${OPTMZ} ${XLDFLAGS}
INCLS=${SRCDIR}/include/ubik.h \
${SRCDIR}/include/lwp.h \
${SRCDIR}/include/lock.h \
${SRCDIR}/include/rx/rx.h \
${SRCDIR}/include/rx/xdr.h \
${SRCDIR}/include/rx/rxkad.h \
${SRCDIR}/include/afs/com_err.h \
kaserver.h kauth.h kautils.h
INCLS=${TOP_INCDIR}/ubik.h \
${TOP_INCDIR}/lwp.h \
${TOP_INCDIR}/lock.h \
${TOP_INCDIR}/rx/rx.h \
${TOP_INCDIR}/rx/xdr.h \
${TOP_INCDIR}/rx/rxkad.h \
${TOP_INCDIR}/afs/com_err.h \
kaserver.h kauth.h kautils.h
LIBS = ${SRCDIR}/lib/libubik.a \
${SRCDIR}/lib/afs/libprot.a \
${SRCDIR}/lib/afs/libauth.a \
${SRCDIR}/lib/librxkad.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/librxstat.a \
${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/liblwp.a \
${SRCDIR}/lib/libdes.a \
${SRCDIR}/lib/afs/libcmd.a \
${SRCDIR}/lib/afs/libcom_err.a \
${SRCDIR}/lib/afs/util.a \
LIBS=${TOP_LIBDIR}/libubik.a \
${TOP_LIBDIR}/libprot.a \
${TOP_LIBDIR}/libauth.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/librxstat.a \
${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libdes.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libcom_err.a \
${TOP_LIBDIR}/util.a \
$(DBM)
UKSRCS=authclient.c user.c kautils.h kaserver.h kaaux.c token.c \
kalocalcell.c client.c kaerrors.c
KLIBS = ${SRCDIR}/lib/libubik.a \
${SRCDIR}/lib/afs/libprot.a \
${SRCDIR}/lib/afs/libauth.krb.a \
${SRCDIR}/lib/librxkad.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/liblwp.a \
${SRCDIR}/lib/libdes.a \
${SRCDIR}/lib/afs/libcmd.a \
${SRCDIR}/lib/afs/libcom_err.a \
${SRCDIR}/lib/afs/util.a
KLIBS=${TOP_LIBDIR}/libubik.a \
${TOP_LIBDIR}/libprot.a \
${TOP_LIBDIR}/libauth.krb.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libdes.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libcom_err.a \
${TOP_LIBDIR}/util.a
OBJS=kauth.xdr.o kauth.cs.o kaaux.o client.o authclient.o token.o kautils.o kalocalcell.o kaerrors.o user.o krb_tf.o
KOBJS=kauth.xdr.o kauth.cs.o kaaux.o client.o authclient.o token.o kautils.o kalocalcell.o kaerrors.o user.krb.o krb_tf.o
@ -67,16 +79,16 @@ include ../config/Makefile.version
noversion: install
all: knfs kaserver kas klog klog.krb kpasswd klogin klogin.krb rebuild kdb kpwvalid
all: ukinstall kaserver kas kpwvalid klog klog.krb knfs kpasswd ${TOP_LIBDIR}/libkauth.a ${TOP_LIBDIR}/libkauth.krb.a rebuild kdb ${TOP_INCDIR}/afs/kautils.h ${TOP_INCDIR}/afs/kauth.h ${TOP_INCDIR}/afs/kaport.h
test tests: install
test tests: all
cd test; $(MAKE)
clean:
$(RM) -f *.o kaserver kas klog multiklog kpasswd klogin rebuild kauth.cs.c kauth.ss.c kauth.xdr.c kauth.h kautils.h kaerrors.c *.a core kpwvalid AFS_component_version_number.c klog.krb knfs klogin.krb kdb Kkauth.xdr.c Kkauth.h Kkauth.cs.c
kaserver: kautils.o kalocalcell.o kadatabase.o kaprocs.o kalog.o kauth.ss.o kauth.xdr.o kaserver.o kaaux.o krb_udp.o kaauxdb.o $(LIBS)
${CC} ${LDFLAGS} -o kaserver kaserver.o kautils.o kalocalcell.o kadatabase.o krb_udp.o kaprocs.o kalog.o kauth.ss.o kauth.xdr.o kaaux.o kaauxdb.o $(LIBS) ${XLIBS} ${SRCDIR}/lib/afs/libaudit.a
${CC} ${LDFLAGS} -o kaserver kaserver.o kautils.o kalocalcell.o kadatabase.o krb_udp.o kaprocs.o kalog.o kauth.ss.o kauth.xdr.o kaaux.o kaauxdb.o $(LIBS) ${XLIBS} ${TOP_LIBDIR}/libaudit.a
kaserver.o: kaserver.c ${INCLS} AFS_component_version_number.o
@ -105,16 +117,16 @@ kauth.cs.o: kauth.cs.c
kauth.xdr.o: kauth.xdr.c kauth.h
kauth.ss.c kauth.cs.c kauth.xdr.c kauth.h: kauth.rg
${SRCDIR}/bin/rxgen -x kauth.rg
${RXGEN} -x kauth.rg
Kkauth.cs.c: kauth.rg Kkauth.h
${SRCDIR}/bin/rxgen -x -k -C -o Kkauth.cs.c kauth.rg
${RXGEN} -x -k -C -o Kkauth.cs.c kauth.rg
Kkauth.xdr.c: kauth.rg
${SRCDIR}/bin/rxgen -x -k -c -o Kkauth.xdr.c kauth.rg
${RXGEN} -x -k -c -o Kkauth.xdr.c kauth.rg
Kkauth.h: kauth.rg
${SRCDIR}/bin/rxgen -x -k -h -o Kkauth.h kauth.rg
${RXGEN} -x -k -h -o Kkauth.h kauth.rg
libkauth.a: $(OBJS) AFS_component_version_number.o
-$(RM) -f libkauth.a
@ -182,60 +194,58 @@ kpwvalid.o: kpwvalid.c AFS_component_version_number.o
kpwvalid: kpwvalid.o $(LIBS)
${CC} ${LDFLAGS} -o kpwvalid kpwvalid.o ${LIBS} ${XLIBS}
user.krb.o: user.c ${INCLS} ${SRCDIR}/include/afs/vice.h
user.krb.o: user.c ${INCLS} ${TOP_INCDIR}/afs/vice.h
${CC} ${CFLAGS} -DAFS_KERBEROS_ENV -c user.c -o user.krb.o
user.o: user.c ${INCLS} ${SRCDIR}/include/afs/vice.h
user.o: user.c ${INCLS} ${TOP_INCDIR}/afs/vice.h
${CC} ${CFLAGS} -c user.c
kdb: kdb.o ${INCLS}
${CC} ${LDFLAGS} -o kdb kdb.o libkauth.a ${LIBS} ${XLIBS}
kdb.o: kdb.c AFS_component_version_number.o
krb_udp.o: krb_udp.c kaserver.h kautils.h kauth.h prot.h \
${SRCDIR}/include/lwp.h AFS_component_version_number.o
krb_udp.o: krb_udp.c kaserver.h kautils.h kauth.h prot.h ${TOP_INCDIR}/lwp.h AFS_component_version_number.o
krb_udp: krb_udp.o libkauth.a
${CC} ${LDFLAGS} -o krb_udp krb_udp.o libkauth.a ${SRCDIR}/lib/liblwp.a ${SRCDIR}/lib/libdes.a ${SRCDIR}/lib/librxkad.a ${SRCDIR}/lib/afs/libcom_err.a ${SRCDIR}/lib/libutil.a ${SRCDIR}/lib/afs/libaudit.a
${CC} ${LDFLAGS} -o krb_udp krb_udp.o libkauth.a ${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/libdes.a ${TOP_LIBDIR}/librxkad.a ${TOP_LIBDIR}/libcom_err.a ${TOP_LIBDIR}/libutil.a ${TOP_LIBDIR}/libaudit.a
rebuild.o: rebuild.c $(INCLS) AFS_component_version_number.o
rebuild: rebuild.o kautils.o ${SRCDIR}/lib/afs/libcom_err.a ${SRCDIR}/lib/afs/util.a ${SRCDIR}/lib/libdes.a
rebuild: rebuild.o kautils.o ${TOP_LIBDIR}/libcom_err.a ${TOP_LIBDIR}/util.a ${TOP_LIBDIR}/libdes.a
${CC} ${LDFLAGS} -o rebuild rebuild.o kautils.o \
${SRCDIR}/lib/afs/libcom_err.a ${SRCDIR}/lib/afs/util.a ${SRCDIR}/lib/libdes.a ${XLIBS} ${SRCDIR}/lib/afs/libcmd.a
${INSTALL} -f rebuild ${DESTDIR}/etc/kadb_check
${TOP_LIBDIR}/libcom_err.a ${TOP_LIBDIR}/util.a ${TOP_LIBDIR}/libdes.a ${XLIBS} ${TOP_LIBDIR}/libcmd.a
system: install
${DESTDIR}/root.server/usr/afs/bin/kaserver: kaserver
${DEST}/root.server/usr/afs/bin/kaserver: kaserver
${INSTALL} -s $? $@
${DESTDIR}/etc/kas ${DESTDIR}/root.server/usr/afs/bin/kas: kas
${DEST}/etc/kas ${DEST}/root.server/usr/afs/bin/kas: kas
${INSTALL} -s $? $@
${DESTDIR}/bin/kpwvalid ${DESTDIR}/etc/kpwvalid \
${DESTDIR}/root.server/usr/afs/bin/kpwvalid: kpwvalid
${DEST}/bin/kpwvalid ${DEST}/etc/kpwvalid ${DEST}/root.server/usr/afs/bin/kpwvalid: kpwvalid
${INSTALL} $? $@
${DESTDIR}/bin/klog ${DESTDIR}/root.server/usr/afs/bin/klog: klog
${DEST}/bin/klog ${DEST}/root.server/usr/afs/bin/klog: klog
${INSTALL} -s $? $@
${DESTDIR}/bin/klog.krb ${DESTDIR}/root.server/usr/afs/bin/klog.krb: klog.krb
${DEST}/bin/klog.krb ${DEST}/root.server/usr/afs/bin/klog.krb: klog.krb
${INSTALL} -s $? $@
${DESTDIR}/bin/knfs: knfs
${DEST}/bin/knfs: knfs
${INSTALL} -s $? $@
${DESTDIR}/bin/kpasswd: kpasswd
${DEST}/bin/kpasswd: kpasswd
${INSTALL} -s $? $@
${DESTDIR}/lib/afs/libkauth.a: libkauth.a
${DEST}/lib/afs/libkauth.a: libkauth.a
${INSTALL} $? $@
${DESTDIR}/lib/afs/libkauth.krb.a: libkauth.krb.a
${DEST}/lib/afs/libkauth.krb.a: libkauth.krb.a
${INSTALL} $? $@
${DESTDIR}/etc/kdb: kdb
${DEST}/etc/kadb_check: rebuild
${INSTALL} -f $? $@
${DEST}/etc/kdb: kdb
${INSTALL} -s $? $@
ukinstall webinstall: ${UKERNELDIR}/afs ${UKERNELDIR}/afsint ${UKSRCS} Kkauth.h Kkauth.xdr.c Kkauth.cs.c kauth.h
@ -250,19 +260,132 @@ ${UKERNELDIR}/afs:
${UKERNELDIR}/afsint:
mkdir -p $@
install: all ukinstall ${DESTDIR}/root.server/usr/afs/bin/kaserver \
${DESTDIR}/etc/kas ${DESTDIR}/etc/kpwvalid \
${DESTDIR}/root.server/usr/afs/bin/kas \
${DESTDIR}/root.server/usr/afs/bin/kpwvalid \
${DESTDIR}/bin/klog ${DESTDIR}/bin/klog.krb \
${DESTDIR}/root.server/usr/afs/bin/klog \
${DESTDIR}/root.server/usr/afs/bin/klog.krb \
${DESTDIR}/bin/knfs ${DESTDIR}/bin/kpasswd \
${DESTDIR}/bin/kpwvalid ${DESTDIR}/lib/afs/libkauth.a \
${DESTDIR}/lib/afs/libkauth.krb.a ${DESTDIR}/etc/kdb
${INSTALL} kautils.h kauth.h kaport.h ${DESTDIR}/include/afs
install: \
${DESTDIR}${afssrvlibexecdir}/kaserver \
${DESTDIR}${sbindir}/kas \
${DESTDIR}${sbindir}/kpwvalid \
${DESTDIR}${afssrvsbindir}/kas \
${DESTDIR}${afssrvsbindir}/kpwvalid \
${DESTDIR}${bindir}/klog \
${DESTDIR}${bindir}/klog.krb \
${DESTDIR}${afssrvbindir}/klog \
${DESTDIR}${afssrvbindir}/klog.krb \
${DESTDIR}${bindir}/knfs \
${DESTDIR}${bindir}/kpasswd \
${DESTDIR}${bindir}/kpwvalid \
${DESTDIR}${libdir}/afs/libkauth.a \
${DESTDIR}${libdir}/afs/libkauth.krb.a \
${DESTDIR}${afssrvsbindir}/kadb_check \
${DESTDIR}${afssrvsbindir}/kdb \
${DESTDIR}${includedir}/afs/kautils.h \
${DESTDIR}${includedir}/afs/kauth.h \
${DESTDIR}${includedir}/afs/kaport.h
${DESTDIR}${afssrvlibexecdir}/kaserver: kaserver
${INSTALL} -s $? $@
${DESTDIR}${sbindir}/kas: kas
${INSTALL} -s $? $@
${DESTDIR}${sbindir}/kpwvalid: kpwvalid
${INSTALL} $? $@
${DESTDIR}${afssrvsbindir}/kas: kas
${INSTALL} -s $? $@
${DESTDIR}${afssrvsbindir}/kpwvalid: kpwvalid
${INSTALL} $? $@
${DESTDIR}${bindir}/klog: klog
${INSTALL} -s $? $@
${DESTDIR}${bindir}/klog.krb: klog.krb
${INSTALL} -s $? $@
${DESTDIR}${afssrvbindir}/klog: klog
${INSTALL} -s $? $@
${DESTDIR}${afssrvbindir}/klog.krb: klog.krb
${INSTALL} -s $? $@
${DESTDIR}${bindir}/knfs: knfs
${INSTALL} -s $? $@
${DESTDIR}${bindir}/kpasswd: kpasswd
${INSTALL} -s $? $@
${DESTDIR}${bindir}/kpwvalid: kpwvalid
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libkauth.a: libkauth.a
${INSTALL} $? $@
${TOP_LIBDIR}/libkauth.a: libkauth.a
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libkauth.krb.a: libkauth.krb.a
${INSTALL} $? $@
${TOP_LIBDIR}/libkauth.krb.a: libkauth.krb.a
${INSTALL} $? $@
${DESTDIR}${afssrvsbindir}/kadb_check: rebuild
${INSTALL} -f $? $@
${DESTDIR}${afssrvsbindir}/kdb: kdb
${INSTALL} -s $? $@
${DEST}/include/afs/kautils.h: kautils.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/kautils.h: kautils.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/kautils.h: kautils.h
${INSTALL} $? $@
${DEST}/include/afs/kauth.h: kauth.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/kauth.h: kauth.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/kauth.h: kauth.h
${INSTALL} $? $@
${DEST}/include/afs/kaport.h: kaport.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/kaport.h: kaport.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/kaport.h: kaport.h
${INSTALL} $? $@
dest: \
${DEST}/root.server/usr/afs/bin/kaserver \
${DEST}/etc/kas \
${DEST}/etc/kpwvalid \
${DEST}/root.server/usr/afs/bin/kas \
${DEST}/root.server/usr/afs/bin/kpwvalid \
${DEST}/bin/klog \
${DEST}/bin/klog.krb \
${DEST}/root.server/usr/afs/bin/klog \
${DEST}/root.server/usr/afs/bin/klog.krb \
${DEST}/bin/knfs \
${DEST}/bin/kpasswd \
${DEST}/bin/kpwvalid \
${DEST}/lib/afs/libkauth.a \
${DEST}/lib/afs/libkauth.krb.a \
${DEST}/etc/kdb \
${DEST}/etc/kadb_check \
${DEST}/include/afs/kautils.h \
${DEST}/include/afs/kauth.h \
${DEST}/include/afs/kaport.h

View File

@ -21,12 +21,14 @@ LIBS= -llwp -ldes -lrxkad -lauth -lcmd -lubik -lprot -lsys -lrx -lcom_err -lkaut
CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
system: all
# the only tests _known_ to work are multiklog and the tcl scripts.
all test tests: multiklog
install:
dest:
clean:
$(RM) -f *.o core

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,8 +28,8 @@ SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
INCDIRS= -I${TOP_SRCDIR}/config -I${DESTDIR}/include -I.. \
-I${BACKDIR}/include -I${DESTDIR}/include/afs
INCDIRS=-I${TOP_SRCDIR}/config -I${TOP_INCDIR} -I.. \
-I${BACKDIR}/include -I${TOP_INCDIR}/afs
KERNELDIR = ../libafs/
UKERNELDIR = ../libuafs/
@ -25,7 +39,7 @@ LIBOBJS=aclprocs.o netprocs.o
include ../config/Makefile.version
all: libacl.a
all: kinstall ukinstall ${TOP_LIBDIR}/libacl.a ${TOP_INCDIR}/afs/acl.h ${TOP_INCDIR}/afs/prs_fs.h
libacl.a: $(LIBOBJS) AFS_component_version_number.o
$(RM) -f libacl.a
@ -47,10 +61,43 @@ kinstall:
ukinstall webinstall:
${INSTALL} prs_fs.h ${UKERNELDIR}/afs/prs_fs.h
install: libacl.a kinstall ukinstall
${INSTALL} libacl.a ${DESTDIR}/lib/afs/libacl.a
${INSTALL} acl.h ${DESTDIR}/include/afs/acl.h
${INSTALL} prs_fs.h ${DESTDIR}/include/afs/prs_fs.h
install: ${DESTDIR}${libdir}/afs/libacl.a ${DESTDIR}${includedir}/afs/acl.h ${DESTDIR}${includedir}/afs/prs_fs.h
test:
cd test; $(MAKE)
${DEST}/lib/afs/libacl.a: libacl.a
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libacl.a: libacl.a
${INSTALL} $? $@
${TOP_LIBDIR}/libacl.a: libacl.a
${INSTALL} $? $@
${DEST}/include/afs/acl.h: acl.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/acl.h: acl.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/acl.h: acl.h
${INSTALL} $? $@
${DEST}/include/afs/prs_fs.h: prs_fs.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/prs_fs.h: prs_fs.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/prs_fs.h: prs_fs.h
${INSTALL} $? $@
dest: ${DEST}/lib/afs/libacl.a ${DEST}/include/afs/acl.h ${DEST}/include/afs/prs_fs.h

View File

@ -5,22 +5,36 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
OPTIMIZE=-O
INCDIRS= -I${DESTDIR}/include -I..
LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L..
INCDIRS=-I${TOP_INCDIR} -I..
LDIRS=-L${TOP_LIBDIR} -L${DESTDIR}/lib/afs -L..
LIBS= -lacl -lprot -lubik -lrx -llwp -lauth -lrxkad -lsys ${XLIBS}
CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
all: install
all: acltest
install: acltest
install:
#
# Build targets
@ -36,3 +50,5 @@ acltest.o: acltest.c
clean:
$(RM) -f *.o *.a acltest core
dest:

View File

@ -5,19 +5,41 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
include ../config/Makefile.${SYS_NAME}
all: install
all: ${TOP_INCDIR}/afs/afs_Admin.h
install: ${DESTDIR}/include/afs/afs_Admin.h
install: ${DESTDIR}${includedir}/afs/afs_Admin.h
${DESTDIR}/include/afs/afs_Admin.h: afs_Admin.h
${DEST}/include/afs/afs_Admin.h: afs_Admin.h
${INSTALL} $? $@
clean:
${DESTDIR}${includedir}/afs/afs_Admin.h: afs_Admin.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/afs_Admin.h: afs_Admin.h
${INSTALL} $? $@
dest: ${DEST}/include/afs/afs_Admin.h

View File

@ -5,8 +5,21 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,9 +27,9 @@ SHELL = /bin/sh
include ../../config/Makefile.${SYS_NAME}
CC = ${MT_CC}
CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${MT_CFLAGS}
CFLAGS=${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${MT_CFLAGS}
CCRULE = ${CC} ${CFLAGS} -c $?
COMPILE_ET = ${SRCDIR}/bin/compile_et
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXKAD = ../../rxkad
AUTH = ../../auth
BOZO = ../../bozo
@ -27,51 +40,53 @@ UBIK = ../../ubik
VLSERVER = ../../vlserver
VOLSER = ../../volser
all: ${TOP_LIBDIR}/libafsadminutil.a ${TOP_INCDIR}/afs/afs_utilAdmin.h
afs_AdminBosErrors.c ${DESTDIR}/include/afs/afs_AdminBosErrors.h: afs_AdminBosErrors.et
${INSTALL} afs_AdminErrors.h ${DESTDIR}/include/afs
${INSTALL} afs_AdminErrors.h ${TOP_INCDIR}/afs
$(RM) -f afs_AdminBosErrors.c afs_AdminBosErrors.h
${COMPILE_ET} afs_AdminBosErrors.et -h afs_AdminBosErrors
cp afs_AdminBosErrors.h ${DESTDIR}/include/afs/afs_AdminBosErrors.h
cp afs_AdminBosErrors.h ${TOP_INCDIR}/afs/afs_AdminBosErrors.h
afs_AdminCfgErrors.c ${DESTDIR}/include/afs/afs_AdminCfgErrors.h: afs_AdminCfgErrors.et
$(RM) -f afs_AdminCfgErrors.c afs_AdminCfgErrors.h
${COMPILE_ET} afs_AdminCfgErrors.et -h afs_AdminCfgErrors
cp afs_AdminCfgErrors.h ${DESTDIR}/include/afs/afs_AdminCfgErrors.h
cp afs_AdminCfgErrors.h ${TOP_INCDIR}/afs/afs_AdminCfgErrors.h
afs_AdminClientErrors.c ${DESTDIR}/include/afs/afs_AdminClientErrors.h: afs_AdminClientErrors.et
$(RM) -f afs_AdminClientErrors.c afs_AdminClientErrors.h
${COMPILE_ET} afs_AdminClientErrors.et -h afs_AdminClientErrors
cp afs_AdminClientErrors.h ${DESTDIR}/include/afs/afs_AdminClientErrors.h
cp afs_AdminClientErrors.h ${TOP_INCDIR}/afs/afs_AdminClientErrors.h
afs_AdminMiscErrors.c ${DESTDIR}/include/afs/afs_AdminMiscErrors.h: afs_AdminMiscErrors.et
$(RM) -f afs_AdminMiscErrors.c afs_AdminMiscErrors.h
${COMPILE_ET} afs_AdminMiscErrors.et -h afs_AdminMiscErrors
cp afs_AdminMiscErrors.h ${DESTDIR}/include/afs/afs_AdminMiscErrors.h
cp afs_AdminMiscErrors.h ${TOP_INCDIR}/afs/afs_AdminMiscErrors.h
afs_AdminCommonErrors.c ${DESTDIR}/include/afs/afs_AdminCommonErrors.h: afs_AdminCommonErrors.et
$(RM) -f afs_AdminCommonErrors.c afs_AdminCommonErrors.h
${COMPILE_ET} afs_AdminCommonErrors.et -h afs_AdminCommonErrors
cp afs_AdminCommonErrors.h ${DESTDIR}/include/afs/afs_AdminCommonErrors.h
cp afs_AdminCommonErrors.h ${TOP_INCDIR}/afs/afs_AdminCommonErrors.h
afs_AdminKasErrors.c ${DESTDIR}/include/afs/afs_AdminKasErrors.h: afs_AdminKasErrors.et
$(RM) -f afs_AdminKasErrors.c afs_AdminKasErrors.h
${COMPILE_ET} afs_AdminKasErrors.et -h afs_AdminKasErrors
cp afs_AdminKasErrors.h ${DESTDIR}/include/afs/afs_AdminKasErrors.h
cp afs_AdminKasErrors.h ${TOP_INCDIR}/afs/afs_AdminKasErrors.h
afs_AdminPtsErrors.c ${DESTDIR}/include/afs/afs_AdminPtsErrors.h: afs_AdminPtsErrors.et
$(RM) -f afs_AdminPtsErrors.c afs_AdminPtsErrors.h
${COMPILE_ET} afs_AdminPtsErrors.et -h afs_AdminPtsErrors
cp afs_AdminPtsErrors.h ${DESTDIR}/include/afs/afs_AdminPtsErrors.h
cp afs_AdminPtsErrors.h ${TOP_INCDIR}/afs/afs_AdminPtsErrors.h
afs_AdminUtilErrors.c ${DESTDIR}/include/afs/afs_AdminUtilErrors.h: afs_AdminUtilErrors.et
$(RM) -f afs_AdminUtilErrors.c afs_AdminUtilErrors.h
${COMPILE_ET} afs_AdminUtilErrors.et -h afs_AdminUtilErrors
cp afs_AdminUtilErrors.h ${DESTDIR}/include/afs/afs_AdminUtilErrors.h
cp afs_AdminUtilErrors.h ${TOP_INCDIR}/afs/afs_AdminUtilErrors.h
afs_AdminVosErrors.c ${DESTDIR}/include/afs/afs_AdminVosErrors.h: afs_AdminVosErrors.et
$(RM) -f afs_AdminVosErrors.c afs_AdminVosErrors.h
${COMPILE_ET} afs_AdminVosErrors.et -h afs_AdminVosErrors
cp afs_AdminVosErrors.h ${DESTDIR}/include/afs/afs_AdminVosErrors.h
cp afs_AdminVosErrors.h ${TOP_INCDIR}/afs/afs_AdminVosErrors.h
ERROROBJS = \
rxkad_errs.o \
@ -99,13 +114,27 @@ ADMINOBJS = \
LIBOBJS = ${ADMINOBJS} ${ERROROBJS}
LIBADMINUTIL = ${DESTDIR}/lib/afs/libafsadminutil.a
install: ${DESTDIR}${libdir}/afs/libafsadminutil.a ${DESTDIR}${includedir}/afs/afs_utilAdmin.h
system install: ${LIBADMINUTIL}
dest: ${DEST}/lib/afs/libafsadminutil.a ${DEST}/include/afs/afs_utilAdmin.h
${LIBADMINUTIL}: libafsadminutil.a
${INSTALL} afs_utilAdmin.h ${DESTDIR}/include/afs
${INSTALL} libafsadminutil.a ${LIBADMINUTIL}
${DESTDIR}${libdir}/afs/libafsadminutil.a: libafsadminutil.a
${INSTALL} $? $@
${DEST}/lib/afs/libafsadminutil.a: libafsadminutil.a
${INSTALL} $? $@
${TOP_LIBDIR}/libafsadminutil.a: libafsadminutil.a
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/afs_utilAdmin.h: afs_utilAdmin.h
${INSTALL} $? $@
${DEST}/include/afs/afs_utilAdmin.h: afs_utilAdmin.h
${INSTALL} $? $@
${TOP_INCDIR}/afs/afs_utilAdmin.h: afs_utilAdmin.h
${INSTALL} $? $@
libafsadminutil.a: ${LIBOBJS}
-$(RM) -f $@

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,7 +28,7 @@ SHELL = /bin/sh
include ../../config/Makefile.${SYS_NAME}
CC = ${MT_CC}
CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${MT_CFLAGS}
CFLAGS=${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${MT_CFLAGS}
CCRULE = ${CC} ${CFLAGS} -c $?
BOZO = ../../bozo/
@ -25,13 +39,31 @@ BOZOOBJS = bosint.xdr.o bosint.cs.o
LIBOBJS = ${ADMINOBJS} ${BOZOOBJS}
LIBBOSADMIN = ${DESTDIR}/lib/afs/libbosadmin.a
all: ${TOP_INCDIR}/afs/afs_bosAdmin.h ${TOP_LIBDIR}/libbosadmin.a
system install: ${LIBBOSADMIN}
install: ${DESTDIR}${includedir}/afs/afs_bosAdmin.h ${DESTDIR}${libdir}/afs/libbosadmin.a
dest: ${DEST}/include/afs/afs_bosAdmin.h ${DEST}/lib/afs/libbosadmin.a
${TOP_INCDIR}/afs/afs_bosAdmin.h: afs_bosAdmin.h
${INSTALL} $? $@
${DEST}/include/afs/afs_bosAdmin.h: afs_bosAdmin.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/afs_bosAdmin.h: afs_bosAdmin.h
${INSTALL} $? $@
${TOP_LIBDIR}/libbosadmin.a: libbosadmin.a
${INSTALL} $? $@
${DEST}/lib/afs/libbosadmin.a: libbosadmin.a
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libbosadmin.a: libbosadmin.a
${INSTALL} $? $@
${LIBBOSADMIN}: libbosadmin.a
${INSTALL} afs_bosAdmin.h ${DESTDIR}/include/afs
${INSTALL} libbosadmin.a ${LIBBOSADMIN}
libbosadmin.a: ${LIBOBJS}
-$(RM) -f $@

View File

@ -5,15 +5,29 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
SHELL = /bin/sh
include ../../config/Makefile.${SYS_NAME}
CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${MT_CFLAGS}
CFLAGS=${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${MT_CFLAGS}
CCRULE = ${CC} ${CFLAGS} -c $?
UBIKOBJS=\
@ -32,13 +46,29 @@ LIBOBJS =\
${CFGOBJS}
LIBCFGADMIN = ${DESTDIR}/lib/afs/libcfgadmin.a
all: ${TOP_INCDIR}/afs/afs_cfgAdmin.h ${TOP_LIBDIR}/libcfgadmin.a
system install: ${LIBCFGADMIN}
install: ${DESTDIR}${includedir}/afs/afs_cfgAdmin.h ${DESTDIR}${libdir}/afs/libcfgadmin.a
${LIBCFGADMIN}: libcfgadmin.a
${INSTALL} afs_cfgAdmin.h ${DESTDIR}/include/afs
${INSTALL} libcfgadmin.a ${LIBCFGADMIN}
dest: ${DEST}/include/afs/afs_cfgAdmin.h ${DEST}/lib/afs/libcfgadmin.a
${TOP_INCDIR}/afs/afs_cfgAdmin.h: afs_cfgAdmin.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/afs_cfgAdmin.h: afs_cfgAdmin.h
${INSTALL} $? $@
${DEST}/include/afs/afs_cfgAdmin.h: afs_cfgAdmin.h
${INSTALL} $? $@
${TOP_LIBDIR}/libcfgadmin.a: libcfgadmin.a
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libcfgadmin.a: libcfgadmin.a
${INSTALL} $? $@
${DEST}/lib/afs/libcfgadmin.a: libcfgadmin.a
${INSTALL} $? $@
libcfgadmin.a: ${LIBOBJS}
-$(RM) -f $@

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,19 +28,35 @@ SHELL = /bin/sh
include ../../config/Makefile.${SYS_NAME}
CC = ${MT_CC}
CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${MT_CFLAGS}
CFLAGS=${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${MT_CFLAGS}
ADMINOBJS = afs_clientAdmin.o
LIBOBJS = ${ADMINOBJS}
LIBCLIENTADMIN = ${DESTDIR}/lib/afs/libclientadmin.a
all: ${TOP_INCDIR}/afs/afs_clientAdmin.h ${TOP_LIBDIR}/libclientadmin.a
system install: ${LIBCLIENTADMIN}
install: ${DESTDIR}${includedir}/afs/afs_clientAdmin.h ${DESTDIR}${libdir}/afs/libclientadmin.a
${LIBCLIENTADMIN}: libclientadmin.a
${INSTALL} afs_clientAdmin.h ${DESTDIR}/include/afs
${INSTALL} libclientadmin.a ${LIBCLIENTADMIN}
dest: ${DEST}/include/afs/afs_clientAdmin.h ${DEST}/lib/afs/libclientadmin.a
${TOP_INCDIR}/afs/afs_clientAdmin.h: afs_clientAdmin.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/afs_clientAdmin.h: afs_clientAdmin.h
${INSTALL} $? $@
${DEST}/include/afs/afs_clientAdmin.h: afs_clientAdmin.h
${INSTALL} $? $@
${TOP_LIBDIR}/libclientadmin.a: libclientadmin.a
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libclientadmin.a: libclientadmin.a
${INSTALL} $? $@
${DEST}/lib/afs/libclientadmin.a: libclientadmin.a
${INSTALL} $? $@
libclientadmin.a: ${LIBOBJS}
-$(RM) -f $@

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,7 +28,7 @@ SHELL = /bin/sh
include ../../config/Makefile.${SYS_NAME}
CC = ${MT_CC}
CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${MT_CFLAGS}
CFLAGS=${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${MT_CFLAGS}
CCRULE = ${CC} ${CFLAGS} -c $?
KAUTH= ../../kauth/
@ -28,13 +42,29 @@ KAUTHOBJS = \
LIBOBJS = ${ADMINOBJS} ${KAUTHOBJS}
LIBKASADMIN = ${DESTDIR}/lib/afs/libkasadmin.a
all: ${TOP_INCDIR}/afs/afs_kasAdmin.h ${TOP_LIBDIR}/libkasadmin.a
system install: ${LIBKASADMIN}
install: ${DESTDIR}${includedir}/afs/afs_kasAdmin.h ${DESTDIR}${libdir}/afs/libkasadmin.a
${LIBKASADMIN}: libkasadmin.a
${INSTALL} afs_kasAdmin.h ${DESTDIR}/include/afs
${INSTALL} libkasadmin.a ${LIBKASADMIN}
dest: ${DEST}/include/afs/afs_kasAdmin.h ${DEST}/lib/afs/libkasadmin.a
${TOP_INCDIR}/afs/afs_kasAdmin.h: afs_kasAdmin.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/afs_kasAdmin.h: afs_kasAdmin.h
${INSTALL} $? $@
${DEST}/include/afs/afs_kasAdmin.h: afs_kasAdmin.h
${INSTALL} $? $@
${TOP_LIBDIR}/libkasadmin.a: libkasadmin.a
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libkasadmin.a: libkasadmin.a
${INSTALL} $? $@
${DEST}/lib/afs/libkasadmin.a: libkasadmin.a
${INSTALL} $? $@
libkasadmin.a: ${LIBOBJS}
-$(RM) -f $@

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,7 +28,7 @@ SHELL = /bin/sh
include ../../config/Makefile.${SYS_NAME}
CC = ${MT_CC}
CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${MT_CFLAGS}
CFLAGS=${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${MT_CFLAGS}
CCRULE = ${CC} ${CFLAGS} -c $?
PTSERVER = ../../ptserver/
@ -28,13 +42,29 @@ PTSERVEROBJS = \
LIBOBJS = ${ADMINOBJS} ${PTSERVEROBJS}
LIBPTSADMIN = ${DESTDIR}/lib/afs/libptsadmin.a
all: ${TOP_INCDIR}/afs/afs_ptsAdmin.h ${TOP_LIBDIR}/libptsadmin.a
system install: ${LIBPTSADMIN}
install: ${DESTDIR}${includedir}/afs/afs_ptsAdmin.h ${DESTDIR}${libdir}/afs/libptsadmin.a
${LIBPTSADMIN}: libptsadmin.a
${INSTALL} afs_ptsAdmin.h ${DESTDIR}/include/afs
${INSTALL} libptsadmin.a ${LIBPTSADMIN}
dest: ${DEST}/include/afs/afs_ptsAdmin.h ${DEST}/lib/afs/libptsadmin.a
${TOP_INCDIR}/afs/afs_ptsAdmin.h: afs_ptsAdmin.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/afs_ptsAdmin.h: afs_ptsAdmin.h
${INSTALL} $? $@
${DEST}/include/afs/afs_ptsAdmin.h: afs_ptsAdmin.h
${INSTALL} $? $@
${TOP_LIBDIR}/libptsadmin.a: libptsadmin.a
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libptsadmin.a: libptsadmin.a
${INSTALL} $? $@
${DEST}/lib/afs/libptsadmin.a: libptsadmin.a
${INSTALL} $? $@
libptsadmin.a: ${LIBOBJS}
-$(RM) -f $@

View File

@ -5,15 +5,27 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
include ../../config/Makefile.${SYS_NAME}
CC = ${MT_CC}
CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${MT_CFLAGS}
CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${MT_CFLAGS}
########################################################################
@ -43,12 +55,12 @@ SAMPLEPROGS=\
rxstat_query_process
SAMPLELIBS =\
${DESTDIR}/lib/afs/libafsadminutil.a \
${DESTDIR}/lib/afs/libclientadmin.a \
${DESTDIR}/lib/afs/libvosadmin.a \
${DESTDIR}/lib/afs/libbosadmin.a \
${DESTDIR}/lib/libafsauthent.a \
${DESTDIR}/lib/libafsrpc.a
${TOP_LIBDIR}/libafsadminutil.a \
${TOP_LIBDIR}/libclientadmin.a \
${TOP_LIBDIR}/libvosadmin.a \
${TOP_LIBDIR}/libbosadmin.a \
${TOP_LIBDIR}/libafsauthent.a \
${TOP_LIBDIR}/libafsrpc.a
cm_client_config: cm_client_config.o $(SAMPLELIBS)
$(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
@ -114,7 +126,12 @@ rxstat_query_process: rxstat_query_process.o $(SAMPLELIBS)
$(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
#######################################################################
install test tests: $(SAMPLEPROGS)
all test tests: $(SAMPLEPROGS)
install:
dest:
clean:
$(RM) -f *.o $(SAMPLEPROGS) core

View File

@ -5,30 +5,42 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
include ../../config/Makefile.${SYS_NAME}
CC = ${MT_CC}
CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${MT_CFLAGS}
CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${MT_CFLAGS}
########################################################################
# build tests
AFSCPLIBS =\
$(DESTDIR)/lib/afs/libafsadminutil.a \
$(DESTDIR)/lib/afs/libclientadmin.a \
$(DESTDIR)/lib/afs/libbosadmin.a \
$(DESTDIR)/lib/afs/libvosadmin.a \
$(DESTDIR)/lib/afs/libkasadmin.a \
$(DESTDIR)/lib/afs/libptsadmin.a \
$(DESTDIR)/lib/libafsauthent.a \
$(DESTDIR)/lib/libafsrpc.a \
$(DESTDIR)/lib/afs/libcmd.a # static library
$(TOP_LIBDIR)/libafsadminutil.a \
$(TOP_LIBDIR)/libclientadmin.a \
$(TOP_LIBDIR)/libbosadmin.a \
$(TOP_LIBDIR)/libvosadmin.a \
$(TOP_LIBDIR)/libkasadmin.a \
$(TOP_LIBDIR)/libptsadmin.a \
$(TOP_LIBDIR)/libafsauthent.a \
$(TOP_LIBDIR)/libafsrpc.a \
$(TOP_LIBDIR)/libcmd.a # static library
AFSCPOBJS =\
bos.o \
@ -40,10 +52,14 @@ AFSCPOBJS =\
afscp: afscp.o $(AFSCPOBJS) $(AFSCPLIBS)
$(CC) $(CFLAGS) -o afscp afscp.o $(AFSCPOBJS) \
-LDEST/lib/afs $(AFSCPLIBS) ${MTLIBS} $(XLIBS)
-L${TOP_LIBDIR} $(AFSCPLIBS) ${MTLIBS} $(XLIBS)
#######################################################################
install test tests: afscp
all test tests: afscp
install:
dest:
clean:
$(RM) -f *.o afscp core

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -14,7 +28,7 @@ SHELL = /bin/sh
include ../../config/Makefile.${SYS_NAME}
CC = ${MT_CC}
CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${MT_CFLAGS}
CFLAGS=${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${MT_CFLAGS}
CCRULE = ${CC} ${CFLAGS} -c $?
VLSERVER = ../../vlserver/
@ -41,13 +55,33 @@ FSINTOBJS =\
LIBOBJS = ${ADMINOBJS} ${VLSERVEROBJS} ${VOLSEROBJS} ${FSINTOBJS}
LIBVOSADMIN = ${DESTDIR}/lib/afs/libvosadmin.a
LIBVOSADMIN=${TOP_LIBDIR}/libvosadmin.a
system install: ${LIBVOSADMIN}
all: ${TOP_INCDIR}/afs/afs_vosAdmin.h ${TOP_LIBDIR}/libvosadmin.a
install: ${DESTDIR}${includedir}/afs/afs_vosAdmin.h ${DESTDIR}${libdir}/afs/libvosadmin.a
dest: ${DEST}/include/afs/afs_vosAdmin.h ${DEST}/lib/afs/libvosadmin.a
${TOP_INCDIR}/afs/afs_vosAdmin.h: afs_vosAdmin.h
${INSTALL} $? $@
${DESTDIR}${includedir}/afs/afs_vosAdmin.h: afs_vosAdmin.h
${INSTALL} $? $@
${DEST}/include/afs/afs_vosAdmin.h: afs_vosAdmin.h
${INSTALL} $? $@
${TOP_LIBDIR}/libvosadmin.a: libvosadmin.a
${INSTALL} $? $@
${DESTDIR}${libdir}/afs/libvosadmin.a: libvosadmin.a
${INSTALL} $? $@
${DEST}/lib/afs/libvosadmin.a: libvosadmin.a
${INSTALL} $? $@
${LIBVOSADMIN}: libvosadmin.a
${INSTALL} afs_vosAdmin.h ${DESTDIR}/include/afs
${INSTALL} libvosadmin.a ${LIBVOSADMIN}
libvosadmin.a: ${LIBOBJS}
-$(RM) -f $@

View File

@ -38,16 +38,18 @@ system: all
kinstall: install
install: all $(INSTDIRS)
dest: all $(DESTDIRS)
all: setup $(COMPDIRS)
single_compdir single_instdir:
single_compdir single_instdir single_destdir:
cd $(KOBJ) ; \
echo $(MAKE) DESTDIR=${DESTDIR} $@_libafs; \
$(MAKE) DESTDIR=${DESTDIR} $@_libafs;
single_compdir_libafs: libafs
single_instdir_libafs: install_libafs
single_destdir_libafs: dest_libafs
AFSAOBJS = \
afs_atomlist.o \

View File

@ -7,9 +7,22 @@
# MakefileProto for AIX systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
TOP_SRCDIR=@TOP_SRCDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
afskerneldir=@afskerneldir@
SYS_NAME=@AFS_SYSNAME@
include config/Makefile.${SYS_NAME}
@ -52,7 +65,7 @@ OPT2 = -O
IMPORTS = -bI:/lib/kernex.exp -bI:/lib/syscalls.exp -bI:/lib/sockets.exp \
-bI:/lib/netinet.exp \
-bI:${DESTDIR}/lib/afs/extras.exp -bI:${DESTDIR}/lib/afs/export.exp
-bI:${TOP_LIBDIR}/extras.exp -bI:${TOP_LIBDIR}/export.exp
KDEFS = -U_IBMR2 -D_POWER -D_AIX -DNLS -D_NLS -DMSG -D__STR31__ -Daiws \
-D_POWER_RS -D_POWER_PC -D_POWER_RS1 -D_POWER_RS2 -D_POWER_RSC \
-D_POWER_601 -D_POWER_603 -D_POWER_604 -D_THREADS -M -D_KERNEL \
@ -60,7 +73,7 @@ KDEFS = -U_IBMR2 -D_POWER -D_AIX -DNLS -D_NLS -DMSG -D__STR31__ -Daiws \
-DGETMOUNT -H8 -DAFS -DAFS_COMMON -D_VOPS -D_SUN -DKERNEL
LDSTUFF= -b"binder:/usr/lib/bind glink:/usr/lib/glink.o" -bnoentry -b h:4 \
-D0 -T512
LDFLAGS = -m -eafs_config -bexport:${DESTDIR}/lib/afs/afs.exp ${IMPORTS} \
LDFLAGS = -m -eafs_config -bexport:${TOP_LIBDIR}/afs.exp ${IMPORTS} \
-lsys -lcsys
CFLAGS=-I. -I.. -I${TOP_SRCDIR}/config ${FSINCLUDES} $(KDEFS) $(KOPTS) ${DBUG}
@ -71,6 +84,7 @@ KOBJ = MODLOAD
# This tells Makefile.common to use it's single directory build target.
COMPDIRS = single_compdir
INSTDIRS = single_instdir
DESTDIRS = single_destdir
include Makefile.common
@ -90,21 +104,20 @@ setup:
ln -s /usr/include/jfs ufs
# Standard AFS->NFS translator support is removed in AFS 3.5 in favor of
# the iauth authentication mechanism. The model was changed by IBM in the
# middle of an OS release. So iauth is only supported on AIX 4.1.5 and
# later 4.1.x (if they are ever made) and AIX 4.2.1 (and later AIX 4.2.x if
# they are ever made. AIX 4.3 also uses the iauth translator.
CLIENTDIR = $(DESTDIR)root.client/usr/vice/etc/dkload
LIBAFSIAUTH = afs.ext.iauth
LIBAFS = afs.ext
DEST_LIBAFSIAUTH = $(CLIENTDIR)/$(LIBAFSIAUTH)
DEST_LIBAFS = $(CLIENTDIR)/$(LIBAFS)
DEST_LIBAFSIAUTH = $(DEST)root.client/usr/vice/etc/dkload/$(LIBAFSIAUTH)
DEST_LIBAFS = $(DEST)root.client/usr/vice/etc/dkload/$(LIBAFS)
INST_LIBAFSIAUTH = ${DESTDIR}${afskerneldir}/$(LIBAFSIAUTH)
INST_LIBAFS = ${DESTDIR}${afskerneldir}/$(LIBAFS)
$(DEST_LIBAFS): $(LIBAFS)
$(INSTALL) -f $? $@
@ -116,6 +129,15 @@ $(DEST_LIBAFSIAUTH): $(LIBAFSIAUTH)
-${STRIP} $@
$(INSTALL) -f $?.map $@.map
$(INST_LIBAFS): $(LIBAFS)
$(INSTALL) -f $? $@
-${STRIP} $@
$(INSTALL) -f $?.map $@.map
$(INST_LIBAFSIAUTH): $(LIBAFSIAUTH)
$(INSTALL) -f $? $@
-${STRIP} $@
$(INSTALL) -f $?.map $@.map
$(LIBAFSIAUTH): $(AFSAOBJS) $(AFSIAUTHOBJS)
@ -129,7 +151,8 @@ $(LIBAFS): $(AFSAOBJS) $(AFSNOIAUTHOBJS)
${AFSAOBJS} $(AFSNOIAUTHOBJS) ${LIBS} ${LDFLAGS}
libafs: $(LIBAFS) $(LIBAFSIAUTH)
install_libafs: $(DEST_LIBAFS) $(DEST_LIBAFSIAUTH)
install_libafs: $(INST_LIBAFS) $(INST_LIBAFSIAUTH)
dest_libafs: $(DEST_LIBAFS) $(DEST_LIBAFSIAUTH)
# Object build rules:

View File

@ -3,9 +3,22 @@
#
# MakefileProto for Digital Unix systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
TOP_SRCDIR=@TOP_SRCDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
afskerneldir=@afskerneldir@
SYS_NAME=@AFS_SYSNAME@
include config/Makefile.${SYS_NAME}
@ -49,6 +62,7 @@ KOBJ = MODLOAD
# This tells Makefile.common to use it's single directory build target.
COMPDIRS = single_compdir
INSTDIRS = single_instdir
DESTDIRS = single_destdir
include Makefile.common
@ -73,14 +87,23 @@ setup:
LIBAFS = libafs.o
LIBAFSNONFS = libafs.nonfs.o
DEST_LIBAFS = ${DESTDIR}/root.client/usr/vice/etc/afs.kext/Contents/MacOS/afs-nfs
DEST_LIBAFSNONFS = ${DESTDIR}/root.client/usr/vice/etc/afs.kext/Contents/MacOS/afs
INST_LIBAFS = ${DESTDIR}${afskerneldir}/afs-nfs
INST_LIBAFSNONFS = ${DESTDIR}${afskerneldir}/afs
DEST_LIBAFS = ${DEST}/root.client/usr/vice/etc/afs.kext/Contents/MacOS/afs-nfs
DEST_LIBAFSNONFS = ${DEST}/root.client/usr/vice/etc/afs.kext/Contents/MacOS/afs
libafs: $(LIBAFSNONFS) ;
install_libafs: $(DEST_LIBAFSNONFS) ;
install_libafs: $(INST_LIBAFSNONFS) ;
dest_libafs: $(DEST_LIBAFSNONFS) ;
$(INST_LIBAFS): $(LIBAFS)
$(INSTALL) -f $? $@
$(INST_LIBAFSNONFS): $(LIBAFSNONFS)
$(INSTALL) -f $? $@
$(DEST_LIBAFS): $(LIBAFS)
$(INSTALL) -f $? $@

View File

@ -7,9 +7,22 @@
# MakefileProto for Digital Unix systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
TOP_SRCDIR=@TOP_SRCDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
afskerneldir=@afskerneldir@
SYS_NAME=@AFS_SYSNAME@
include config/Makefile.${SYS_NAME}
@ -52,6 +65,7 @@ KOBJ = STATIC
# This tells Makefile.common to use it's single directory build target.
COMPDIRS = single_compdir
INSTDIRS = single_instdir
DESTDIRS = single_destdir
include Makefile.common
@ -79,18 +93,30 @@ LIBAFS = libafs.o
LIBAFSNONFS = libafs.nonfs.o
AFSMOD = afs.mod
DEST_LIBAFS = ${DESTDIR}/root.client/bin/${LIBAFS}
DEST_LIBAFSNONFS = ${DESTDIR}/root.client/bin/${LIBAFSNONFS}
DEST_AFSMOD = ${DESTDIR}/root.client/bin/${AFSMOD}
INST_LIBAFS = ${DESTDIR}${afskerneldir}/${LIBAFS}
INST_LIBAFSNONFS = ${DESTDIR}${afskerneldir}/${LIBAFSNONFS}
INST_AFSMOD = ${DESTDIR}${afskerneldir}/${AFSMOD}
DEST_LIBAFS = ${DEST}/root.client/bin/${LIBAFS}
DEST_LIBAFSNONFS = ${DEST}/root.client/bin/${LIBAFSNONFS}
DEST_AFSMOD = ${DEST}/root.client/bin/${AFSMOD}
# libafs: ${DEST_LIBAFS} ${DEST_LIBAFSNONFS} ${DEST_AFSMOD}
.PHONY: libafs install_libafs
libafs: ${LIBAFSNONFS} ${AFSMOD}
install_libafs: ${DEST_LIBAFSNONFS} ${DEST_AFSMOD}
install_libafs: ${INST_LIBAFSNONFS} ${INST_AFSMOD}
dest_libafs: ${DEST_LIBAFSNONFS} ${DEST_AFSMOD}
${INST_LIBAFS}: ${LIBAFS}
$(INSTALL) -f $? $@
${INST_LIBAFSNONFS}: ${LIBAFSNONFS}
$(INSTALL) -f $? $@
${INST_AFSMOD}: ${AFSMOD}
$(INSTALL) -f $? $@
${DEST_LIBAFS}: ${LIBAFS}
$(INSTALL) -f $? $@

View File

@ -2,9 +2,22 @@
#
# MakefileProto for FreeBSD systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
TOP_SRCDIR=@TOP_SRCDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
afskerneldir=@afskerneldir@
SYS_NAME=@AFS_SYSNAME@
# include config/Makefile.${SYS_NAME}
@ -47,6 +60,7 @@ KOBJ = STATIC
# This tells Makefile.common to use it's single directory build target.
COMPDIRS = single_compdir
INSTDIRS = single_instdir
DESTDIRS = single_destdir
include Makefile.common
@ -73,20 +87,34 @@ setup:
LIBAFS = libafs.o
LIBAFSNONFS = libafs.nonfs.o
DEST_LIBAFS = ${DESTDIR}/root.client/bin/${LIBAFS}
DEST_LIBAFSNONFS = ${DESTDIR}/root.client/bin/${LIBAFSNONFS}
INST_LIBAFS ${DESTDIR}${afskerneldir}/${LIBAFS}
INST_LIBAFSNONFS = ${DESTDIR}${afskerneldir}/${LIBAFSNONFS}
DEST_LIBAFS = ${DEST}/root.client/bin/${LIBAFS}
DEST_LIBAFSNONFS = ${DEST}/root.client/bin/${LIBAFSNONFS}
# libafs: $(LIBAFS) $(LIBAFSNONFS)
# libafs: $(LIBAFSNONFS)
# install_libafs: $(DEST_LIBAFS) $(DEST_LIBAFSNONFS)
# install_libafs: $(DEST_LIBAFSNONFS)
# install_libafs: $(INST_LIBAFS) $(INST_LIBAFSNONFS)
# install_libafs: $(INST_LIBAFSNONFS)
# dest_libafs: $(DEST_LIBAFS) $(DEST_LIBAFSNONFS)
# dest_libafs: $(DEST_LIBAFSNONFS)
libafs:
echo WARNING: No kernel module for ${SYS_NAME}
install_libafs:
echo WARNING: No kernel module for ${SYS_NAME}
dest_libafs:
echo WARNING: No kernel module for ${SYS_NAME}
$(INST_LIBAFS): $(LIBAFS)
$(INSTALL) -f $? $@
$(INST_LIBAFSNONFS): $(LIBAFSNONFS)
$(INSTALL) -f $? $@
$(DEST_LIBAFS): $(LIBAFS)
$(INSTALL) -f $? $@

View File

@ -7,9 +7,22 @@
# MakefileProto for HP systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
TOP_SRCDIR=@TOP_SRCDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
afskerneldir=@afskerneldir@
SYS_NAME=@AFS_SYSNAME@
include config/Makefile.${SYS_NAME}
@ -74,6 +87,7 @@ KOBJ=STATIC
# This is the hpux multiple directory target.
COMPDIRS = hpux_compdirs
INSTDIRS = hpux_instdirs
DESTDIRS = hpux_destdirs
include Makefile.common
@ -105,7 +119,7 @@ setup:
echo Setup complete.
# Compile the clients.
${COMPDIRS} ${INSTDIRS}:
${COMPDIRS} ${INSTDIRS} ${DESTDIRS}:
if false; then \
for b in $(BITS); do \
for t in $(KOBJ); do \
@ -124,20 +138,29 @@ ${COMPDIRS} ${INSTDIRS}:
hpux_compdirs_libafs: libafs
hpux_instdirs_libafs: install_libafs
hpux_destdirs_libafs: dest_libafs
# Below this line are targets when in the static directory:
LIBAFS = libafs$(BITSUFFIX).a
LIBAFSNONFS = libafs$(BITSUFFIX).nonfs.a
INST_LIBAFS = ${DESTDIR}${afskerneldir}/${LIBAFS}
INST_LIBAFSNONFS = ${DESTDIR}${afskerneldir}/${LIBAFSNONFS}
DEST_LIBAFS = ${DESTDIR}/root.client/bin/${LIBAFS}
DEST_LIBAFSNONFS = ${DESTDIR}/root.client/bin/${LIBAFSNONFS}
DEST_LIBAFS = ${DEST}/root.client/bin/${LIBAFS}
DEST_LIBAFSNONFS = ${DEST}/root.client/bin/${LIBAFSNONFS}
# libafs: ${DEST_LIBAFS} ${DEST_LIBAFSNONFS}
libafs: ${LIBAFSNONFS}
install_libafs: ${DEST_LIBAFSNONFS}
install_libafs: ${INST_LIBAFSNONFS}
dest_libafs: ${DEST_LIBAFSNONFS}
$(INST_LIBAFS): $(LIBAFS)
${INSTALL} -f $? $@
$(INST_LIBAFSNONFS): $(LIBAFSNONFS)
${INSTALL} -f $? $@
$(DEST_LIBAFS): $(LIBAFS)
${INSTALL} -f $? $@

View File

@ -7,9 +7,22 @@
# MakefileProto for IRIX systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
TOP_SRCDIR=@TOP_SRCDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
afskerneldir=@afskerneldir@
SYS_NAME=@AFS_SYSNAME@
include config/Makefile.${SYS_NAME}
@ -200,6 +213,7 @@ CFLAGS=-I. -I.. -I${TOP_SRCDIR}/config ${FSINCLUDES} $(DEFINES) -G 0 $(KDEFS) $(
# This is the irix multiple directory target.
COMPDIRS = irix_compdirs
INSTDIRS = irix_instdirs
DESTDIRS = irix_destdirs
include Makefile.common
@ -223,7 +237,6 @@ setup:
-ln -s /usr/include/net /usr/include/netinet .
-ln -s /usr/include/rpc /usr/include/sys .
-ln -s /usr/include/sys/fs .
-mkdir ${DESTDIR}/root.client/bin
<all -sgi_65>
BUILDPROCS="${PROCESSORS}" ; \
BUILDMPS="${MPS}" ; \
@ -266,7 +279,7 @@ setup:
# Compile static and modload versions of the clients.
<all -sgi_65>
${COMPDIRS} ${INSTDIRS}:
${COMPDIRS} ${INSTDIRS} ${DESTDIRS}:
BUILDPROCS="${PROCESSORS}" ; \
if [ "${CPUARCH}" != "" ] ; then \
BUILDPROCS=${CPUARCH}; \
@ -316,7 +329,7 @@ ${COMPDIRS} ${INSTDIRS}:
done; \
done
<sgi_65>
${COMPDIRS} ${INSTDIRS}:
${COMPDIRS} ${INSTDIRS} ${DESTDIRS}:
BUILDPROCS="${PROCESSORS}" ; \
if [ "${IPNO}" != "" ] ; then \
BUILDPROCS="${IPNO}"; \
@ -357,69 +370,109 @@ irix_compdirs_STATIC.libafs: STATIC.libafs
irix_compdirs_MODLOAD.libafs: MODLOAD.libafs
irix_instdirs_STATIC.libafs: install_STATIC.libafs
irix_instdirs_MODLOAD.libafs: install_MODLOAD.libafs
irix_destdirs_STATIC.libafs: dest_STATIC.libafs
irix_destdirs_MODLOAD.libafs: dest_MODLOAD.libafs
${INSTDIRS}: install_COPYFILES install_LINKFILES
${DESTDIRS}: dest_COPYFILES dest_LINKFILES
LIBAFSNONFSA = libafs.nonfs.a
COPYFILES = copyfiles
LINKFILES = linkfiles
${INSTDIRS}: ${COPYFILES} ${LINKFILES}
STATICCLIENTDIR = ${DESTDIR}/root.client/bin
MODLOADCLIENTDIR = ${DESTDIR}/root.client/usr/vice/etc/sgiload
# Make the NFS and no-NFS clients for this directory.
# STATIC.libafs: ${LIBAFSNONFSA} ${COPYFILES} ${LINKFILES}
STATIC.libafs: ${LIBAFSNONFSA}
install_STATIC.libafs: ${LIBAFSNONFSA}
<all -sgi_65>
${CP} ${LIBAFSNONFSA} \
${STATICCLIENTDIR}/libafs.${MPSP}.${CPUARCH}.nonfs.a
${DESTDIR}${afskerneldir}/libafs.${MPSP}.${CPUARCH}.nonfs.a
<sgi_65>
${CP} ${LIBAFSNONFSA} \
${STATICCLIENTDIR}/libafs.${IPNO}.nonfs.a
${DESTDIR}${afskerneldir}/libafs.${IPNO}.nonfs.a
<all>
dest_STATIC.libafs: ${LIBAFSNONFSA}
<all -sgi_65>
${CP} ${LIBAFSNONFSA} \
${DEST}/root.client/bin/libafs.${MPSP}.${CPUARCH}.nonfs.a
<sgi_65>
${CP} ${LIBAFSNONFSA} \
${DEST}/root.client/bin/libafs.${IPNO}.nonfs.a
<all>
${LIBAFSNONFSA}: $(AFSAOBJS) $(AFSNONFSOBJS)
$(AR) cru $@ $?
LIBAFSNONFSO = libafs.nonfs.o
# MODLOAD.libafs: ${LIBAFSNONFSO} ${COPYFILES} ${LINKFILES}
MODLOAD.libafs: ${LIBAFSNONFSO}
install_MODLOAD.libafs: ${LIBAFSNONFSO}
<all -sgi_65>
${CP} ${LIBAFSNONFSO} \
${MODLOADCLIENTDIR}/libafs.${MPSP}.${CPUARCH}.nonfs.o
${DESTDIR}${afskerneldir}/libafs.${MPSP}.${CPUARCH}.nonfs.o
<sgi_65>
${CP} ${LIBAFSNONFSO} \
${MODLOADCLIENTDIR}/libafs.${IPNO}.nonfs.o
${DESTDIR}${afskerneldir}/libafs.${IPNO}.nonfs.o
<all>
dest_MODLOAD.libafs: ${LIBAFSNONFSO}
<all -sgi_65>
${CP} ${LIBAFSNONFSO} \
${DESTDIR}/root.client/usr/vice/etc/sgiload/libafs.${MPSP}.${CPUARCH}.nonfs.o
<sgi_65>
${CP} ${LIBAFSNONFSO} \
${DESTDIR}/root.client/usr/vice/etc/sgiload/libafs.${IPNO}.nonfs.o
<all>
${LIBAFSNONFSO}: $(AFSAOBJS) $(AFSNONFSOBJS)
$(LD) ${LDFLAGS} -elf -r -d -G 0 -o ${LIBAFSNONFSO} \
$(AFSAOBJS) $(AFSNONFSOBJS)
${COPYFILES}:
${CP} sgi_system ${STATICCLIENTDIR}/afs.sm
chmod 644 ${STATICCLIENTDIR}/afs.sm
${CP} sgi_master ${STATICCLIENTDIR}/afs
chmod 644 ${STATICCLIENTDIR}/afs
install_COPYFILES:
${CP} sgi_system ${DESTDIR}${afskerneldir}/afs.sm
chmod 644 ${DESTDIR}${afskerneldir}/afs.sm
${CP} sgi_master ${DESTDIR}${afskerneldir}/afs
chmod 644 ${DESTDIR}${afskerneldir}/afs
dest_COPYFILES:
${CP} sgi_system ${DEST}/root.client/bin/afs.sm
chmod 644 ${DEST}/root.client/bin/afs.sm
${CP} sgi_master ${DEST}/root.client/bin/afs
chmod 644 ${DEST}/root.client/bin/afs
# Create symlinks to clients we don't need to build.
# If this changes, also change the kdump symlinks.
${LINKFILES}:
install_LINKFILES:
<sgi_65>
ln -fs libafs.IP20.a ${DESTDIR}/root.client/bin/libafs.IP22.a
ln -fs libafs.IP20.a ${DESTDIR}/root.client/bin/libafs.IP32.a
ln -fs libafs.IP20.nonfs.a ${DESTDIR}/root.client/bin/libafs.IP22.nonfs.a
ln -fs libafs.IP20.nonfs.a ${DESTDIR}/root.client/bin/libafs.IP32.nonfs.a
ln -fs libafs.IP20.o ${DESTDIR}/root.client/usr/vice/etc/sgiload/libafs.IP22.o
ln -fs libafs.IP20.o ${DESTDIR}/root.client/usr/vice/etc/sgiload/libafs.IP32.o
ln -fs libafs.IP20.nonfs.o ${DESTDIR}/root.client/usr/vice/etc/sgiload/libafs.IP22.nonfs.o
ln -fs libafs.IP20.nonfs.o ${DESTDIR}/root.client/usr/vice/etc/sgiload/libafs.IP32.nonfs.o
ln -fs libafs.IP20.a ${DESTDIR}${afskerneldir}/libafs.IP22.a
ln -fs libafs.IP20.a ${DESTDIR}${afskerneldir}/libafs.IP32.a
ln -fs libafs.IP20.nonfs.a ${DESTDIR}${afskerneldir}/libafs.IP22.nonfs.a
ln -fs libafs.IP20.nonfs.a ${DESTDIR}${afskerneldir}/libafs.IP32.nonfs.a
ln -fs libafs.IP20.o ${DESTDIR}${afskerneldir}/libafs.IP22.o
ln -fs libafs.IP20.o ${DESTDIR}${afskerneldir}/libafs.IP32.o
ln -fs libafs.IP20.nonfs.o ${DESTDIR}${afskerneldir}/libafs.IP22.nonfs.o
ln -fs libafs.IP20.nonfs.o ${DESTDIR}${afskerneldir}/libafs.IP32.nonfs.o
<all>
# Create symlinks to clients we don't need to build.
# If this changes, also change the kdump symlinks.
dest_LINKFILES:
<sgi_65>
ln -fs libafs.IP20.a ${DEST}/root.client/bin/libafs.IP22.a
ln -fs libafs.IP20.a ${DEST}/root.client/bin/libafs.IP32.a
ln -fs libafs.IP20.nonfs.a ${DEST}/root.client/bin/libafs.IP22.nonfs.a
ln -fs libafs.IP20.nonfs.a ${DEST}/root.client/bin/libafs.IP32.nonfs.a
ln -fs libafs.IP20.o ${DEST}/root.client/usr/vice/etc/sgiload/libafs.IP22.o
ln -fs libafs.IP20.o ${DEST}/root.client/usr/vice/etc/sgiload/libafs.IP32.o
ln -fs libafs.IP20.nonfs.o ${DEST}/root.client/usr/vice/etc/sgiload/libafs.IP22.nonfs.o
ln -fs libafs.IP20.nonfs.o ${DEST}/root.client/usr/vice/etc/sgiload/libafs.IP32.nonfs.o
<all>
# Object build rules:

View File

@ -7,9 +7,22 @@
# MakefileProto for Linux i386 systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
TOP_SRCDIR=@TOP_SRCDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
afskerneldir=@afskerneldir@
SYS_NAME=@AFS_SYSNAME@
include config/Makefile.${SYS_NAME}
@ -84,6 +97,7 @@ MPS = @MPS@
# COMPDIRS is called in Makefile.common to do the actual builds.
COMPDIRS=linux_compdirs
INSTDIRS=linux_instdirs
DESTDIRS=linux_destdirs
include Makefile.common
@ -105,7 +119,7 @@ setup:
# Compile SP and MP clients as requested
${COMPDIRS} ${INSTDIRS}:
${COMPDIRS} ${INSTDIRS} ${DESTDIRS}:
$(RM) -f h
ln -s ${LINUX_KERNEL_PATH}/include/linux h
$(RM) -f linux
@ -145,7 +159,7 @@ ${COMPDIRS} ${INSTDIRS}:
TARG=libafs ; \
fi ; \
cd $${KDIR} ; \
$(MAKE) SMP_DEF="$${SMP_DEF}" $${TARG} CLIENT=${LINUX_VERS}${LINUX_MODULE_NAME} || exit $$?; \
$(MAKE) SMP_DEF="$${SMP_DEF}" $@_$${TARG} CLIENT=${LINUX_VERS}${LINUX_MODULE_NAME} || exit $$?; \
cd ../ ; \
done
@ -153,6 +167,8 @@ linux_compdirs_libafs: libafs
linux_compdirs_libafs.mp: libafs.mp
linux_instdirs_libafs: install_libafs
linux_instdirs_libafs.mp: install_libafs.mp
linux_destdirs_libafs: dest_libafs
linux_destdirs_libafs.mp: dest_libafs.mp
# Below this line are targets when in the COMMON directory:
@ -160,8 +176,11 @@ linux_instdirs_libafs.mp: install_libafs.mp
LIBAFS = libafs-${CLIENT}.o
LIBAFS_MP = libafs-${CLIENT}.mp.o
DEST_LIBAFS = ${DESTDIR}/root.client/usr/vice/etc/modload/${LIBAFS}
DEST_LIBAFS_MP = ${DESTDIR}/root.client/usr/vice/etc/modload/${LIBAFS_MP}
INST_LIBAFS = ${DESTDIR}${afskerneldir}/${LIBAFS}
INST_LIBAFS_MP = ${DESTDIR}${afskerneldir}/${LIBAFS_MP}
DEST_LIBAFS = ${DEST}/root.client/usr/vice/etc/modload/${LIBAFS}
DEST_LIBAFS_MP = ${DEST}/root.client/usr/vice/etc/modload/${LIBAFS_MP}
libafs: $(LIBAFS)
@ -178,12 +197,24 @@ ${LIBAFS_MP}: $(AFSAOBJS) $(AFSNONFSOBJS)
$(RM) -f $@
$(LD) -r -o $@ $(AFSAOBJS) $(AFSNONFSOBJS)
install_libafs: $(DEST_LIBAFS)
install_libafs: $(INST_LIBAFS)
echo SP Install Complete
install_libafs.mp: $(DEST_LIBAFS_MP)
install_libafs.mp: $(INST_LIBAFS_MP)
echo MP Install Complete
dest_libafs: $(DEST_LIBAFS)
echo SP Install Complete
dest_libafs.mp: $(DEST_LIBAFS_MP)
echo MP Install Complete
$(INST_LIBAFS): $(LIBAFS)
${INSTALL} -f $? $@
$(INST_LIBAFS_MP): $(LIBAFS_MP)
${INSTALL} -f $? $@
$(DEST_LIBAFS): $(LIBAFS)
${INSTALL} -f $? $@

View File

@ -7,9 +7,22 @@
# MakefileProto for Solaris systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
TOP_SRCDIR=@TOP_SRCDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
afskerneldir=@afskerneldir@
SYS_NAME=@AFS_SYSNAME@
include config/Makefile.${SYS_NAME}
@ -57,10 +70,12 @@ KOBJ = MODLOAD32 MODLOAD64
<all -sun4x_57 -sun4x_58>
COMPDIRS = single_compdir
INSTDIRS = single_instdir
DESTDIRS = single_destdir
<sun4x_57 sun4x_58>
COMPDIRS = solaris_compdirs
INSTDIRS = solaris_instdirs
DESTDIRS = solaris_destdirs
<all>
include Makefile.common
@ -90,7 +105,7 @@ setup:
## the 64 bit libafs in MODLOAD32 and MODLOAD64 directories respectively
<sun4x_57 sun4x_58>
${COMPDIRS} ${INSTDIRS}:
${COMPDIRS} ${INSTDIRS} ${DESTDIRS}:
for t in ${KOBJ} ; do \
echo Building directory: $$t ; \
case $$t in \
@ -110,6 +125,7 @@ ${COMPDIRS} ${INSTDIRS}:
solaris_compdirs_libafs: libafs
solaris_instdirs_libafs: install_libafs
solaris_destdirs_libafs: dest_libafs
<all>
@ -118,17 +134,26 @@ LIBAFS = libafs.o
LIBAFSNONFS = libafs.nonfs.o
<all -sun4x_57 -sun4x_58>
DEST_LIBAFS = ${DESTDIR}/root.client/usr/vice/etc/modload/${LIBAFS}
DEST_LIBAFSNONFS = ${DESTDIR}/root.client/usr/vice/etc/modload/${LIBAFSNONFS}
INST_LIBAFS = ${DESTDIR}${afskerneldir}/${LIBAFS}
INST_LIBAFSNONFS = ${DESTDIR}${afskerneldir}/${LIBAFSNONFS}
DEST_LIBAFS = ${DEST}/root.client/usr/vice/etc/modload/${LIBAFS}
DEST_LIBAFSNONFS = ${DEST}/root.client/usr/vice/etc/modload/${LIBAFSNONFS}
# Without this line, gmake tries to build libafs.o
.PHONY: libafs
# libafs: $(DEST_LIBAFS) $(DEST_LIBAFSNONFS)
libafs: $(LIBAFSNONFS)
install_libafs: $(DEST_LIBAFSNONFS)
install_libafs: $(INST_LIBAFSNONFS)
dest_libafs: $(DEST_LIBAFSNONFS)
$(INST_LIBAFS): $(LIBAFS)
${INSTALL} -f $? $@
$(INST_LIBAFSNONFS): $(LIBAFSNONFS)
${INSTALL} -f $? $@
$(DEST_LIBAFS): $(LIBAFS)
${INSTALL} -f $? $@
@ -145,11 +170,14 @@ ${LIBAFSNONFS}: $(AFSAOBJS) $(AFSNONFSOBJS)
$(LD) -r -o $@ $(AFSAOBJS) ${AFSNONFSOBJS}
<sun4x_57 sun4x_58>
MODLOADDIR = ${DESTDIR}/root.client/usr/vice/etc/modload
libafs: ${LIBAFSNONFS}
install_libafs: ${LIBAFSNONFS}
${INSTALL} -f ${LIBAFSNONFS} ${MODLOADDIR}/libafs${BITS}.nonfs.o
${INSTALL} -f ${LIBAFSNONFS} ${DESTDIR}${afskerneldir}/libafs${BITS}.nonfs.o
dest_libafs: ${LIBAFSNONFS}
${INSTALL} -f ${LIBAFSNONFS} ${DEST}/root.client/usr/vice/etc/libafs${BITS}.nonfs.o
<all>

View File

@ -7,8 +7,22 @@
# This is a pthread safe library containing ubikclient, auth, kauth.
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -17,7 +31,7 @@ SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
CC=${MT_CC}
CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${MT_CFLAGS}
CFLAGS=${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${MT_CFLAGS}
CCRULE = ${CC} ${CFLAGS} -c $?
AUDIT= ../audit
@ -94,10 +108,12 @@ LIBOBJS = \
${PTSERVEROBJS} \
${SYSOBJS}
system install: ${DESTDIR}/lib/libafsauthent.a
all: ${TOP_LIBDIR}/libafsauthent.a
${DESTDIR}/lib/libafsauthent.a: libafsauthent.a
${INSTALL} libafsauthent.a ${DESTDIR}/lib/libafsauthent.a
install: ${DESTDIR}${libdir}/libafsauthent.a
${DEST}/lib/libafsauthent.a: libafsauthent.a
${INSTALL} $? $@
libafsauthent.a: ${LIBOBJS}
$(RM) -f $@
@ -242,3 +258,12 @@ rmtsysnet.o: ${SYS}/rmtsysnet.c
clean:
$(RM) -f *.o *.a libafsauthent*
${DESTDIR}${libdir}/libafsauthent.a: libafsauthent.a
${INSTALL} $? $@
${TOP_LIBDIR}/libafsauthent.a: libafsauthent.a
${INSTALL} $? $@
dest: ${DEST}/lib/libafsauthent.a

View File

@ -7,8 +7,22 @@
# This is a pthread safe library containing rx, rxkad and des.
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -17,9 +31,9 @@ SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
CC=${MT_CC}
INCLUDES = -I${SRCDIR}/include -I.. -I../rx
INCLUDES=-I${TOP_INCDIR} -I.. -I../rx
CFLAGS = ${OPTMZ} ${DBG} ${INCLUDES} -DRXDEBUG ${MT_CFLAGS} -I${TOP_SRCDIR}/config
SFLAGS=-P -I${SRCDIR}/include
SFLAGS=-P -I${TOP_INCDIR}
RX = ../rx
CCRULE = ${CC} ${CFLAGS} -c $?
RXKAD = ../rxkad
@ -114,10 +128,12 @@ LIBOBJS = \
${RXSTATOBJS} \
${FSINTOBJS}
system install: ${DESTDIR}/lib/libafsrpc.a
all: ${TOP_LIBDIR}/libafsrpc.a
${DESTDIR}/lib/libafsrpc.a: libafsrpc.a
${INSTALL} libafsrpc.a ${DESTDIR}/lib/libafsrpc.a
install: ${DESTDIR}${libdir}/libafsrpc.a
${DEST}/lib/libafsrpc.a: libafsrpc.a
${INSTALL} $? $@
libafsrpc.a: ${LIBOBJS}
$(RM) -f $@
@ -362,3 +378,11 @@ afsaux.o: ${FSINT}/afsaux.c
clean:
$(RM) -f *.o libafsrpc*
${DESTDIR}${libdir}/libafsrpc.a: libafsrpc.a
${INSTALL} $? $@
${TOP_LIBDIR}/libafsrpc.a: libafsrpc.a
${INSTALL} $? $@
dest: ${DEST}/lib/libafsrpc.a

View File

@ -21,28 +21,30 @@ NS_INCL =SRC/../afsweb/netscape_includes
# Build rules - CC and CFLAGS are defined in system specific MakefileProtos.
install: ukinstall
all: ${TOP_LIBDIR}/$(LIBUAFS) linktest
webinstall: AFSWEB/$(LIBAFSWEB) AFSWEB/$(LIBAFSWEBKRB)
${INSTALL} AFSWEB/$(LIBAFSWEB) ${DESTDIR}/root.afsweb/usr/lib
${INSTALL} AFSWEB/$(LIBAFSWEBKRB) ${DESTDIR}/root.afsweb/usr/lib
ukinsthdrs:
${INSTALL} afs/param.h ${DESTDIR}/root.perf/include/afs
${INSTALL} afs/stds.h ${DESTDIR}/root.perf/include/afs
${INSTALL} afs/afs_sysnames.h ${DESTDIR}/root.perf/include/afs
${INSTALL} afs/afs_stats.h ${DESTDIR}/root.perf/include/afs
${INSTALL} afs/sysincludes.h ${DESTDIR}/root.perf/include/afs
${INSTALL} afs/afs_usrops.h ${DESTDIR}/root.perf/include/afs
ukinstlibs:
${INSTALL} des/libdes.a ${DESTDIR}/root.perf/lib
${INSTALL} UAFS/$(LIBUAFS) ${DESTDIR}/root.perf/lib
ukinstall: ukinsthdrs UAFS/$(LIBUAFS) linktest ukinstlibs
webinstall: all \
${TOP_LIBDIR}/$(LIBAFSWEB) \
${TOP_LIBDIR}/$(LIBAFSWEBKRB)
linktest: UAFS/$(LIBUAFS) des/libdes.a
$(CC) $(TEST_CFLAGS) $(TEST_LDFLAGS) -o linktest linktest.c -I${TOP_SRCDIR}/config -I${DESTDIR}/include -I${DESTDIR}/include/rx -I${DESTDIR}/root.perf/include UAFS/$(LIBUAFS) des/libdes.a $(TEST_LIBS) $(XLIBS)
$(CC) $(TEST_CFLAGS) $(TEST_LDFLAGS) -o linktest linktest.c -I${TOP_SRCDIR}/config -I${TOP_INCDIR} -I${TOP_INCDIR}/rx -I. UAFS/$(LIBUAFS) des/libdes.a $(TEST_LIBS) $(XLIBS)
ukinstall: install
install: \
${DESTDIR}${libdir}/$(LIBUAFS)
dest: \
${DEST}/root.perf/include/afs/param.h \
${DEST}/root.perf/include/afs/stds.h \
${DEST}/root.perf/include/afs/afs_sysnames.h \
${DEST}/root.perf/include/afs/afs_stats.h \
${DEST}/root.perf/include/afs/sysincludes.h \
${DEST}/root.perf/include/afs/afs_usrops.h \
${DEST}/root.perf/lib/libdes.a \
${DEST}/root.perf/lib/$(LIBUAFS)
CRULE1= $(CC) $(OPTF) -DKERNEL $(CFLAGS) -c $?
CRULE2= $(CC) $(OPTF) $(WEBOPTS) -DKERNEL $(CFLAGS) -c $?
@ -892,3 +894,53 @@ clean:
-$(RM) -rf UAFS* AFSWEB* nsapi des afs afsint config rx
-$(RM) -f h net netinet rpc ufs machine inet nfs sys des linktest
${TOP_LIBDIR}/$(LIBAFSWEB): AFSWEB/$(LIBAFSWEB)
${INSTALL} $? $@
${TOP_LIBDIR}/$(LIBAFSWEBKRB): AFSWEB/$(LIBAFSWEBKRB)
${INSTALL} $? $@
${TOP_LIBDIR}/$(LIBUAFS): UAFS/$(LIBUAFS)
${INSTALL} $? $@
${DESTDIR}${libdir}/$(LIBAFSWEB): AFSWEB/$(LIBAFSWEB)
${INSTALL} $? $@
${DESTDIR}${libdir}/$(LIBAFSWEBKRB): AFSWEB/$(LIBAFSWEBKRB)
${INSTALL} $? $@
${DESTDIR}${libdir}/$(LIBUAFS): UAFS/$(LIBUAFS)
${INSTALL} $? $@
${DEST}/root.afsweb/usr/lib/$(LIBAFSWEB): AFSWEB/$(LIBAFSWEB)
${INSTALL} $? $@
${DEST}/root.afsweb/usr/lib/$(LIBAFSWEBKRB): AFSWEB/$(LIBAFSWEBKRB)
${INSTALL} $? $@
${DEST}/root.perf/include/afs/param.h: afs/param.h
${INSTALL} $? $@
${DEST}/root.perf/include/afs/stds.h: afs/stds.h
${INSTALL} $? $@
${DEST}/root.perf/include/afs/afs_sysnames.h: afs/afs_sysnames.h
${INSTALL} $? $@
${DEST}/root.perf/include/afs/afs_stats.h: afs/afs_stats.h
${INSTALL} $? $@
${DEST}/root.perf/include/afs/sysincludes.h: afs/sysincludes.h
${INSTALL} $? $@
${DEST}/root.perf/include/afs/afs_usrops.h: afs/afs_usrops.h
${INSTALL} $? $@
${DEST}/root.perf/lib/libdes.a: des/libdes.a
${INSTALL} $? $@
${DEST}/root.perf/lib/$(LIBUAFS): UAFS/$(LIBUAFS)
${INSTALL} $? $@

View File

@ -8,9 +8,21 @@
# MakefileProto for AIX systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_SRCDIR=@TOP_SRCDIR@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
SYS_NAME=@AFS_SYSNAME@
include ../config/Makefile.${SYS_NAME}

View File

@ -8,9 +8,21 @@
# MakefileProto for Solaris systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_SRCDIR=@TOP_SRCDIR@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
SYS_NAME=@AFS_SYSNAME@
include ../config/Makefile.${SYS_NAME}

View File

@ -8,9 +8,21 @@
# MakefileProto for Solaris systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_SRCDIR=@TOP_SRCDIR@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
SYS_NAME=@AFS_SYSNAME@
DBUG=-O

View File

@ -2,9 +2,21 @@
#
# MakefileProto for Solaris systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_SRCDIR=@TOP_SRCDIR@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
SYS_NAME=@AFS_SYSNAME@
include ../config/Makefile.${SYS_NAME}

View File

@ -8,9 +8,21 @@
# MakefileProto for HP-UX systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_SRCDIR=@TOP_SRCDIR@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
SYS_NAME=@AFS_SYSNAME@
include ../config/Makefile.${SYS_NAME}

View File

@ -8,9 +8,21 @@
# MakefileProto for Solaris systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_SRCDIR=@TOP_SRCDIR@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
SYS_NAME=@AFS_SYSNAME@
include ../config/Makefile.${SYS_NAME}

View File

@ -8,9 +8,21 @@
# MakefileProto for Solaris systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_SRCDIR=@TOP_SRCDIR@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
SYS_NAME=@AFS_SYSNAME@
include ../config/Makefile.${SYS_NAME}

View File

@ -8,9 +8,21 @@
# MakefileProto for Solaris systems
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_SRCDIR=@TOP_SRCDIR@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
SYS_NAME=@AFS_SYSNAME@
include ../config/Makefile.${SYS_NAME}

View File

@ -5,42 +5,56 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
include ../config/Makefile.${SYS_NAME}
INCDIRS= -I${TOP_SRCDIR}/config -I${DESTDIR}/include -I${DESTDIR}/include/afs
INCDIRS=-I${TOP_SRCDIR}/config -I${TOP_INCDIR} -I${TOP_INCDIR}/afs
CFLAGS = ${OPTMZ} ${INCDIRS} ${XCFLAGS} ${DBUG}
PROGRAMS= unlog tokens tokens.krb kseal
INCLS=${SRCDIR}/include/afs/auth.h ${SRCDIR}/include/rx/rx.h \
${SRCDIR}/include/rx/xdr.h ${SRCDIR}/include/des.h ${SRCDIR}/include/rx/rxkad.h \
${SRCDIR}/include/afs/cellconfig.h
INCLS=${TOP_INCDIR}/afs/auth.h ${TOP_INCDIR}/rx/rx.h \
${TOP_INCDIR}/rx/xdr.h ${TOP_INCDIR}/des.h ${TOP_INCDIR}/rx/rxkad.h \
${TOP_INCDIR}/afs/cellconfig.h
LIBRARIES= ${SRCDIR}/lib/afs/libauth.a \
${SRCDIR}/lib/librxkad.a \
${SRCDIR}/lib/libdes.a \
${SRCDIR}/lib/afs/libsys.a ${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/liblwp.a ${SRCDIR}/lib/afs/libcmd.a \
${SRCDIR}/lib/afs/util.a
KLIBRARIES= ${SRCDIR}/lib/afs/libauth.krb.a \
${SRCDIR}/lib/librxkad.a \
${SRCDIR}/lib/libdes.a \
${SRCDIR}/lib/afs/libsys.a ${SRCDIR}/lib/librx.a \
${SRCDIR}/lib/afs/libsys.a \
${SRCDIR}/lib/liblwp.a ${SRCDIR}/lib/afs/libcmd.a \
${SRCDIR}/lib/afs/util.a
LIBRARIES=${TOP_LIBDIR}/libauth.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libdes.a \
${TOP_LIBDIR}/libsys.a ${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/util.a
KLIBRARIES=${TOP_LIBDIR}/libauth.krb.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libdes.a \
${TOP_LIBDIR}/libsys.a ${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/util.a
#
# Main targets
#
all: install
all: unlog tokens tokens.krb kseal
#
# Build targets
@ -65,34 +79,35 @@ tokens.krb: tokens.o ${KLIBRARIES}
kseal.o: kseal.c ${INCLS} AFS_component_version_number.c
unlog.o: unlog.c AFS_component_version_number.c
tokens.o: tokens.c ${SRCDIR}/include/rx/xdr.h AFS_component_version_number.c
tokens.o: tokens.c ${TOP_INCDIR}/rx/xdr.h AFS_component_version_number.c
#
# Install targets
#
install: ${DESTDIR}/bin/unlog \
${DESTDIR}/bin/tokens \
${DESTDIR}/bin/tokens.krb \
${DESTDIR}/root.server/usr/afs/bin/tokens \
${DESTDIR}/root.server/usr/afs/bin/tokens.krb \
${DESTDIR}/etc/kseal
install: \
${DESTDIR}${bindir}/unlog \
${DESTDIR}${bindir}/tokens \
${DESTDIR}${bindir}/tokens.krb \
${DESTDIR}${afssrvbindir}/tokens \
${DESTDIR}${afssrvbindir}/tokens.krb \
${DESTDIR}${sbindir}/kseal
${DESTDIR}/bin/unlog: unlog
${DEST}/bin/unlog: unlog
${INSTALL} $? $@
${DESTDIR}/bin/tokens: tokens
${DEST}/bin/tokens: tokens
${INSTALL} $? $@
${DESTDIR}/bin/tokens.krb: tokens.krb
${DEST}/bin/tokens.krb: tokens.krb
${INSTALL} $? $@
${DESTDIR}/root.server/usr/afs/bin/tokens: tokens
${DEST}/root.server/usr/afs/bin/tokens: tokens
${INSTALL} $? $@
${DESTDIR}/root.server/usr/afs/bin/tokens.krb: tokens.krb
${DEST}/root.server/usr/afs/bin/tokens.krb: tokens.krb
${INSTALL} $? $@
${DESTDIR}/etc/kseal: kseal
${DEST}/etc/kseal: kseal
${INSTALL} $? $@
#
@ -106,3 +121,29 @@ test:
include ../config/Makefile.version
${DESTDIR}${bindir}/unlog: unlog
${INSTALL} $? $@
${DESTDIR}${bindir}/tokens: tokens
${INSTALL} $? $@
${DESTDIR}${bindir}/tokens.krb: tokens.krb
${INSTALL} $? $@
${DESTDIR}${afssrvbindir}/tokens: tokens
${INSTALL} $? $@
${DESTDIR}${afssrvbindir}/tokens.krb: tokens.krb
${INSTALL} $? $@
${DESTDIR}${sbindir}/kseal: kseal
${INSTALL} $? $@
dest: \
${DEST}/bin/unlog \
${DEST}/bin/tokens \
${DEST}/bin/tokens.krb \
${DEST}/root.server/usr/afs/bin/tokens \
${DEST}/root.server/usr/afs/bin/tokens.krb \
${DEST}/etc/kseal

View File

@ -5,22 +5,36 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
OPTIMIZE=-O
INCDIRS= -I${DESTDIR}/include -I.. -I${DESTDIR}/include/afs
LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L..
INCDIRS=-I${TOP_INCDIR} -I.. -I${TOP_INCDIR}/afs
LDIRS=-L${TOP_LIBDIR} -L${DESTDIR}/lib/afs -L..
LIBS= -lauth -lrxkad -ldes -lsys -lrx -llwp -lcmd -lafsutil ${XLIBS}
CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
all: install
all: testlog gettoktest
install: testlog gettoktest
install:
#
# Build targets
@ -37,3 +51,5 @@ gettoktest: gettoktest.o
clean:
$(RM) -f *.o testlog gettoktest core
dest:

View File

@ -17,24 +17,43 @@
# @(#)Makefile 5.1 (Berkeley) 10/18/88
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
include ../config/Makefile.${SYS_NAME}
LIBDIR = ${DESTDIR}/lib/
AFSLIBS = ${LIBDIR}/afs/libkauth.a ${LIBDIR}/afs/libprot.a ${LIBDIR}/libubik.a \
${LIBDIR}/afs/libauth.a ${DESTDIR}/lib/librxkad.a ${LIBDIR}/afs/libsys.a \
${DESTDIR}/lib/libdes.a ${LIBDIR}/librx.a ${LIBDIR}/liblwp.a \
${LIBDIR}/afs/libcmd.a ${LIBDIR}/afs/libcom_err.a ${LIBDIR}/afs/util.a
KAFSLIBS = ${LIBDIR}/afs/libkauth.krb.a ${LIBDIR}/afs/libprot.a ${LIBDIR}/libubik.a \
${LIBDIR}/afs/libauth.krb.a ${DESTDIR}/lib/librxkad.a ${LIBDIR}/afs/libsys.a \
${DESTDIR}/lib/libdes.a ${LIBDIR}/librx.a ${LIBDIR}/liblwp.a \
${LIBDIR}/afs/libcmd.a ${LIBDIR}/afs/libcom_err.a ${LIBDIR}/afs/util.a
INCLUDES = -I${TOP_SRCDIR}/config -I${DESTDIR}/include -I/usr/include -I/usr/include/sys
AFSLIBS = ${TOP_LIBDIR}/libkauth.a ${TOP_LIBDIR}/libprot.a \
${TOP_LIBDIR}/libubik.a ${TOP_LIBDIR}/libauth.a \
${TOP_LIBDIR}/librxkad.a ${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/libdes.a ${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/afs/libcom_err.a ${TOP_LIBDIR}/afs/util.a
KAFSLIBS = ${TOP_LIBDIR}/libkauth.krb.a ${TOP_LIBDIR}/libprot.a \
${TOP_LIBDIR}/libubik.a ${TOP_LIBDIR}/libauth.krb.a \
${TOP_LIBDIR}/librxkad.a ${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/libdes.a ${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libcom_err.a ${TOP_LIBDIR}/util.a
INCLUDES=-I${TOP_SRCDIR}/config -I${TOP_INCDIR} -I/usr/include -I/usr/include/sys
CFLAGS= -g ${XCFLAGS} ${INCLUDES}
LIBC= /lib/libc.a
SRCS= login.c
@ -44,7 +63,6 @@ LIBS= ${AFSLIBS}
KLIBS= ${KAFSLIBS}
SLIBS= ${AFSLIBS} ${LIBC}
SKLIBS= ${KAFSLIBS} ${LIBC}
MAN=
UTILOBJS = util_login.o util_logout.o util_logwtmp.o
include ../config/Makefile.version
@ -84,8 +102,21 @@ cleandir: clean
depend: ${SRCS}
mkdep -p ${CFLAGS} ${SRCS}
install: ${MAN} all
${INSTALL} -s login ${DESTDIR}/bin/login
${INSTALL} -s login.krb ${DESTDIR}/bin/login.krb
install: ${DESTDIR}${bindir}/login ${DESTDIR}${bindir}/login.krb
${DEST}/bin/login: login
${INSTALL} $? $@
${DESTDIR}${bindir}/login: login
${INSTALL} $? $@
${DEST}/bin/login.krb: login.krb
${INSTALL} $? $@
${DESTDIR}${bindir}/login.krb: login.krb
${INSTALL} $? $@
dest: ${DEST}/bin/login ${DEST}/bin/login.krb
system: install

View File

@ -5,8 +5,22 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -18,12 +32,12 @@ include ../config/Makefile.${SYS_NAME}
# subtle bugs that may have been introduced in process.s, be warned!
OPTIMIZE=${LWP_OPTMZ}
CFLAGS=${OPTIMIZE} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${XCFLAGS}
CFLAGS=${OPTIMIZE} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
LIBOBJS=lwp.o process.o lock.o iomgr.o timer.o fasttime.o preempt.o \
waitkey.o threadname.o AFS_component_version_number.o
all: install
all: ${TOP_LIBDIR}/liblwp.a ${TOP_INCDIR}/lock.h ${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/preempt.h ${TOP_INCDIR}/timer.h
#
# Build rules
@ -34,27 +48,27 @@ liblwp.a: ${LIBOBJS}
$(RANLIB) $@
process.s:
# This is required so sgi_64+ does not try to build this file.
echo Nothing to be done for process.s
# This is required so sgi_64+ does not try to build this file.
process.o : process.s process.c
@case "$(SYS_NAME)" in \
pmax_he1) \
$(CC) -c -I${SRCDIR}/include process.s;; \
$(CC) -c -I${TOP_INCDIR} process.s;; \
sun4c_51 | sun4c_52 | sun4m_51 | sun4m_52 | sun4c_53 | sun4m_53 | sun4_53 | sun4_52 | sun4_54 | sun4c_54 | sun4m_54 | sun4x_5? | sunx86_54) \
/usr/ccs/lib/cpp -P -I${SRCDIR}/include process.s process.ss; \
/usr/ccs/lib/cpp -P -I${TOP_INCDIR} process.s process.ss; \
${AS} process.ss -o process.o; \
$(RM) process.ss ;; \
sgi_5* ) \
$(CC) -c -I${SRCDIR}/include -KPIC -G0 process.s;; \
$(CC) -c -I${TOP_INCDIR} -KPIC -G0 process.s;; \
sgi_61 | sgi_62 | sgi_63 ) \
$(CC) -c ${XCFLAGS} -I${SRCDIR}/include -KPIC -G0 process.s;; \
$(CC) -c ${XCFLAGS} -I${TOP_INCDIR} -KPIC -G0 process.s;; \
s390*) \
/lib/cpp -P -I${SRCDIR}/include process.s >process.ss; \
/lib/cpp -P -I${TOP_INCDIR} process.s >process.ss; \
${AS} -ahlns process.ss -o process.o >process.lst; \
$(RM) process.ss ;; \
ppc_darwin* ) \
$(CC) -c ${XCFLAGS} -I${SRCDIR}/include process.s;; \
$(CC) -c ${XCFLAGS} -I${TOP_INCDIR} process.s;; \
i386_fbsd* ) \
/usr/bin/cpp -P process.fbsd.s > process.ss; \
${AS} -o process.o process.ss; \
@ -62,16 +76,16 @@ process.o : process.s process.c
hp* | *_linux* | sgi_64 | sgi_65 ) \
${CC} ${CFLAGS} -c process.c;; \
ncrx86_*) \
/usr/ccs/lib/cpp -P -I${SRCDIR}/include process.s process.ss; \
/usr/ccs/lib/cpp -P -I${TOP_INCDIR} process.s process.ss; \
${AS} -o process.o process.ss; \
$(RM) process.ss ;; \
alpha_osf1 | alpha_osf20 | alpha_osf30 | alpha_osf32 | alpha_osf32c | alpha_dux?? ) \
${AS} -v -P -DOSF -I${SRCDIR}/include -DASSEMBLER process.s; \
${AS} -v -P -DOSF -I${TOP_INCDIR} -DASSEMBLER process.s; \
${AS} -v process.i -o process.o;; \
hp_ux110 ) \
${CC} ${CFLAGS} -c process.c;; \
*) \
/lib/cpp -P -I${SRCDIR}/include process.s process.ss; \
/lib/cpp -P -I${TOP_INCDIR} process.s process.ss; \
${AS} process.ss -o process.o; \
$(RM) process.ss ;; \
esac
@ -83,7 +97,7 @@ preempt.o : preempt.c lwp.h preempt.h
lwp.o : lwp.c lwp.h
case "$(SYS_NAME)" in \
rs_aix*) \
$(CC) -I${TOP_SRCDIR}/config -I${SRCDIR}/include -c lwp.c;; \
$(CC) -I${TOP_SRCDIR}/config -I${TOP_INCDIR} -c lwp.c;; \
*) \
$(CC) ${CFLAGS} -c lwp.c;; \
esac
@ -97,8 +111,8 @@ exc_handling.o : exc_handling.c
#
# tests
#
rw: rw.o liblwp.a $(DESTDIR)/lib/afs/util.a
${CC} ${CFLAGS} -o rw rw.o liblwp.a $(DESTDIR)/lib/afs/util.a
rw: rw.o liblwp.a $(TOP_LIBDIR)/util.a
${CC} ${CFLAGS} -o rw rw.o liblwp.a $(TOP_LIBDIR)/util.a
rw.o: rw.c
${CC} ${CFLAGS} -c rw.c
@ -107,25 +121,21 @@ rw.o: rw.c
#
# Install targets
#
install: ${DESTDIR}/lib/liblwp.a \
${DESTDIR}/include/lock.h \
${DESTDIR}/include/lwp.h \
${DESTDIR}/include/preempt.h \
${DESTDIR}/include/timer.h
install: ${DESTDIR}${libdir}/liblwp.a ${DESTDIR}${includedir}/lock.h ${DESTDIR}${includedir}/lwp.h ${DESTDIR}${includedir}/preempt.h ${DESTDIR}${includedir}/timer.h
${DESTDIR}/lib/liblwp.a: liblwp.a
${DEST}/lib/liblwp.a: liblwp.a
${INSTALL} $? $@
${DESTDIR}/include/lock.h: lock.h
${DEST}/include/lock.h: lock.h
${INSTALL} $? $@
${DESTDIR}/include/lwp.h: lwp.h
${DEST}/include/lwp.h: lwp.h
${INSTALL} $? $@
${DESTDIR}/include/preempt.h: preempt.h
${DEST}/include/preempt.h: preempt.h
${INSTALL} $? $@
${DESTDIR}/include/timer.h: timer.h
${DEST}/include/timer.h: timer.h
${INSTALL} $? $@
#
@ -135,3 +145,35 @@ clean:
$(RM) -f *.o *.a core AFS_component_version_number.c
include ../config/Makefile.version
${DESTDIR}${libdir}/liblwp.a: liblwp.a
${INSTALL} $? $@
${TOP_LIBDIR}/liblwp.a: liblwp.a
${INSTALL} $? $@
${DESTDIR}${includedir}/lock.h: lock.h
${INSTALL} $? $@
${TOP_INCDIR}/lock.h: lock.h
${INSTALL} $? $@
${DESTDIR}${includedir}/lwp.h: lwp.h
${INSTALL} $? $@
${TOP_INCDIR}/lwp.h: lwp.h
${INSTALL} $? $@
${DESTDIR}${includedir}/preempt.h: preempt.h
${INSTALL} $? $@
${TOP_INCDIR}/preempt.h: preempt.h
${INSTALL} $? $@
${DESTDIR}${includedir}/timer.h: timer.h
${INSTALL} $? $@
${TOP_INCDIR}/timer.h: timer.h
${INSTALL} $? $@
dest: ${DEST}/lib/liblwp.a ${DEST}/include/lock.h ${DEST}/include/lwp.h ${DEST}/include/preempt.h ${DEST}/include/timer.h

View File

@ -1,8 +1,20 @@
#
# (C) Copyright 10/17/86 by Carnegie Mellon University
#
DESTDIR=@DESTDIR@
SRCDIR=@SRCDIR@
DEST=@DEST@
TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
libdir=@libdir@
includedir=@includedir@
mandir=@mandir@
afssrvbindir=@afssrvbindir@
afssrvsbindir=@afssrvsbindir@
afssrvlibexecdir=@afssrvlibexecdir@
TOP_SRCDIR=@TOP_SRCDIR@
SYS_NAME=@AFS_SYSNAME@
@ -19,15 +31,20 @@ MANUAL=mpp.1
include ../config/Makefile.${SYS_NAME}
include ../config/Makefile.version
system: install
all: ${PROGRAM}
install: ${PROGRAM}
${INSTALL} -c -s -m 755 ${PROGRAM} ${DESTDIR}etc
install: ${DESTDIR}${sbindir}/${PROGRAM}
dest: ${DEST}/etc/${PROGRAM}
${DESTDIR}${sbindir}/${PROGRAM}: ${PROGRAM}
${INSTALL} $? $@
${DEST}/etc/${PROGRAM}: ${PROGRAM}
${INSTALL} $? $@
installdoc: ${MANUAL}
${INSTALL} -c ${MANUAL} ${DESTDIR}man/man1
${INSTALL} -c ${MANUAL} ${DEST}/man/man1
clean:
-$(RM) -f core a.out *.o *.out ${PROGRAM} AFS_component_version_number.c

Some files were not shown because too many files have changed in this diff Show More