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