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
8 # Make modified install
11 TOP_SRCDIR=@TOP_SRCDIR@
12 SYS_NAME=@AFS_SYSNAME@
16 include ../config/Makefile.${SYS_NAME}
19 CFLAGS= ${OPTMZ} -g -I. -I${DESTDIR}/include -I${TOP_SRCDIR}/config ${XCFLAGS}
23 pinstall: install.c AFS_component_version_number.c
26 ${CC} ${CFLAGS} install.c -o pinstall ${LIBS} ;; \
28 ${CC} ${CFLAGS} install.c -o pinstall ${LIBS} -lmld ;; \
30 ${CC} ${CFLAGS} install.c -o pinstall ${LIBS} ;; \
34 csh ./test/test_install
36 ${DESTDIR}/bin/install: pinstall
39 ./pinstall -f pinstall ${DESTDIR}/bin/pinstall ;;\
41 ./pinstall -f pinstall ${DESTDIR}/bin/install ;;\
44 # Note: Some rule needs to appear here so that OSF's make does not try to
45 # compile install from install.c. A ";" will not work since other platforms
46 # complain. That's why we use 'echo'.
47 install: ${DESTDIR}/bin/install
51 $(RM) -f *.o pinstall AFS_component_version_number.c
53 include ../config/Makefile.version