]> andersk Git - moira.git/blob - lib/Makefile.in
Build shared libmoira via libtool.
[moira.git] / lib / Makefile.in
1 # $Id$
2
3 SHELL=/bin/sh
4
5 CC=@CC@
6 CPPFLAGS=@CPPFLAGS@
7 CFLAGS=@CFLAGS@
8 DEFS=@DEFS@
9 ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS)
10 COMPILE_ET=@COMPILE_ET@
11
12 LIBTOOL=@LIBTOOL@
13 LDFLAGS=@LDFLAGS@
14 KLIBS=@KLIBS@
15 ALL_LDFLAGS=$(LDFLAGS) $(KLIBS)
16
17 INSTALL=@INSTALL@
18 INSTALL_PROGRAM=@INSTALL_PROGRAM@
19
20 srcdir=@srcdir@
21 VPATH=@srcdir@
22 SRCTOP=@top_srcdir@
23 BUILDTOP=..
24 top_builddir=@top_builddir@
25 prefix=@prefix@
26 exec_prefix=@exec_prefix@
27 libdir=@libdir@
28
29 OBJS=   critical.lo fixhost.lo fixname.lo \
30         hash.lo kname_unparse.lo kname_parse.lo krb_et.lo mr_access.lo mr_auth.lo \
31         mr_call.lo mr_connect.lo mr_et.lo mr_init.lo mr_ops.lo mr_query.lo \
32         nfsparttype.lo sq.lo strs.lo ureg_err.lo
33
34 ET_H=   mr_et.h krb_et.h ureg_err.h
35 ET_C=   mr_et.c krb_et.c ureg_err.c
36
37 .c.lo:
38         $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $<
39
40 .SUFFIXES: .et .lo
41
42 .et.c:
43         $(COMPILE_ET) $<
44
45 all: depend libmoira.la
46
47 clean:
48         $(LIBTOOL) --mode=clean rm -f $(OBJS) $(ET_H) $(ET_C) libmoira.a
49
50 cleandir distclean: clean
51         rm -f Makefile
52
53 depend: $(ET_C)
54
55 install: all
56         $(LIBTOOL) --mode=install  $(INSTALL) libmoira.la $(DESTDIR)$(libdir)/libmoira.la
57
58 libmoira.la: $(OBJS)
59         $(LIBTOOL) --mode=link $(CC) $(ALL_LDFLAGS) -o $@ $(OBJS) -rpath $(libdir) -version-info 0:0:0
This page took 0.998841 seconds and 5 git commands to generate.