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