makefile-updates-20010828
[openafs.git] / src / des_stub / Makefile.in
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
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
7
8 # Install the des libraries and header files from the 
9 # PARENT link instead of building them.
10 #
11 DESTDIR=@DESTDIR@
12 SRCDIR=@SRCDIR@
13 TOP_SRCDIR=@TOP_SRCDIR@
14 SYS_NAME=@AFS_SYSNAME@
15
16 SHELL  = /bin/sh
17 include ../config/Makefile.${SYS_NAME}
18
19 RM     = /bin/rm
20 UKERNELDIR=../libuafs/
21 SRC    =.
22 DESPAR =../../../DESLIB/dest/
23 DESINC =${DESPAR}/include/
24 MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1
25 all:
26
27 kinstall:
28         @echo No $@ source here.
29  
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
35
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
42
43 clean: