# 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@
-TOP_SRCDIR=@TOP_SRCDIR@
-SYS_NAME=@AFS_SYSNAME@
+srcdir=@srcdir@
+include @TOP_OBJDIR@/src/config/Makefile.config
+include @TOP_OBJDIR@/src/config/Makefile.pthread
-include ../config/Makefile.${SYS_NAME}
-all: install
+all: ${TOP_INCDIR}/afs/afs_Admin.h
-install: ${DESTDIR}/include/afs/afs_Admin.h
+${TOP_INCDIR}/afs/afs_Admin.h: afs_Admin.h
+ ${INSTALL_DATA} $? $@
-${DESTDIR}/include/afs/afs_Admin.h: afs_Admin.h
- ${INSTALL} $? $@
+install:
+ ${INSTALL} -d ${DESTDIR}${includedir}/afs
+ ${INSTALL_DATA} ${srcdir}/afs_Admin.h ${DESTDIR}${includedir}/afs/afs_Admin.h
-clean:
+dest:
+ ${INSTALL} -d ${DEST}/include/afs
+ ${INSTALL_DATA} ${srcdir}/afs_Admin.h ${DEST}/include/afs/afs_Admin.h
+clean: