1 # Copyright 2000, International Business Machines Corporation and others.
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
10 # Permission to use, copy, modify, and distribute this software and its
11 # documentation for any purpose and without fee is hereby granted,
12 # provided that the above copyright notice appear in all copies and that
13 # both that copyright notice and this permission notice appear in
14 # supporting documentation, and that the name of IBM not be
15 # used in advertising or publicity pertaining to distribution of the
16 # software without specific, written prior permission.
18 # IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
19 # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
20 # IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
21 # ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
22 # WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
23 # ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
25 ######################################################################
27 # Make modified install
30 include ../config/Makefile.${SYS_NAME}
33 CFLAGS= ${OPTMZ} ${XCFLAGS}
35 include ../config/Makefile.version
37 pinstall: install.c AFS_component_version_number.c
40 ${CC} -g -I${DESTDIR}include ${CFLAGS} install.c -o pinstall ${LIBS} ;; \
42 $(CC) -g -I${DESTDIR}include ${CFLAGS} install.c -o pinstall ${LIBS} -lmld ;; \
44 $(CC) -g -I${DESTDIR}include ${CFLAGS} install.c -o pinstall ${LIBS} ;; \
46 - [ -d test ] && ( cd test; $(MAKE) )
47 - [ -d test ] && ./test/test_install
49 ${DESTDIR}bin/install: pinstall
52 ./pinstall -f pinstall ${DESTDIR}bin/pinstall ;;\
54 ./pinstall -f pinstall ${DESTDIR}bin/install ;;\
57 # Note: Some rule needs to appear here so that OSF's make does not try to
58 # compile install from install.c. A ";" will not work since other platforms
59 # complain. That's why we use 'echo'.
60 install: ${DESTDIR}bin/install
65 kinstall ukinstall webinstall:
66 @echo No kernel source here.
71 rm -f pinstall AFS_component_version_number.c