Deorbit the netscape plugin
[openafs.git] / src / libuafs / MakefileProto.SOLARIS.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 # System specific build commands and flags
16 DEFINES= -D_REENTRANT -DKERNEL -DUKERNEL
17 CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} $(XCFLAGS)
18 OPTF=${OPTMZ}
19
20 TEST_CFLAGS=-mt -DAFS_PTHREAD_ENV -Dsolaris -DAFS_SUN5_ENV $(XCFLAGS)
21 TEST_LDFLAGS=
22 TEST_LIBS=-lsocket -lnsl -lthread -lm -ldl
23
24 LIBUAFS = libuafs.a
25 LIBJUAFS = libjuafs.a
26
27 include Makefile.common
28
29 $(LIBUAFS): $(UAFSOBJ)
30         -$(RM) -f $(LIBUAFS)
31         $(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
32
33 libuafs_pic.a: $(PICUAFSOBJ)
34         -$(RM) -f libuafs_pic.a
35         $(AR) $(ARFLAGS) libuafs_pic.a $(PICUAFSOBJ)
36
37 $(LIBJUAFS): $(JUAFSOBJ)
38         -$(RM) -f $(LIBJUAFS)
39         $(AR) $(ARFLAGS) $(LIBJUAFS) $(JUAFSOBJ)