Unix: Rework build system
[openafs.git] / src / libadmin / Makefile.in
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10 include @TOP_OBJDIR@/src/config/Makefile.pthread
11
12 INSTALL = @INSTALL@
13 INSTALL_DATA = @INSTALL_DATA@
14 INSTALL_PROGRAM = @INSTALL_PROGRAM@
15 INSTALL_SCRIPT = @INSTALL_SCRIPT@
16
17 all: ${TOP_INCDIR}/afs/afs_Admin.h
18
19 ${TOP_INCDIR}/afs/afs_Admin.h: afs_Admin.h
20         ${INSTALL_DATA} $? $@
21
22 install:
23         ${INSTALL} -d ${DESTDIR}${includedir}/afs
24         ${INSTALL_DATA} ${srcdir}/afs_Admin.h ${DESTDIR}${includedir}/afs/afs_Admin.h
25
26 dest:
27         ${INSTALL} -d ${DEST}/include/afs
28         ${INSTALL_DATA} ${srcdir}/afs_Admin.h ${DEST}/include/afs/afs_Admin.h
29
30 clean: