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
9 include @TOP_OBJDIR@/src/config/Makefile.config
13 CFLAGS=${OPTMZ} -g -I. -I${TOP_INCDIR} -I../config ${XCFLAGS}
17 pinstall: ${srcdir}/install.c AFS_component_version_number.c
20 ${CC} ${CFLAGS} ${srcdir}/install.c -o pinstall ${LIBS} ;; \
22 ${CC} ${CFLAGS} ${srcdir}/install.c -o pinstall ${LIBS} -lmld ;; \
24 ${CC} ${CFLAGS} ${srcdir}/install.c -o pinstall ${LIBS} ;; \
28 csh ./test/test_install
30 ${DEST}/bin/install: pinstall
33 # Note: Some rule needs to appear here so that OSF's make does not try to
34 # compile install from install.c. A ";" will not work since other platforms
35 # complain. That's why we use 'echo'.
40 $(RM) -f *.o pinstall AFS_component_version_number.c
42 include ../config/Makefile.version
45 dest: ${DEST}/bin/install