bf411af27a98a01ae462144e2d2c669075e4fae5
[openafs.git] / src / pinstall / 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
11 all: pinstall
12
13 pinstall: ${srcdir}/install.c AFS_component_version_number.c 
14         ${CC} ${CFLAGS} ${srcdir}/install.c -o pinstall ${XLIBS} ${PINSTALL_LIBS}
15
16 test: pinstall
17         csh ./test/test_install
18
19 ${DEST}/bin/install: pinstall
20         ${INSTALL} -f $? $@
21
22 # Note: Some rule needs to appear here so that OSF's make does not try to
23 # compile install from install.c. A ";" will not work since other platforms
24 # complain. That's why we use 'echo'.
25 install:
26         @echo -n
27
28 clean:
29         $(RM) -f *.o pinstall AFS_component_version_number.c
30
31 include ../config/Makefile.version
32
33
34 dest: ${DEST}/bin/install
35