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
10 TOP_INCDIR=@TOP_INCDIR@
11 TOP_LIBDIR=@TOP_LIBDIR@
13 exec_prefix=@exec_prefix@
16 libexecdir=@libexecdir@
18 includedir=@includedir@
20 afssrvbindir=@afssrvbindir@
21 afssrvsbindir=@afssrvsbindir@
22 afssrvlibexecdir=@afssrvlibexecdir@
23 COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
24 RXGEN=${TOP_SRCDIR}/rxgen/rxgen
25 TOP_SRCDIR=@TOP_SRCDIR@
26 SYS_NAME=@AFS_SYSNAME@
30 include ../config/Makefile.${SYS_NAME}
33 CFLAGS=${OPTMZ} -g -I. -I${TOP_INCDIR} -I${TOP_SRCDIR}/config ${XCFLAGS}
37 pinstall: install.c AFS_component_version_number.c
40 ${CC} ${CFLAGS} install.c -o pinstall ${LIBS} ;; \
42 ${CC} ${CFLAGS} install.c -o pinstall ${LIBS} -lmld ;; \
44 ${CC} ${CFLAGS} install.c -o pinstall ${LIBS} ;; \
48 csh ./test/test_install
50 ${DEST}/bin/install: pinstall
53 # Note: Some rule needs to appear here so that OSF's make does not try to
54 # compile install from install.c. A ";" will not work since other platforms
55 # complain. That's why we use 'echo'.
60 $(RM) -f *.o pinstall AFS_component_version_number.c
62 include ../config/Makefile.version
65 dest: ${DEST}/bin/install