Build system: Move install definitions to include
[openafs.git] / src / platform / SOLARIS / 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 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10 include @TOP_OBJDIR@/src/config/Makefile.lwp
11
12
13 INCLS = ${TOP_INCDIR}/afs/afsint.h ${TOP_INCDIR}/afs/cmd.h \
14         ${TOP_INCDIR}/afs/osi_inode.h ${TOP_INCDIR}/afs/param.h
15
16 LIBS = ${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/vlib.a ${TOP_LIBDIR}/util.a \
17         ${TOP_LIBDIR}/libsys.a ${TOP_LIBDIR}/libdir.a \
18         ${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/libacl.a
19
20 all: fs_conv_sol26
21
22 #
23 # Build targets
24 #
25 fs_conv_sol26: fs_conv_sol26.o ${LIBS}
26         $(AFS_LDRULE) fs_conv_sol26.o ${TOP_LIBDIR}/libcmd.a $(LIB_roken) ${LIBS} ${XLIBS}
27
28 fs_conv_sol26: ${INCLS} AFS_component_version_number.c
29
30 #
31 # Installation targets
32 #
33 install: fs_conv_sol26
34         ${INSTALL} -d ${DESTDIR}${afssrvsbindir}
35         ${INSTALL_PROGRAM} fs_conv_sol26 \
36                 ${DESTDIR}${afssrvsbindir}/fs_conv_sol26
37
38 dest: fs_conv_sol26
39         ${INSTALL} -d ${DEST}/root.server/usr/afs/bin
40         ${INSTALL_PROGRAM} fs_conv_sol26 \
41                 $(DEST)/root.server/usr/afs/bin/fs_conv_sol26
42
43 #
44 # Misc. targets
45 #
46 clean:
47         $(RM) -f *.o *.a AFS_component_version_number.c fs_conv_sol26
48
49 include ../../config/Makefile.version