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 # Install the des libraries and header files from the
9 # PARENT link instead of building them.
13 TOP_SRCDIR=@TOP_SRCDIR@
14 SYS_NAME=@AFS_SYSNAME@
17 include ../config/Makefile.${SYS_NAME}
20 UKERNELDIR=../libuafs/
22 DESPAR =../../../DESLIB/dest/
23 DESINC =${DESPAR}include/
24 MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1
28 @echo No $@ source here.
30 ukinstall webinstall: ${DESINC}des.h ${DESINC}mit-cpyright.h
31 set ${UKERNELDIR}des; $(MKDIR_IF_NEEDED)
32 ${INSTALL} ${DESINC}des.h ${UKERNELDIR}des/des.h
33 ${INSTALL} ${DESINC}mit-cpyright.h ${UKERNELDIR}des/mit-cpyright.h
34 ${INSTALL} ${DESPAR}lib/libdes.a ${UKERNELDIR}des/libdes.a
36 install install.noversion noversion system: ukinstall
37 echo "Installing des stubs from ${DESPAR}:" `cd ${DESPAR};/bin/pwd`
38 ${RM} -f ${DESTDIR}lib/libdes.a
39 ${INSTALL} ${DESPAR}lib/libdes.a ${DESTDIR}lib/libdes.a
40 ${INSTALL} ${DESINC}des.h ${DESINC}des_conf.h ${DESINC}mit-cpyright.h ${DESTDIR}include
41 ${INSTALL} ${DESINC}des_odd.h ${DESTDIR}include/des_odd.h