Fix objdir install/dest targets
authorAndrew Deason <adeason@sinenomine.net>
Wed, 4 Aug 2010 19:49:28 +0000 (14:49 -0500)
committerDerrick Brashear <shadow@dementia.org>
Fri, 6 Aug 2010 04:14:50 +0000 (21:14 -0700)
Many 'install' and 'dest' targets were referring to source files
without a srcdir prefix. Fix them so we can 'make install' / 'make
dest' with objdir.

Change-Id: Id76c5e326309baf8ec3f1213ecb2e40b19aea7d4
Reviewed-on: http://gerrit.openafs.org/2522
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

32 files changed:
src/afs/Makefile.in
src/audit/Makefile.in
src/auth/Makefile.in
src/bubasics/Makefile.in
src/comerr/Makefile.in
src/des/Makefile.in
src/dir/Makefile.in
src/fsprobe/Makefile.in
src/gtx/Makefile.in
src/kauth/Makefile.in
src/kopenafs/Makefile.in
src/libacl/Makefile.in
src/libadmin/Makefile.in
src/libadmin/adminutil/Makefile.in
src/libadmin/bos/Makefile.in
src/libadmin/cfg/Makefile.in
src/libadmin/client/Makefile.in
src/libadmin/kas/Makefile.in
src/libadmin/pts/Makefile.in
src/libadmin/vos/Makefile.in
src/lwp/Makefile.in
src/ptserver/Makefile.in
src/rx/Makefile.in
src/rxgen/Makefile.in
src/rxkad/Makefile.in
src/sys/Makefile.in
src/usd/Makefile.in
src/viced/Makefile.in
src/vlserver/Makefile.in
src/vol/Makefile.in
src/volser/Makefile.in
src/xstat/Makefile.in

index 787b0ff..782212d 100644 (file)
@@ -78,14 +78,14 @@ ${TOP_INCDIR}/afs/unified_afs.h: unified_afs.h
 
 install: unified_afs.h
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
-       ${INSTALL_DATA} afs.h ${DESTDIR}${includedir}/afs/afs.h
-       ${INSTALL_DATA} afs_consts.h ${DESTDIR}${includedir}/afs/afs_consts.h
-       ${INSTALL_DATA} afs_stats.h ${DESTDIR}${includedir}/afs/afs_stats.h
-       ${INSTALL_DATA} exporter.h ${DESTDIR}${includedir}/afs/exporter.h
-       ${INSTALL_DATA} nfsclient.h ${DESTDIR}${includedir}/afs/nfsclient.h
-       ${INSTALL_DATA} ${MKAFS_OSTYPE}/osi_inode.h \
+       ${INSTALL_DATA} ${srcdir}/afs.h ${DESTDIR}${includedir}/afs/afs.h
+       ${INSTALL_DATA} ${srcdir}/afs_consts.h ${DESTDIR}${includedir}/afs/afs_consts.h
+       ${INSTALL_DATA} ${srcdir}/afs_stats.h ${DESTDIR}${includedir}/afs/afs_stats.h
+       ${INSTALL_DATA} ${srcdir}/exporter.h ${DESTDIR}${includedir}/afs/exporter.h
+       ${INSTALL_DATA} ${srcdir}/nfsclient.h ${DESTDIR}${includedir}/afs/nfsclient.h
+       ${INSTALL_DATA} ${srcdir}/${MKAFS_OSTYPE}/osi_inode.h \
            ${DESTDIR}${includedir}/afs/osi_inode.h
-       ${INSTALL_DATA} sysctl.h ${DESTDIR}${includedir}/afs/sysctl.h
+       ${INSTALL_DATA} ${srcdir}/sysctl.h ${DESTDIR}${includedir}/afs/sysctl.h
        ${INSTALL_DATA} unified_afs.h ${DESTDIR}${includedir}/afs/unified_afs.h
        case ${SYS_NAME} in \
            i386_fbsd*) \
@@ -96,7 +96,7 @@ install: unified_afs.h
        esac
        case ${SYS_NAME} in \
            *linux*) \
-               ${INSTALL_DATA} ${MKAFS_OSTYPE}/osi_vfs.h \
+               ${INSTALL_DATA} ${srcdir}/${MKAFS_OSTYPE}/osi_vfs.h \
                    ${DESTDIR}${includedir}/afs/osi_vfs.h || true ;;\
            *) \
                echo No vfs headers to install for ${SYS_NAME};; \
@@ -104,13 +104,13 @@ install: unified_afs.h
 
 dest: unified_afs.h
        ${INSTALL} -d ${DEST}/include/afs
-       ${INSTALL_DATA} afs.h ${DEST}/include/afs/afs.h
-       ${INSTALL_DATA} afs_consts.h ${DEST}/include/afs/afs_consts.h
-       ${INSTALL_DATA} afs_stats.h ${DEST}/include/afs/afs_stats.h
-       ${INSTALL_DATA} exporter.h ${DEST}/include/afs/exporter.h
-       ${INSTALL_DATA} nfsclient.h ${DEST}/include/afs/nfsclient.h
-       ${INSTALL_DATA} ${MKAFS_OSTYPE}/osi_inode.h ${DEST}/include/afs/osi_inode.h
-       ${INSTALL_DATA} sysctl.h ${DEST}/include/afs/sysctl.h
+       ${INSTALL_DATA} ${srcdir}/afs.h ${DEST}/include/afs/afs.h
+       ${INSTALL_DATA} ${srcdir}/afs_consts.h ${DEST}/include/afs/afs_consts.h
+       ${INSTALL_DATA} ${srcdir}/afs_stats.h ${DEST}/include/afs/afs_stats.h
+       ${INSTALL_DATA} ${srcdir}/exporter.h ${DEST}/include/afs/exporter.h
+       ${INSTALL_DATA} ${srcdir}/nfsclient.h ${DEST}/include/afs/nfsclient.h
+       ${INSTALL_DATA} ${srcdir}/${MKAFS_OSTYPE}/osi_inode.h ${DEST}/include/afs/osi_inode.h
+       ${INSTALL_DATA} ${srcdir}/sysctl.h ${DEST}/include/afs/sysctl.h
        ${INSTALL_DATA} unified_afs.h ${DEST}/include/afs/unified_afs.h
        case ${SYS_NAME} in \
            i386_fbsd*) \
@@ -121,7 +121,7 @@ dest: unified_afs.h
        esac
        case ${SYS_NAME} in \
            *linux*) \
-               ${INSTALL_DATA} ${MKAFS_OSTYPE}/osi_vfs.h \
+               ${INSTALL_DATA} ${srcdir}/${MKAFS_OSTYPE}/osi_vfs.h \
                    ${DEST}/include/afs/osi_vfs.h || true ;;\
            *) \
                echo No vfs headers to install for ${SYS_NAME};; \
index 083bf20..c2a29ea 100644 (file)
@@ -48,13 +48,13 @@ install: audit.h libaudit.a
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL_DATA} libaudit.a ${DESTDIR}${libdir}/afs/libaudit.a
-       ${INSTALL_DATA} audit.h ${DESTDIR}${includedir}/afs/audit.h
+       ${INSTALL_DATA} ${srcdir}/audit.h ${DESTDIR}${includedir}/afs/audit.h
 
 dest: libaudit.a audit.h
        ${INSTALL} -d ${DEST}/lib/afs
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL_DATA} libaudit.a ${DEST}/lib/afs/libaudit.a
-       ${INSTALL_DATA} audit.h ${DEST}/include/afs/audit.h
+       ${INSTALL_DATA} ${srcdir}/audit.h ${DEST}/include/afs/audit.h
        case ${SYS_NAME} in \
        rs_aix*) \
           ${INSTALL} -d ${DEST}/root.server/usr/afs/local ; \
index bd64ac0..dd718b4 100644 (file)
@@ -102,20 +102,20 @@ install: libauth.a libauth.krb.a auth.h cellconfig.h
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL_DATA} libauth.a ${DESTDIR}${libdir}/afs/libauth.a
        ${INSTALL_DATA} libauth.krb.a ${DESTDIR}${libdir}/afs/libauth.krb.a
-       ${INSTALL_DATA} keys.h ${DESTDIR}${includedir}/afs/keys.h
+       ${INSTALL_DATA} ${srcdir}/keys.h ${DESTDIR}${includedir}/afs/keys.h
        ${INSTALL_DATA} cellconfig.h ${DESTDIR}${includedir}/afs/cellconfig.h
        ${INSTALL_DATA} auth.h ${DESTDIR}${includedir}/afs/auth.h
-       ${INSTALL_DATA} ktc.h ${DESTDIR}${includedir}/afs/ktc.h
+       ${INSTALL_DATA} ${srcdir}/ktc.h ${DESTDIR}${includedir}/afs/ktc.h
 
 dest: libauth.a libauth.krb.a auth.h cellconfig.h
        ${INSTALL} -d ${DEST}/lib/afs
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL_DATA} libauth.a ${DEST}/lib/afs/libauth.a
        ${INSTALL_DATA} libauth.krb.a ${DEST}/lib/afs/libauth.krb.a
-       ${INSTALL_DATA} keys.h ${DEST}/include/afs/keys.h
+       ${INSTALL_DATA} ${srcdir}/keys.h ${DEST}/include/afs/keys.h
        ${INSTALL_DATA} cellconfig.h ${DEST}/include/afs/cellconfig.h
        ${INSTALL_DATA} auth.h ${DEST}/include/afs/auth.h
-       ${INSTALL_DATA} ktc.h ${DEST}/include/afs/ktc.h
+       ${INSTALL_DATA} ${srcdir}/ktc.h ${DEST}/include/afs/ktc.h
 
 #
 # Misc. targets
index 99a4f19..4c94f19 100644 (file)
@@ -109,7 +109,7 @@ install: libbubasics.a bumon.h butc.h bubasics.h tcdata.h butm.h butx.h
        ${INSTALL_DATA} libbubasics.a ${DESTDIR}${libdir}/afs/libbubasics.a
        ${INSTALL_DATA} bumon.h ${DESTDIR}${includedir}/afs/bumon.h
        ${INSTALL_DATA} butc.h ${DESTDIR}${includedir}/afs/butc.h
-       ${INSTALL_DATA} bubasics.h ${DESTDIR}${includedir}/afs/bubasics.h
+       ${INSTALL_DATA} ${srcdir}/bubasics.h ${DESTDIR}${includedir}/afs/bubasics.h
        ${INSTALL_DATA} tcdata.h ${DESTDIR}${includedir}/afs/tcdata.h
        ${INSTALL_DATA} butm.h ${DESTDIR}${includedir}/afs/butm.h
        ${INSTALL_DATA} butx.h ${DESTDIR}${includedir}/afs/butx.h
@@ -120,7 +120,7 @@ dest: libbubasics.a bumon.h butc.h bubasics.h tcdata.h butm.h butx.h
        ${INSTALL_DATA} libbubasics.a ${DEST}/lib/afs/libbubasics.a
        ${INSTALL_DATA} bumon.h ${DEST}/include/afs/bumon.h
        ${INSTALL_DATA} butc.h ${DEST}/include/afs/butc.h
-       ${INSTALL_DATA} bubasics.h ${DEST}/include/afs/bubasics.h
+       ${INSTALL_DATA} ${srcdir}/bubasics.h ${DEST}/include/afs/bubasics.h
        ${INSTALL_DATA} tcdata.h ${DEST}/include/afs/tcdata.h
        ${INSTALL_DATA} butm.h ${DEST}/include/afs/butm.h
        ${INSTALL_DATA} butx.h ${DEST}/include/afs/butx.h
index d663ade..7dc6341 100644 (file)
@@ -59,9 +59,9 @@ install: compile_et com_err.h error_table.h mit-sipb-cr.h libcom_err.a
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
        ${INSTALL_PROGRAM} compile_et ${DESTDIR}${bindir}/afs_compile_et
-       ${INSTALL_DATA} com_err.h ${DESTDIR}${includedir}/afs/com_err.h
-       ${INSTALL_DATA} error_table.h ${DESTDIR}${includedir}/afs/error_table.h
-       ${INSTALL_DATA} mit-sipb-cr.h ${DESTDIR}${includedir}/afs/mit-sipb-cr.h
+       ${INSTALL_DATA} ${srcdir}/com_err.h ${DESTDIR}${includedir}/afs/com_err.h
+       ${INSTALL_DATA} ${srcdir}/error_table.h ${DESTDIR}${includedir}/afs/error_table.h
+       ${INSTALL_DATA} ${srcdir}/mit-sipb-cr.h ${DESTDIR}${includedir}/afs/mit-sipb-cr.h
        ${INSTALL_DATA} libcom_err.a ${DESTDIR}${libdir}/afs/libcom_err.a
 
 dest: compile_et com_err.h error_table.h mit-sipb-cr.h libcom_err.a
@@ -69,9 +69,9 @@ dest: compile_et com_err.h error_table.h mit-sipb-cr.h libcom_err.a
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL} -d ${DEST}/lib/afs
        ${INSTALL_PROGRAM} compile_et ${DEST}/bin/afs_compile_et
-       ${INSTALL_DATA} com_err.h ${DEST}/include/afs/com_err.h
-       ${INSTALL_DATA} error_table.h ${DEST}/include/afs/error_table.h
-       ${INSTALL_DATA} mit-sipb-cr.h ${DEST}/include/afs/mit-sipb-cr.h
+       ${INSTALL_DATA} ${srcdir}/com_err.h ${DEST}/include/afs/com_err.h
+       ${INSTALL_DATA} ${srcdir}/error_table.h ${DEST}/include/afs/error_table.h
+       ${INSTALL_DATA} ${srcdir}/mit-sipb-cr.h ${DEST}/include/afs/mit-sipb-cr.h
        ${INSTALL_DATA} libcom_err.a ${DEST}/lib/afs/libcom_err.a
 
 clean:
index 19a88f5..5e46538 100644 (file)
@@ -206,20 +206,20 @@ install: libdes.a des.h des_prototypes.h des_conf.h mit-cpyright.h odd.h
        ${INSTALL} -d ${DESTDIR}${libdir}
        ${INSTALL} -d ${DESTDIR}${includedir}
        ${INSTALL_DATA} libdes.a ${DESTDIR}${libdir}/libdes.a
-       ${INSTALL_DATA} des.h ${DESTDIR}${includedir}/des.h
-       ${INSTALL_DATA} des_prototypes.h ${DESTDIR}${includedir}/des_prototypes.h
-       ${INSTALL_DATA} des_conf.h ${DESTDIR}${includedir}/des_conf.h
-       ${INSTALL_DATA} mit-cpyright.h ${DESTDIR}${includedir}/mit-cpyright.h
+       ${INSTALL_DATA} ${srcdir}/des.h ${DESTDIR}${includedir}/des.h
+       ${INSTALL_DATA} ${srcdir}/des_prototypes.h ${DESTDIR}${includedir}/des_prototypes.h
+       ${INSTALL_DATA} ${srcdir}/des_conf.h ${DESTDIR}${includedir}/des_conf.h
+       ${INSTALL_DATA} ${srcdir}/mit-cpyright.h ${DESTDIR}${includedir}/mit-cpyright.h
        ${INSTALL_DATA} odd.h ${DESTDIR}${includedir}/des_odd.h
 
 dest: libdes.a des.h des_prototypes.h des_conf.h mit-cpyright.h odd.h
        ${INSTALL} -d ${DEST}/lib
        ${INSTALL} -d ${DEST}/include
        ${INSTALL_DATA} libdes.a ${DEST}/lib/libdes.a
-       ${INSTALL_DATA} des.h ${DEST}/include/des.h
-       ${INSTALL_DATA} des_prototypes.h ${DEST}/include/des_prototypes.h
-       ${INSTALL_DATA} des_conf.h ${DEST}/include/des_conf.h
-       ${INSTALL_DATA} mit-cpyright.h ${DEST}/include/mit-cpyright.h
+       ${INSTALL_DATA} ${srcdir}/des.h ${DEST}/include/des.h
+       ${INSTALL_DATA} ${srcdir}/des_prototypes.h ${DEST}/include/des_prototypes.h
+       ${INSTALL_DATA} ${srcdir}/des_conf.h ${DEST}/include/des_conf.h
+       ${INSTALL_DATA} ${srcdir}/mit-cpyright.h ${DEST}/include/mit-cpyright.h
        ${INSTALL_DATA} odd.h ${DEST}/include/des_odd.h
 
 #
index d5ac159..152423b 100644 (file)
@@ -47,13 +47,13 @@ install: libdir.a dir.h
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL_DATA} libdir.a ${DESTDIR}${libdir}/afs/libdir.a
-       ${INSTALL_DATA} dir.h ${DESTDIR}${includedir}/afs/dir.h
+       ${INSTALL_DATA} ${srcdir}/dir.h ${DESTDIR}${includedir}/afs/dir.h
 
 dest: libdir.a dir.h
        ${INSTALL} -d ${DEST}/lib/afs
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL_DATA} libdir.a ${DEST}/lib/afs/libdir.a
-       ${INSTALL_DATA} dir.h ${DEST}/include/afs/dir.h
+       ${INSTALL_DATA} ${srcdir}/dir.h ${DEST}/include/afs/dir.h
 
 #
 # Misc. targets
index c9e6bd4..040d8b9 100644 (file)
@@ -59,13 +59,13 @@ fsprobe_test: fsprobe_test.o libfsprobe.a ${LIBS}
 install: fsprobe.h libfsprobe.a
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
-       ${INSTALL_DATA} fsprobe.h ${DESTDIR}${includedir}/afs/fsprobe.h
+       ${INSTALL_DATA} ${srcdir}/fsprobe.h ${DESTDIR}${includedir}/afs/fsprobe.h
        ${INSTALL_DATA} libfsprobe.a ${DESTDIR}${libdir}/afs/libfsprobe.a 
 
 dest: fsprobe.h libfsprobe.a
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL} -d ${DEST}/lib/afs
-       ${INSTALL_DATA} fsprobe.h ${DEST}/include/afs/fsprobe.h
+       ${INSTALL_DATA} ${srcdir}/fsprobe.h ${DEST}/include/afs/fsprobe.h
        ${INSTALL_DATA} libfsprobe.a ${DEST}/lib/afs/libfsprobe.a 
 
 #
index aa6418f..8762a94 100644 (file)
@@ -195,35 +195,35 @@ install: libgtx.a
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL_DATA} libgtx.a ${DESTDIR}${libdir}/afs/libgtx.a
-       ${INSTALL_DATA} gtxcurseswin.h ${DESTDIR}${includedir}/afs/gtxcurseswin.h
-       ${INSTALL_DATA} gtxdumbwin.h ${DESTDIR}${includedir}/afs/gtxdumbwin.h
-       ${INSTALL_DATA} gtxframe.h ${DESTDIR}${includedir}/afs/gtxframe.h
-       ${INSTALL_DATA} gtxinput.h ${DESTDIR}${includedir}/afs/gtxinput.h
-       ${INSTALL_DATA} gtxkeymap.h ${DESTDIR}${includedir}/afs/gtxkeymap.h
-       ${INSTALL_DATA} gtxlightobj.h ${DESTDIR}${includedir}/afs/gtxlightobj.h
-       ${INSTALL_DATA} gtxobjdict.h ${DESTDIR}${includedir}/afs/gtxobjdict.h
-       ${INSTALL_DATA} gtxobjects.h ${DESTDIR}${includedir}/afs/gtxobjects.h
-       ${INSTALL_DATA} gtxtextcb.h ${DESTDIR}${includedir}/afs/gtxtextcb.h
-       ${INSTALL_DATA} gtxtextobj.h ${DESTDIR}${includedir}/afs/gtxtextobj.h
-       ${INSTALL_DATA} gtxwindows.h ${DESTDIR}${includedir}/afs/gtxwindows.h
-       ${INSTALL_DATA} gtxX11win.h ${DESTDIR}${includedir}/afs/gtxX11win.h
+       ${INSTALL_DATA} ${srcdir}/gtxcurseswin.h ${DESTDIR}${includedir}/afs/gtxcurseswin.h
+       ${INSTALL_DATA} ${srcdir}/gtxdumbwin.h ${DESTDIR}${includedir}/afs/gtxdumbwin.h
+       ${INSTALL_DATA} ${srcdir}/gtxframe.h ${DESTDIR}${includedir}/afs/gtxframe.h
+       ${INSTALL_DATA} ${srcdir}/gtxinput.h ${DESTDIR}${includedir}/afs/gtxinput.h
+       ${INSTALL_DATA} ${srcdir}/gtxkeymap.h ${DESTDIR}${includedir}/afs/gtxkeymap.h
+       ${INSTALL_DATA} ${srcdir}/gtxlightobj.h ${DESTDIR}${includedir}/afs/gtxlightobj.h
+       ${INSTALL_DATA} ${srcdir}/gtxobjdict.h ${DESTDIR}${includedir}/afs/gtxobjdict.h
+       ${INSTALL_DATA} ${srcdir}/gtxobjects.h ${DESTDIR}${includedir}/afs/gtxobjects.h
+       ${INSTALL_DATA} ${srcdir}/gtxtextcb.h ${DESTDIR}${includedir}/afs/gtxtextcb.h
+       ${INSTALL_DATA} ${srcdir}/gtxtextobj.h ${DESTDIR}${includedir}/afs/gtxtextobj.h
+       ${INSTALL_DATA} ${srcdir}/gtxwindows.h ${DESTDIR}${includedir}/afs/gtxwindows.h
+       ${INSTALL_DATA} ${srcdir}/gtxX11win.h ${DESTDIR}${includedir}/afs/gtxX11win.h
 
 dest: libgtx.a
        ${INSTALL} -d ${DEST}/lib/afs
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL_DATA} libgtx.a ${DEST}/lib/afs/libgtx.a
-       ${INSTALL_DATA} gtxcurseswin.h ${DEST}/include/afs/gtxcurseswin.h
-       ${INSTALL_DATA} gtxdumbwin.h ${DEST}/include/afs/gtxdumbwin.h
-       ${INSTALL_DATA} gtxframe.h ${DEST}/include/afs/gtxframe.h
-       ${INSTALL_DATA} gtxinput.h ${DEST}/include/afs/gtxinput.h
-       ${INSTALL_DATA} gtxkeymap.h ${DEST}/include/afs/gtxkeymap.h
-       ${INSTALL_DATA} gtxlightobj.h ${DEST}/include/afs/gtxlightobj.h
-       ${INSTALL_DATA} gtxobjdict.h ${DEST}/include/afs/gtxobjdict.h
-       ${INSTALL_DATA} gtxobjects.h ${DEST}/include/afs/gtxobjects.h
-       ${INSTALL_DATA} gtxtextcb.h ${DEST}/include/afs/gtxtextcb.h
-       ${INSTALL_DATA} gtxtextobj.h ${DEST}/include/afs/gtxtextobj.h
-       ${INSTALL_DATA} gtxwindows.h ${DEST}/include/afs/gtxwindows.h
-       ${INSTALL_DATA} gtxX11win.h ${DEST}/include/afs/gtxX11win.h
+       ${INSTALL_DATA} ${srcdir}/gtxcurseswin.h ${DEST}/include/afs/gtxcurseswin.h
+       ${INSTALL_DATA} ${srcdir}/gtxdumbwin.h ${DEST}/include/afs/gtxdumbwin.h
+       ${INSTALL_DATA} ${srcdir}/gtxframe.h ${DEST}/include/afs/gtxframe.h
+       ${INSTALL_DATA} ${srcdir}/gtxinput.h ${DEST}/include/afs/gtxinput.h
+       ${INSTALL_DATA} ${srcdir}/gtxkeymap.h ${DEST}/include/afs/gtxkeymap.h
+       ${INSTALL_DATA} ${srcdir}/gtxlightobj.h ${DEST}/include/afs/gtxlightobj.h
+       ${INSTALL_DATA} ${srcdir}/gtxobjdict.h ${DEST}/include/afs/gtxobjdict.h
+       ${INSTALL_DATA} ${srcdir}/gtxobjects.h ${DEST}/include/afs/gtxobjects.h
+       ${INSTALL_DATA} ${srcdir}/gtxtextcb.h ${DEST}/include/afs/gtxtextcb.h
+       ${INSTALL_DATA} ${srcdir}/gtxtextobj.h ${DEST}/include/afs/gtxtextobj.h
+       ${INSTALL_DATA} ${srcdir}/gtxwindows.h ${DEST}/include/afs/gtxwindows.h
+       ${INSTALL_DATA} ${srcdir}/gtxX11win.h ${DEST}/include/afs/gtxX11win.h
 
 #
 # Misc targets
index a3ff4d1..f372b14 100644 (file)
@@ -271,7 +271,7 @@ install: kaserver kas kpwvalid kas klog klog.krb knfs kpasswd libkauth.a \
        ${INSTALL_PROGRAM} ka-forwarder ${DESTDIR}${afssrvsbindir}/ka-forwarder
        ${INSTALL_DATA} kautils.h ${DESTDIR}${includedir}/afs/kautils.h
        ${INSTALL_DATA} kauth.h ${DESTDIR}${includedir}/afs/kauth.h
-       ${INSTALL_DATA} kaport.h ${DESTDIR}${includedir}/afs/kaport.h
+       ${INSTALL_DATA} ${srcdir}/kaport.h ${DESTDIR}${includedir}/afs/kaport.h
 
 dest: kaserver kas kpwvalid kas klog klog.krb knfs kpasswd libkauth.a \
                libkauth.krb.a rebuild kdb ka-forwarder kautils.h kauth.h \
@@ -300,7 +300,7 @@ dest: kaserver kas kpwvalid kas klog klog.krb knfs kpasswd libkauth.a \
        ${INSTALL_PROGRAM} ka-forwarder ${DEST}/root.server/usr/afs/bin/ka-forwarder
        ${INSTALL_DATA} kautils.h ${DEST}/include/afs/kautils.h
        ${INSTALL_DATA} kauth.h ${DEST}/include/afs/kauth.h
-       ${INSTALL_DATA} kaport.h ${DEST}/include/afs/kaport.h
+       ${INSTALL_DATA} ${srcdir}/kaport.h ${DEST}/include/afs/kaport.h
 
 #
 # Misc. targets
index 25a5f03..1ceadc0 100644 (file)
@@ -106,7 +106,7 @@ install: ${LIBKOPENAFS}
        ${INSTALL} -d ${DESTDIR}${libdir}
        ${INSTALL} -d ${DESTDIR}${includedir}
        ${INSTALL_DATA} libkopenafs.a ${DESTDIR}${libdir}/libkopenafs.a
-       ${INSTALL_DATA} kopenafs.h ${DESTDIR}${includedir}/kopenafs.h
+       ${INSTALL_DATA} ${srcdir}/kopenafs.h ${DESTDIR}${includedir}/kopenafs.h
        ../config/shlib-install -d ${DESTDIR}${libdir} \
                -l libkopenafs -M ${MAJOR} -m ${MINOR}
 
@@ -114,7 +114,7 @@ dest: ${LIBKOPENAFS}
        ${INSTALL} -d ${DEST}/lib
        ${INSTALL} -d ${DEST}/include
        ${INSTALL_DATA} libkopenafs.a ${DEST}/lib/libkopenafs.a
-       ${INSTALL_DATA} kopenafs.h ${DEST}/include/kopenafs.h
+       ${INSTALL_DATA} ${srcdir}/kopenafs.h ${DEST}/include/kopenafs.h
        ../config/shlib-install -d ${DEST}/lib \
                -l libkopenafs -M ${MAJOR} -m ${MINOR}
 
index 64834c7..f0caca2 100644 (file)
@@ -48,15 +48,15 @@ install: libacl.a acl.h prs_fs.h
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL_DATA} libacl.a ${DESTDIR}${libdir}/afs/libacl.a
-       ${INSTALL_DATA} acl.h ${DESTDIR}${includedir}/afs/acl.h
-       ${INSTALL_DATA} prs_fs.h ${DESTDIR}${includedir}/afs/prs_fs.h
+       ${INSTALL_DATA} ${srcdir}/acl.h ${DESTDIR}${includedir}/afs/acl.h
+       ${INSTALL_DATA} ${srcdir}/prs_fs.h ${DESTDIR}${includedir}/afs/prs_fs.h
 
 dest: libacl.a acl.h prs_fs.h
        ${INSTALL} -d ${DEST}/lib/afs
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL_DATA} libacl.a ${DEST}/lib/afs/libacl.a
-       ${INSTALL_DATA} acl.h ${DEST}/include/afs/acl.h
-       ${INSTALL_DATA} prs_fs.h ${DEST}/include/afs/prs_fs.h
+       ${INSTALL_DATA} ${srcdir}/acl.h ${DEST}/include/afs/acl.h
+       ${INSTALL_DATA} ${srcdir}/prs_fs.h ${DEST}/include/afs/prs_fs.h
 
 #
 # Misc. targets
index 59764ec..e6d9b29 100644 (file)
@@ -19,10 +19,10 @@ ${TOP_INCDIR}/afs/afs_Admin.h: afs_Admin.h
 
 install:
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
-       ${INSTALL_DATA} afs_Admin.h ${DESTDIR}${includedir}/afs/afs_Admin.h
+       ${INSTALL_DATA} ${srcdir}/afs_Admin.h ${DESTDIR}${includedir}/afs/afs_Admin.h
 
 dest:
        ${INSTALL} -d ${DEST}/include/afs
-       ${INSTALL_DATA} afs_Admin.h ${DEST}/include/afs/afs_Admin.h
+       ${INSTALL_DATA} ${srcdir}/afs_Admin.h ${DEST}/include/afs/afs_Admin.h
 
 clean:
index 8a07fcb..5ff2d0f 100644 (file)
@@ -109,13 +109,13 @@ install: libafsadminutil.a afs_utilAdmin.h
        ${INSTALL} -d ${DESTDIR}${libdir}
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL_DATA} libafsadminutil.a ${DESTDIR}${libdir}/afs/libafsadminutil.a
-       ${INSTALL_DATA} afs_utilAdmin.h ${DESTDIR}${includedir}/afs/afs_utilAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_utilAdmin.h ${DESTDIR}${includedir}/afs/afs_utilAdmin.h
 
 dest: libafsadminutil.a afs_utilAdmin.h
        ${INSTALL} -d ${DEST}/lib/afs
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL_DATA} libafsadminutil.a ${DEST}/lib/afs/libafsadminutil.a
-       ${INSTALL_DATA} afs_utilAdmin.h ${DEST}/include/afs/afs_utilAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_utilAdmin.h ${DEST}/include/afs/afs_utilAdmin.h
 
 libafsadminutil.a: ${LIBOBJS}
        -$(RM) -f $@
index 71a3c12..4d8298a 100644 (file)
@@ -35,13 +35,13 @@ ${TOP_LIBDIR}/libbosadmin.a: libbosadmin.a
 install: libbosadmin.a afs_bosAdmin.h
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
-       ${INSTALL_DATA} afs_bosAdmin.h ${DESTDIR}${includedir}/afs/afs_bosAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_bosAdmin.h ${DESTDIR}${includedir}/afs/afs_bosAdmin.h
        ${INSTALL_DATA} libbosadmin.a ${DESTDIR}${libdir}/afs/libbosadmin.a
 
 dest: libbosadmin.a afs_bosAdmin.h
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL} -d ${DEST}/lib/afs
-       ${INSTALL_DATA} afs_bosAdmin.h ${DEST}/include/afs/afs_bosAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_bosAdmin.h ${DEST}/include/afs/afs_bosAdmin.h
        ${INSTALL_DATA} libbosadmin.a ${DEST}/lib/afs/libbosadmin.a
 
 libbosadmin.a: ${LIBOBJS}
index 56265ce..ddaf617 100644 (file)
@@ -41,13 +41,13 @@ ${TOP_LIBDIR}/libcfgadmin.a: libcfgadmin.a
 install: libcfgadmin.a afs_cfgAdmin.h
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
-       ${INSTALL_DATA} afs_cfgAdmin.h ${DESTDIR}${includedir}/afs/afs_cfgAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_cfgAdmin.h ${DESTDIR}${includedir}/afs/afs_cfgAdmin.h
        ${INSTALL_DATA} libcfgadmin.a ${DESTDIR}${libdir}/afs/libcfgadmin.a
 
 dest: libcfgadmin.a afs_cfgAdmin.h
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL} -d ${DEST}/lib/afs
-       ${INSTALL_DATA} afs_cfgAdmin.h ${DEST}/include/afs/afs_cfgAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_cfgAdmin.h ${DEST}/include/afs/afs_cfgAdmin.h
        ${INSTALL_DATA} libcfgadmin.a ${DEST}/lib/afs/libcfgadmin.a
 
 libcfgadmin.a: ${LIBOBJS}
index c2e5638..4fe5d2a 100644 (file)
@@ -30,13 +30,13 @@ ${TOP_LIBDIR}/libclientadmin.a: libclientadmin.a
 install: afs_clientAdmin.h libclientadmin.a
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
-       ${INSTALL_DATA} afs_clientAdmin.h ${DESTDIR}${includedir}/afs/afs_clientAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_clientAdmin.h ${DESTDIR}${includedir}/afs/afs_clientAdmin.h
        ${INSTALL_DATA} libclientadmin.a ${DESTDIR}${libdir}/afs/libclientadmin.a
 
 dest: afs_clientAdmin.h libclientadmin.a
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL} -d ${DEST}/lib/afs
-       ${INSTALL_DATA} afs_clientAdmin.h ${DEST}/include/afs/afs_clientAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_clientAdmin.h ${DEST}/include/afs/afs_clientAdmin.h
        ${INSTALL_DATA} libclientadmin.a ${DEST}/lib/afs/libclientadmin.a
 
 libclientadmin.a: ${LIBOBJS}
index fc63bee..716b099 100644 (file)
@@ -38,13 +38,13 @@ ${TOP_LIBDIR}/libkasadmin.a: libkasadmin.a
 install: afs_kasAdmin.h libkasadmin.a
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
-       ${INSTALL_DATA} afs_kasAdmin.h ${DESTDIR}${includedir}/afs/afs_kasAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_kasAdmin.h ${DESTDIR}${includedir}/afs/afs_kasAdmin.h
        ${INSTALL_DATA} libkasadmin.a ${DESTDIR}${libdir}/afs/libkasadmin.a
 
 dest: afs_kasAdmin.h libkasadmin.a
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL} -d ${DEST}/lib/afs
-       ${INSTALL_DATA} afs_kasAdmin.h ${DEST}/include/afs/afs_kasAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_kasAdmin.h ${DEST}/include/afs/afs_kasAdmin.h
        ${INSTALL_DATA} libkasadmin.a ${DEST}/lib/afs/libkasadmin.a
 
 libkasadmin.a: ${LIBOBJS}
index 3f610a5..34dfb7b 100644 (file)
@@ -38,13 +38,13 @@ ${TOP_LIBDIR}/libptsadmin.a: libptsadmin.a
 install: afs_ptsAdmin.h libptsadmin.a
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
-       ${INSTALL_DATA} afs_ptsAdmin.h ${DESTDIR}${includedir}/afs/afs_ptsAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_ptsAdmin.h ${DESTDIR}${includedir}/afs/afs_ptsAdmin.h
        ${INSTALL_DATA} libptsadmin.a ${DESTDIR}${libdir}/afs/libptsadmin.a
 
 dest: afs_ptsAdmin.h libptsadmin.a
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL} -d ${DEST}/lib/afs
-       ${INSTALL_DATA} afs_ptsAdmin.h ${DEST}/include/afs/afs_ptsAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_ptsAdmin.h ${DEST}/include/afs/afs_ptsAdmin.h
        ${INSTALL_DATA} libptsadmin.a ${DEST}/lib/afs/libptsadmin.a
 
 libptsadmin.a: ${LIBOBJS}
index 321aa38..780defa 100644 (file)
@@ -53,13 +53,13 @@ ${TOP_LIBDIR}/libvosadmin.a: libvosadmin.a
 install: afs_vosAdmin.h libvosadmin.a
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
-       ${INSTALL_DATA} afs_vosAdmin.h ${DESTDIR}${includedir}/afs/afs_vosAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_vosAdmin.h ${DESTDIR}${includedir}/afs/afs_vosAdmin.h
        ${INSTALL_DATA} libvosadmin.a ${DESTDIR}${libdir}/afs/libvosadmin.a
 
 dest: afs_vosAdmin.h libvosadmin.a
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL} -d ${DEST}/lib/afs
-       ${INSTALL_DATA} afs_vosAdmin.h ${DEST}/include/afs/afs_vosAdmin.h
+       ${INSTALL_DATA} ${srcdir}/afs_vosAdmin.h ${DEST}/include/afs/afs_vosAdmin.h
        ${INSTALL_DATA} libvosadmin.a ${DEST}/lib/afs/libvosadmin.a
 
 libvosadmin.a: ${LIBOBJS}
index 03b6a94..19b24f5 100644 (file)
@@ -183,19 +183,19 @@ install: liblwp.a lock.h lwp.h preempt.h timer.h
        ${INSTALL} -d ${DESTDIR}${libdir}
        ${INSTALL} -d ${DESTDIR}${includedir}
        ${INSTALL_DATA} liblwp.a ${DESTDIR}${libdir}/liblwp.a
-       ${INSTALL_DATA} lock.h ${DESTDIR}${includedir}/lock.h
-       ${INSTALL_DATA} lwp.h ${DESTDIR}${includedir}/lwp.h
-       ${INSTALL_DATA} preempt.h ${DESTDIR}${includedir}/preempt.h
-       ${INSTALL_DATA} timer.h ${DESTDIR}${includedir}/timer.h
+       ${INSTALL_DATA} ${srcdir}/lock.h ${DESTDIR}${includedir}/lock.h
+       ${INSTALL_DATA} ${srcdir}/lwp.h ${DESTDIR}${includedir}/lwp.h
+       ${INSTALL_DATA} ${srcdir}/preempt.h ${DESTDIR}${includedir}/preempt.h
+       ${INSTALL_DATA} ${srcdir}/timer.h ${DESTDIR}${includedir}/timer.h
 
 dest: liblwp.a lock.h lwp.h preempt.h timer.h
        ${INSTALL} -d ${DEST}/lib
        ${INSTALL} -d ${DEST}/include
        ${INSTALL_DATA} liblwp.a ${DEST}/lib/liblwp.a
-       ${INSTALL_DATA} lock.h ${DEST}/include/lock.h
-       ${INSTALL_DATA} lwp.h ${DEST}/include/lwp.h
-       ${INSTALL_DATA} preempt.h ${DEST}/include/preempt.h
-       ${INSTALL_DATA} timer.h ${DEST}/include/timer.h
+       ${INSTALL_DATA} ${srcdir}/lock.h ${DEST}/include/lock.h
+       ${INSTALL_DATA} ${srcdir}/lwp.h ${DEST}/include/lwp.h
+       ${INSTALL_DATA} ${srcdir}/preempt.h ${DEST}/include/preempt.h
+       ${INSTALL_DATA} ${srcdir}/timer.h ${DEST}/include/timer.h
 
 #
 # Misc. targets
index f3aa7dd..1c237c7 100644 (file)
@@ -217,15 +217,15 @@ install: ptserver pts pt_util db_verify libprot.a ptclient.h pterror.h \
                ${INSTALL_PROGRAM} db_verify ${DESTDIR}${afssrvsbindir}/prdb_check; \
        fi
        ${INSTALL_DATA} libprot.a ${DESTDIR}${libdir}/afs/libprot.a
-       ${INSTALL_DATA} ptclient.h ${DESTDIR}${includedir}/afs/prclient.h
+       ${INSTALL_DATA} ${srcdir}/ptclient.h ${DESTDIR}${includedir}/afs/prclient.h
        ${INSTALL_DATA} pterror.h ${DESTDIR}${includedir}/afs/prerror.h
        ${INSTALL_DATA} ptint.h ${DESTDIR}${includedir}/afs/print.h
-       ${INSTALL_DATA} ptserver.h ${DESTDIR}${includedir}/afs/prserver.h
-       ${INSTALL_DATA} ptclient.h ${DESTDIR}${includedir}/afs/ptclient.h
-       ${INSTALL_DATA} ptuser.h ${DESTDIR}${includedir}/afs/ptuser.h
+       ${INSTALL_DATA} ${srcdir}/ptserver.h ${DESTDIR}${includedir}/afs/prserver.h
+       ${INSTALL_DATA} ${srcdir}/ptclient.h ${DESTDIR}${includedir}/afs/ptclient.h
+       ${INSTALL_DATA} ${srcdir}/ptuser.h ${DESTDIR}${includedir}/afs/ptuser.h
        ${INSTALL_DATA} pterror.h ${DESTDIR}${includedir}/afs/pterror.h
        ${INSTALL_DATA} ptint.h ${DESTDIR}${includedir}/afs/ptint.h
-       ${INSTALL_DATA} ptserver.h ${DESTDIR}${includedir}/afs/ptserver.h
+       ${INSTALL_DATA} ${srcdir}/ptserver.h ${DESTDIR}${includedir}/afs/ptserver.h
 
 dest: ptserver pts pt_util db_verify libprot.a ptclient.h pterror.h \
                ptint.h ptserver.h
@@ -242,15 +242,15 @@ dest: ptserver pts pt_util db_verify libprot.a ptclient.h pterror.h \
                ${INSTALL_PROGRAM} db_verify ${DEST}/etc/prdb_check; \
        fi;
        ${INSTALL_DATA} libprot.a ${DEST}/lib/afs/libprot.a
-       ${INSTALL_DATA} ptclient.h ${DEST}/include/afs/prclient.h
+       ${INSTALL_DATA} ${srcdir}/ptclient.h ${DEST}/include/afs/prclient.h
        ${INSTALL_DATA} pterror.h ${DEST}/include/afs/prerror.h
        ${INSTALL_DATA} ptint.h ${DEST}/include/afs/print.h
-       ${INSTALL_DATA} ptserver.h ${DEST}/include/afs/prserver.h
-       ${INSTALL_DATA} ptclient.h ${DEST}/include/afs/ptclient.h
-       ${INSTALL_DATA} ptuser.h ${DEST}/include/afs/ptuser.h
+       ${INSTALL_DATA} ${srcdir}/ptserver.h ${DEST}/include/afs/prserver.h
+       ${INSTALL_DATA} ${srcdir}/ptclient.h ${DEST}/include/afs/ptclient.h
+       ${INSTALL_DATA} ${srcdir}/ptuser.h ${DEST}/include/afs/ptuser.h
        ${INSTALL_DATA} pterror.h ${DEST}/include/afs/pterror.h
        ${INSTALL_DATA} ptint.h ${DEST}/include/afs/ptint.h
-       ${INSTALL_DATA} ptserver.h ${DEST}/include/afs/ptserver.h
+       ${INSTALL_DATA} ${srcdir}/ptserver.h ${DEST}/include/afs/ptserver.h
 
 #
 # Misc. targets
index 73b15c7..278d015 100644 (file)
@@ -160,41 +160,41 @@ install: librx.a
        ${INSTALL} -d ${DESTDIR}${libdir}
        ${INSTALL} -d ${DESTDIR}${includedir}/rx
        ${INSTALL_DATA} librx.a ${DESTDIR}${libdir}/librx.a
-       ${INSTALL_DATA} rx_packet.h ${DESTDIR}${includedir}/rx/rx_packet.h
-       ${INSTALL_DATA} rx_prototypes.h ${DESTDIR}${includedir}/rx/rx_prototypes.h
-       ${INSTALL_DATA} rx.h ${DESTDIR}${includedir}/rx/rx.h
-       ${INSTALL_DATA} rx_user.h ${DESTDIR}${includedir}/rx/rx_user.h
-       ${INSTALL_DATA} rx_event.h ${DESTDIR}${includedir}/rx/rx_event.h
-       ${INSTALL_DATA} rx_queue.h ${DESTDIR}${includedir}/rx/rx_queue.h
-       ${INSTALL_DATA} rx_globals.h ${DESTDIR}${includedir}/rx/rx_globals.h
-       ${INSTALL_DATA} rx_clock.h ${DESTDIR}${includedir}/rx/rx_clock.h
-       ${INSTALL_DATA} rx_multi.h ${DESTDIR}${includedir}/rx/rx_multi.h
-       ${INSTALL_DATA} rx_pthread.h ${DESTDIR}${includedir}/rx/rx_pthread.h
-       ${INSTALL_DATA} rx_lwp.h ${DESTDIR}${includedir}/rx/rx_lwp.h
-       ${INSTALL_DATA} rx_misc.h ${DESTDIR}${includedir}/rx/rx_misc.h
-       ${INSTALL_DATA} rx_null.h ${DESTDIR}${includedir}/rx/rx_null.h
-       ${INSTALL_DATA} xdr.h ${DESTDIR}${includedir}/rx/xdr.h
-       ${INSTALL_DATA} xdr_prototypes.h ${DESTDIR}${includedir}/rx/xdr_prototypes.h
+       ${INSTALL_DATA} ${srcdir}/rx_packet.h ${DESTDIR}${includedir}/rx/rx_packet.h
+       ${INSTALL_DATA} ${srcdir}/rx_prototypes.h ${DESTDIR}${includedir}/rx/rx_prototypes.h
+       ${INSTALL_DATA} ${srcdir}/rx.h ${DESTDIR}${includedir}/rx/rx.h
+       ${INSTALL_DATA} ${srcdir}/rx_user.h ${DESTDIR}${includedir}/rx/rx_user.h
+       ${INSTALL_DATA} ${srcdir}/rx_event.h ${DESTDIR}${includedir}/rx/rx_event.h
+       ${INSTALL_DATA} ${srcdir}/rx_queue.h ${DESTDIR}${includedir}/rx/rx_queue.h
+       ${INSTALL_DATA} ${srcdir}/rx_globals.h ${DESTDIR}${includedir}/rx/rx_globals.h
+       ${INSTALL_DATA} ${srcdir}/rx_clock.h ${DESTDIR}${includedir}/rx/rx_clock.h
+       ${INSTALL_DATA} ${srcdir}/rx_multi.h ${DESTDIR}${includedir}/rx/rx_multi.h
+       ${INSTALL_DATA} ${srcdir}/rx_pthread.h ${DESTDIR}${includedir}/rx/rx_pthread.h
+       ${INSTALL_DATA} ${srcdir}/rx_lwp.h ${DESTDIR}${includedir}/rx/rx_lwp.h
+       ${INSTALL_DATA} ${srcdir}/rx_misc.h ${DESTDIR}${includedir}/rx/rx_misc.h
+       ${INSTALL_DATA} ${srcdir}/rx_null.h ${DESTDIR}${includedir}/rx/rx_null.h
+       ${INSTALL_DATA} ${srcdir}/xdr.h ${DESTDIR}${includedir}/rx/xdr.h
+       ${INSTALL_DATA} ${srcdir}/xdr_prototypes.h ${DESTDIR}${includedir}/rx/xdr_prototypes.h
 
 dest: librx.a
        ${INSTALL} -d ${DEST}/lib
        ${INSTALL} -d ${DEST}/include/rx
        ${INSTALL_DATA} librx.a ${DEST}/lib/librx.a
-       ${INSTALL_DATA} rx_packet.h ${DEST}/include/rx/rx_packet.h
-       ${INSTALL_DATA} rx_prototypes.h ${DEST}/include/rx/rx_prototypes.h
-       ${INSTALL_DATA} rx.h ${DEST}/include/rx/rx.h
-       ${INSTALL_DATA} rx_user.h ${DEST}/include/rx/rx_user.h
-       ${INSTALL_DATA} rx_event.h ${DEST}/include/rx/rx_event.h
-       ${INSTALL_DATA} rx_queue.h ${DEST}/include/rx/rx_queue.h
-       ${INSTALL_DATA} rx_globals.h ${DEST}/include/rx/rx_globals.h
-       ${INSTALL_DATA} rx_clock.h ${DEST}/include/rx/rx_clock.h
-       ${INSTALL_DATA} rx_multi.h ${DEST}/include/rx/rx_multi.h
-       ${INSTALL_DATA} rx_pthread.h ${DEST}/include/rx/rx_pthread.h
-       ${INSTALL_DATA} rx_lwp.h ${DEST}/include/rx/rx_lwp.h
-       ${INSTALL_DATA} rx_misc.h ${DEST}/include/rx/rx_misc.h
-       ${INSTALL_DATA} rx_null.h ${DEST}/include/rx/rx_null.h
-       ${INSTALL_DATA} xdr.h ${DEST}/include/rx/xdr.h
-       ${INSTALL_DATA} xdr_prototypes.h ${DEST}/include/rx/xdr_prototypes.h
+       ${INSTALL_DATA} ${srcdir}/rx_packet.h ${DEST}/include/rx/rx_packet.h
+       ${INSTALL_DATA} ${srcdir}/rx_prototypes.h ${DEST}/include/rx/rx_prototypes.h
+       ${INSTALL_DATA} ${srcdir}/rx.h ${DEST}/include/rx/rx.h
+       ${INSTALL_DATA} ${srcdir}/rx_user.h ${DEST}/include/rx/rx_user.h
+       ${INSTALL_DATA} ${srcdir}/rx_event.h ${DEST}/include/rx/rx_event.h
+       ${INSTALL_DATA} ${srcdir}/rx_queue.h ${DEST}/include/rx/rx_queue.h
+       ${INSTALL_DATA} ${srcdir}/rx_globals.h ${DEST}/include/rx/rx_globals.h
+       ${INSTALL_DATA} ${srcdir}/rx_clock.h ${DEST}/include/rx/rx_clock.h
+       ${INSTALL_DATA} ${srcdir}/rx_multi.h ${DEST}/include/rx/rx_multi.h
+       ${INSTALL_DATA} ${srcdir}/rx_pthread.h ${DEST}/include/rx/rx_pthread.h
+       ${INSTALL_DATA} ${srcdir}/rx_lwp.h ${DEST}/include/rx/rx_lwp.h
+       ${INSTALL_DATA} ${srcdir}/rx_misc.h ${DEST}/include/rx/rx_misc.h
+       ${INSTALL_DATA} ${srcdir}/rx_null.h ${DEST}/include/rx/rx_null.h
+       ${INSTALL_DATA} ${srcdir}/xdr.h ${DEST}/include/rx/xdr.h
+       ${INSTALL_DATA} ${srcdir}/xdr_prototypes.h ${DEST}/include/rx/xdr_prototypes.h
 
 #
 # Misc. targets
index 9ed840c..4a3d23f 100644 (file)
@@ -37,14 +37,14 @@ install: rxgen rxgen_consts.h
        ${INSTALL} -d ${DESTDIR}${bindir}
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL_PROGRAM} rxgen ${DESTDIR}${bindir}/rxgen
-       ${INSTALL_DATA} rxgen_consts.h \
+       ${INSTALL_DATA} ${srcdir}/rxgen_consts.h \
                ${DESTDIR}${includedir}/afs/rxgen_consts.h
 
 dest: rxgen rxgen_consts.h
        ${INSTALL} -d ${DEST}/bin
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL_PROGRAM} rxgen ${DEST}/bin/rxgen
-       ${INSTALL_DATA} rxgen_consts.h ${DEST}/include/afs/rxgen_consts.h
+       ${INSTALL_DATA} ${srcdir}/rxgen_consts.h ${DEST}/include/afs/rxgen_consts.h
 
 #
 # Misc. targets
index 43982f4..a46c07c 100644 (file)
@@ -109,18 +109,18 @@ install: librxkad.a fcrypt.h rxkad.h rxkad_prototypes.h
        ${INSTALL} -d ${DESTDIR}${libdir}
        ${INSTALL} -d ${DESTDIR}${includedir}/rx
        ${INSTALL_DATA} librxkad.a ${DESTDIR}${libdir}/librxkad.a
-       ${INSTALL_DATA} fcrypt.h ${DESTDIR}${includedir}/rx/fcrypt.h
+       ${INSTALL_DATA} ${srcdir}/fcrypt.h ${DESTDIR}${includedir}/rx/fcrypt.h
        ${INSTALL_DATA} rxkad.h ${DESTDIR}${includedir}/rx/rxkad.h
-       ${INSTALL_DATA} rxkad_prototypes.h \
+       ${INSTALL_DATA} ${srcdir}/rxkad_prototypes.h \
                ${DESTDIR}${includedir}/rx/rxkad_prototypes.h
 
 dest: librxkad.a fcrypt.h rxkad.h rxkad_prototypes.h
        ${INSTALL} -d ${DEST}/lib
        ${INSTALL} -d ${DEST}/include/rx
        ${INSTALL_DATA} librxkad.a ${DEST}/lib/librxkad.a
-       ${INSTALL_DATA} fcrypt.h ${DEST}/include/rx/fcrypt.h
+       ${INSTALL_DATA} ${srcdir}/fcrypt.h ${DEST}/include/rx/fcrypt.h
        ${INSTALL_DATA} rxkad.h ${DEST}/include/rx/rxkad.h
-       ${INSTALL_DATA} rxkad_prototypes.h \
+       ${INSTALL_DATA} ${srcdir}/rxkad_prototypes.h \
                ${DEST}/include/rx/rxkad_prototypes.h
 
 #
index f5f7505..64e7e07 100644 (file)
@@ -229,10 +229,10 @@ install: libsys.a rmtsysd afssyscalls.h pagsh pagsh.krb afs.exp xfsattrs.h
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL_DATA} libsys.a ${DESTDIR}${libdir}/afs/libsys.a
        ${INSTALL_PROGRAM} rmtsysd ${DESTDIR}${sbindir}/rmtsysd
-       ${INSTALL_DATA} afssyscalls.h ${DESTDIR}${includedir}/afs/afssyscalls.h
+       ${INSTALL_DATA} ${srcdir}/afssyscalls.h ${DESTDIR}${includedir}/afs/afssyscalls.h
        ${INSTALL_PROGRAM} pagsh ${DESTDIR}${bindir}/pagsh
        ${INSTALL_PROGRAM} pagsh.krb ${DESTDIR}${bindir}/pagsh.krb
-       ${INSTALL_DATA} xfsattrs.h ${DESTDIR}${includedir}/afs/xfsattrs.h
+       ${INSTALL_DATA} ${srcdir}/xfsattrs.h ${DESTDIR}${includedir}/afs/xfsattrs.h
        @set -x; case ${SYS_NAME} in \
        rs_aix*) \
                ${INSTALL_DATA} afs.exp ${DESTDIR}${includedir}/afs/afs.exp;; \
@@ -247,8 +247,8 @@ dest: libsys.a rmtsysd afssyscalls.h pagsh pagsh.krb afs.exp xfsattrs.h
        ${INSTALL_PROGRAM} rmtsysd ${DEST}/etc/rmtsysd
        ${INSTALL_PROGRAM} pagsh ${DEST}/bin/pagsh
        ${INSTALL_PROGRAM} pagsh.krb ${DEST}/bin/pagsh.krb
-       ${INSTALL_DATA} afssyscalls.h ${DEST}/include/afs/afssyscalls.h
-       ${INSTALL_DATA} xfsattrs.h ${DEST}/include/afs/xfsattrs.h
+       ${INSTALL_DATA} ${srcdir}/afssyscalls.h ${DEST}/include/afs/afssyscalls.h
+       ${INSTALL_DATA} ${srcdir}/xfsattrs.h ${DEST}/include/afs/xfsattrs.h
        @set -x; case ${SYS_NAME} in \
        rs_aix*) \
                ${INSTALL_DATA} afs.exp ${DEST}/include/afs/afs.exp ;; \
index 4ceafa7..3365f76 100644 (file)
@@ -41,13 +41,13 @@ install: libusd.a usd.h
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL_DATA} libusd.a ${DESTDIR}${libdir}/afs/libusd.a
-       ${INSTALL_DATA} usd.h ${DESTDIR}${includedir}/afs/usd.h
+       ${INSTALL_DATA} ${srcdir}/usd.h ${DESTDIR}${includedir}/afs/usd.h
 
 dest: libusd.a usd.h
        ${INSTALL} -d ${DEST}/lib/afs
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL_DATA} libusd.a ${DEST}/lib/afs/libusd.a
-       ${INSTALL_DATA} usd.h ${DEST}/include/afs/usd.h
+       ${INSTALL_DATA} ${srcdir}/usd.h ${DEST}/include/afs/usd.h
 
 #
 # Misc. targets
index d4c1d4d..b0be725 100644 (file)
@@ -100,7 +100,7 @@ cbd: cbd.o
 install: fileserver fs_stats.h
        ${INSTALL} -d ${DESTDIR}${afssrvlibexecdir}
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
-       ${INSTALL_DATA} fs_stats.h ${DESTDIR}${includedir}/afs/fs_stats.h
+       ${INSTALL_DATA} ${srcdir}/fs_stats.h ${DESTDIR}${includedir}/afs/fs_stats.h
        @case ${SYS_NAME} in \
        alpha_dux4*|*linux*|rs_aix*|sgi_6*|sun4x*|sunx86*) \
                echo "Don't install fileserver for ${SYS_NAME}" ;; \
@@ -117,7 +117,7 @@ install: fileserver fs_stats.h
 dest: fileserver fs_stats.h
        ${INSTALL} -d ${DEST}/root.server/usr/afs/bin
        ${INSTALL} -d ${DEST}/include/afs
-       ${INSTALL_DATA} fs_stats.h ${DEST}/include/afs/fs_stats.h
+       ${INSTALL_DATA} ${srcdir}/fs_stats.h ${DEST}/include/afs/fs_stats.h
        @case ${SYS_NAME} in \
        alpha_dux4*|*linux*|rs_aix*|sgi_6*|sun4x*|sunx86*) \
                echo "Don't install fileserver for ${SYS_NAME}" ;; \
index 4b647b3..c4a55eb 100644 (file)
@@ -148,10 +148,10 @@ install: vlserver cnvldb vldb_check libvldb.a vl_opcodes.h vlserver.h \
                ${INSTALL_PROGRAM} vldb_check ${DESTDIR}${afssrvsbindir}/vldb_check; \
        fi;
        ${INSTALL_DATA} libvldb.a ${DESTDIR}${libdir}/afs/libvldb.a
-       ${INSTALL_DATA} vl_opcodes.h ${DESTDIR}${includedir}/afs/vl_opcodes.h
+       ${INSTALL_DATA} ${srcdir}/vl_opcodes.h ${DESTDIR}${includedir}/afs/vl_opcodes.h
        ${INSTALL_DATA} vlserver.h ${DESTDIR}${includedir}/afs/vlserver.h
        ${INSTALL_DATA} vldbint.h ${DESTDIR}${includedir}/afs/vldbint.h
-       ${INSTALL_DATA} cnvldb.h ${DESTDIR}${includedir}/afs/cnvldb.h
+       ${INSTALL_DATA} ${srcdir}/cnvldb.h ${DESTDIR}${includedir}/afs/cnvldb.h
 
 dest: vlserver cnvldb vldb_check libvldb.a vl_opcodes.h vlserver.h \
                vldbint.h cnvldb.h
@@ -165,10 +165,10 @@ dest: vlserver cnvldb vldb_check libvldb.a vl_opcodes.h vlserver.h \
                ${INSTALL_PROGRAM} vldb_check ${DEST}/etc/vldb_check; \
        fi;
        ${INSTALL_DATA} libvldb.a ${DEST}/lib/afs/libvldb.a
-       ${INSTALL_DATA} vl_opcodes.h ${DEST}/include/afs/vl_opcodes.h
+       ${INSTALL_DATA} ${srcdir}/vl_opcodes.h ${DEST}/include/afs/vl_opcodes.h
        ${INSTALL_DATA} vlserver.h ${DEST}/include/afs/vlserver.h
        ${INSTALL_DATA} vldbint.h ${DEST}/include/afs/vldbint.h
-       ${INSTALL_DATA} cnvldb.h ${DEST}/include/afs/cnvldb.h
+       ${INSTALL_DATA} ${srcdir}/cnvldb.h ${DEST}/include/afs/cnvldb.h
 
 #
 # Misc targets
index 10e7d88..a3e6065 100644 (file)
@@ -120,19 +120,19 @@ install: vlib.a salvager volinfo fssync-debug
        ${INSTALL_PROGRAM} salvager ${DESTDIR}${afssrvlibexecdir}/salvager
        ${INSTALL_PROGRAM} volinfo ${DESTDIR}${afssrvsbindir}/volinfo
        ${INSTALL_PROGRAM} fssync-debug ${DESTDIR}${afssrvsbindir}/fssync-debug
-       ${INSTALL_DATA} nfs.h ${DESTDIR}${includedir}/afs/nfs.h
-       ${INSTALL_DATA} vnode.h ${DESTDIR}${includedir}/afs/vnode.h
-       ${INSTALL_DATA} vnode_inline.h ${DESTDIR}${includedir}/afs/vnode_inline.h
-       ${INSTALL_DATA} viceinode.h ${DESTDIR}${includedir}/afs/viceinode.h
-       ${INSTALL_DATA} volume.h ${DESTDIR}${includedir}/afs/volume.h
-       ${INSTALL_DATA} volume_inline.h ${DESTDIR}${includedir}/afs/volume_inline.h
-       ${INSTALL_DATA} voldefs.h ${DESTDIR}${includedir}/afs/voldefs.h
-       ${INSTALL_DATA} partition.h ${DESTDIR}${includedir}/afs/partition.h
-       ${INSTALL_DATA} fssync.h ${DESTDIR}${includedir}/afs/fssync.h
-       ${INSTALL_DATA} salvsync.h ${DESTDIR}${includedir}/afs/salvsync.h
-       ${INSTALL_DATA} daemon_com.h ${DESTDIR}${includedir}/afs/daemon_com.h
-       ${INSTALL_DATA} ihandle.h ${DESTDIR}${includedir}/afs/ihandle.h
-       ${INSTALL_DATA} namei_ops.h ${DESTDIR}${includedir}/afs/namei_ops.h
+       ${INSTALL_DATA} ${srcdir}/nfs.h ${DESTDIR}${includedir}/afs/nfs.h
+       ${INSTALL_DATA} ${srcdir}/vnode.h ${DESTDIR}${includedir}/afs/vnode.h
+       ${INSTALL_DATA} ${srcdir}/vnode_inline.h ${DESTDIR}${includedir}/afs/vnode_inline.h
+       ${INSTALL_DATA} ${srcdir}/viceinode.h ${DESTDIR}${includedir}/afs/viceinode.h
+       ${INSTALL_DATA} ${srcdir}/volume.h ${DESTDIR}${includedir}/afs/volume.h
+       ${INSTALL_DATA} ${srcdir}/volume_inline.h ${DESTDIR}${includedir}/afs/volume_inline.h
+       ${INSTALL_DATA} ${srcdir}/voldefs.h ${DESTDIR}${includedir}/afs/voldefs.h
+       ${INSTALL_DATA} ${srcdir}/partition.h ${DESTDIR}${includedir}/afs/partition.h
+       ${INSTALL_DATA} ${srcdir}/fssync.h ${DESTDIR}${includedir}/afs/fssync.h
+       ${INSTALL_DATA} ${srcdir}/salvsync.h ${DESTDIR}${includedir}/afs/salvsync.h
+       ${INSTALL_DATA} ${srcdir}/daemon_com.h ${DESTDIR}${includedir}/afs/daemon_com.h
+       ${INSTALL_DATA} ${srcdir}/ihandle.h ${DESTDIR}${includedir}/afs/ihandle.h
+       ${INSTALL_DATA} ${srcdir}/namei_ops.h ${DESTDIR}${includedir}/afs/namei_ops.h
        set -x; if test x"$(install_XFS_SIZE_CHECK)" != x"" ; then \
                ${INSTALL_PROGRAM} xfs_size_check \
                        ${DESTDIR}${afssrvsbindir}/xfs_size_check ; \
@@ -147,19 +147,19 @@ dest: vlib.a salvager volinfo fssync-debug
        ${INSTALL_PROGRAM} salvager ${DEST}/root.server/usr/afs/bin/salvager
        ${INSTALL_PROGRAM} volinfo ${DEST}/root.server/usr/afs/bin/volinfo
        ${INSTALL_PROGRAM} fssync-debug ${DEST}/root.server/usr/afs/bin/fssync-debug
-       ${INSTALL_DATA} nfs.h ${DEST}/include/afs/nfs.h
-       ${INSTALL_DATA} vnode.h ${DEST}/include/afs/vnode.h
-       ${INSTALL_DATA} vnode_inline.h ${DEST}/include/afs/vnode_inline.h
-       ${INSTALL_DATA} viceinode.h ${DEST}/include/afs/viceinode.h
-       ${INSTALL_DATA} volume.h ${DEST}/include/afs/volume.h
-       ${INSTALL_DATA} volume_inline.h ${DEST}/include/afs/volume_inline.h
-       ${INSTALL_DATA} voldefs.h ${DEST}/include/afs/voldefs.h
-       ${INSTALL_DATA} partition.h ${DEST}/include/afs/partition.h
-       ${INSTALL_DATA} fssync.h ${DEST}/include/afs/fssync.h
-       ${INSTALL_DATA} salvsync.h ${DEST}/include/afs/salvsync.h
-       ${INSTALL_DATA} daemon_com.h ${DEST}/include/afs/daemon_com.h
-       ${INSTALL_DATA} ihandle.h ${DEST}/include/afs/ihandle.h
-       ${INSTALL_DATA} namei_ops.h ${DEST}/include/afs/namei_ops.h
+       ${INSTALL_DATA} ${srcdir}/nfs.h ${DEST}/include/afs/nfs.h
+       ${INSTALL_DATA} ${srcdir}/vnode.h ${DEST}/include/afs/vnode.h
+       ${INSTALL_DATA} ${srcdir}/vnode_inline.h ${DEST}/include/afs/vnode_inline.h
+       ${INSTALL_DATA} ${srcdir}/viceinode.h ${DEST}/include/afs/viceinode.h
+       ${INSTALL_DATA} ${srcdir}/volume.h ${DEST}/include/afs/volume.h
+       ${INSTALL_DATA} ${srcdir}/volume_inline.h ${DEST}/include/afs/volume_inline.h
+       ${INSTALL_DATA} ${srcdir}/voldefs.h ${DEST}/include/afs/voldefs.h
+       ${INSTALL_DATA} ${srcdir}/partition.h ${DEST}/include/afs/partition.h
+       ${INSTALL_DATA} ${srcdir}/fssync.h ${DEST}/include/afs/fssync.h
+       ${INSTALL_DATA} ${srcdir}/salvsync.h ${DEST}/include/afs/salvsync.h
+       ${INSTALL_DATA} ${srcdir}/daemon_com.h ${DEST}/include/afs/daemon_com.h
+       ${INSTALL_DATA} ${srcdir}/ihandle.h ${DEST}/include/afs/ihandle.h
+       ${INSTALL_DATA} ${srcdir}/namei_ops.h ${DEST}/include/afs/namei_ops.h
        set -x; if test x"$(install_XFS_SIZE_CHECK)" != x"" ; then \
                ${INSTALL_PROGRAM} xfs_size_check \
                        $(DEST)/root.server/usr/afs/bin/xfs_size_check ; \
index 214ab05..e4a2d3b 100644 (file)
@@ -156,7 +156,7 @@ install: restorevol voldump volser.h volint.h vos volserver libvolser.a
        ${INSTALL_PROGRAM} voldump ${DESTDIR}${sbindir}/voldump
        ${INSTALL_DATA} volser.h ${DESTDIR}${includedir}/afs/volser.h
        ${INSTALL_DATA} volint.h ${DESTDIR}${includedir}/afs/volint.h
-       ${INSTALL_DATA} vsutils_prototypes.h ${DESTDIR}${includedir}/afs/vsutils_prototypes.h
+       ${INSTALL_DATA} ${srcdir}/vsutils_prototypes.h ${DESTDIR}${includedir}/afs/vsutils_prototypes.h
        ${INSTALL_PROGRAM} vos ${DESTDIR}${sbindir}/vos
        ${INSTALL_PROGRAM} vos ${DESTDIR}${afssrvsbindir}/vos
        ${INSTALL_DATA} libvolser.a ${DESTDIR}${libdir}/afs/libvolser.a
@@ -186,7 +186,7 @@ dest: restorevol voldump volser.h volint.h vos volserver libvolser.a
        ${INSTALL_PROGRAM} voldump ${DEST}/etc/voldump
        ${INSTALL_DATA} volser.h ${DEST}/include/afs/volser.h
        ${INSTALL_DATA} volint.h ${DEST}/include/afs/volint.h
-       ${INSTALL_DATA} vsutils_prototypes.h ${DEST}/include/afs/vsutils_prototypes.h
+       ${INSTALL_DATA} ${srcdir}/vsutils_prototypes.h ${DEST}/include/afs/vsutils_prototypes.h
        ${INSTALL_PROGRAM} vos ${DEST}/etc/vos
        ${INSTALL_PROGRAM} vos ${DEST}/root.server/usr/afs/bin/vos
        ${INSTALL_DATA} libvolser.a ${DEST}/lib/afs/libvolser.a
index fc462b0..b0d365b 100644 (file)
@@ -88,8 +88,8 @@ install: xstat_fs.h xstat_cm.h libxstat_fs.a libxstat_cm.a xstat_fs_test \
        ${INSTALL} -d ${DESTDIR}${includedir}/afs
        ${INSTALL} -d ${DESTDIR}${libdir}/afs
        ${INSTALL} -d ${DESTDIR}${bindir}
-       ${INSTALL_DATA} xstat_fs.h ${DESTDIR}${includedir}/afs/xstat_fs.h
-       ${INSTALL_DATA} xstat_cm.h ${DESTDIR}${includedir}/afs/xstat_cm.h
+       ${INSTALL_DATA} ${srcdir}/xstat_fs.h ${DESTDIR}${includedir}/afs/xstat_fs.h
+       ${INSTALL_DATA} ${srcdir}/xstat_cm.h ${DESTDIR}${includedir}/afs/xstat_cm.h
        ${INSTALL_DATA} libxstat_fs.a ${DESTDIR}${libdir}/afs/libxstat_fs.a
        ${INSTALL_DATA} libxstat_cm.a ${DESTDIR}${libdir}/afs/libxstat_cm.a
        ${INSTALL_PROGRAM} xstat_fs_test ${DESTDIR}${bindir}/xstat_fs_test
@@ -100,8 +100,8 @@ dest: xstat_fs.h xstat_cm.h libxstat_fs.a libxstat_cm.a xstat_fs_test \
        ${INSTALL} -d ${DEST}/include/afs
        ${INSTALL} -d ${DEST}/lib/afs
        ${INSTALL} -d ${DEST}/bin
-       ${INSTALL_DATA} xstat_fs.h ${DEST}/include/afs/xstat_fs.h
-       ${INSTALL_DATA} xstat_cm.h ${DEST}/include/afs/xstat_cm.h
+       ${INSTALL_DATA} ${srcdir}/xstat_fs.h ${DEST}/include/afs/xstat_fs.h
+       ${INSTALL_DATA} ${srcdir}/xstat_cm.h ${DEST}/include/afs/xstat_cm.h
        ${INSTALL_DATA} libxstat_fs.a ${DEST}/lib/afs/libxstat_fs.a
        ${INSTALL_DATA} libxstat_cm.a ${DEST}/lib/afs/libxstat_cm.a
        ${INSTALL_PROGRAM} xstat_fs_test ${DEST}/bin/xstat_fs_test