# 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 ../config/Makefile.${SYS_NAME}
+all: ${TOP_INCDIR}/afs/afs_Admin.h
-system install:
- ${INSTALL} afs_Admin.h ${DESTDIR}include/afs
+install: ${DESTDIR}${includedir}/afs/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
+