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