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